VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfobjcore
fireMissionInformation.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfobjcore/vrfObjectReference.h
"
12
#include "
vrfutil/readerWriter.h
"
13
#include "
vrfutil/rwVector.h
"
14
#include "
vrfutil/rwInt.h
"
15
#include "
vrfutil/rwList.h
"
16
#include "
vrfutil/rwString.h
"
17
#include "
vrfutil/rwReal.h
"
18
#include <vl/hostStructs.h>
19
#include "
vrfutil/rwTemplatedList.h
"
20
#include <
vrfutil/rwUUID.h
>
21
22
#include <map>
23
27
28
class
DtReaderWriterRegistry
;
29
30
#include "
vrfobjcore/vrfobjcoreDefines.h
"
31
class
DT_DLL_vrfobjcore
DtFireMissionInformation
:
public
DtReaderWriter
32
{
33
public
:
34
DtFireMissionInformation
();
35
36
DtFireMissionInformation
(
const
DtString
& name,
37
DtReaderWriterRegistry
*
const
parentRegistry = 0);
38
39
DtFireMissionInformation
(
const
DtSymbolString
& name,
40
DtReaderWriterRegistry
*
const
parentRegistry = 0);
41
43
DtFireMissionInformation
(
const
DtString
& writeName,
const
DtFireMissionInformation
& orig,
44
DtReaderWriterRegistry
*
const
parentRegistry = 0);
45
46
virtual
~
DtFireMissionInformation
();
47
48
DtFireMissionInformation
&
operator=
(
const
DtFireMissionInformation
& orig);
49
50
const
DtRwVector
&
currentTargetLocation
()
const
{
return
myCurrentTargetLocation; };
51
void
setCurrentTargetLocation
(
const
DtVector
& loc) { myCurrentTargetLocation=loc; };
52
56
const
DtRwVrfObjectReference
&
target
()
const
{
return
myTarget; };
57
59
void
setTarget
(
const
DtUUID
& name) { myTarget.setUUID(name); };
60
61
const
DtRwString
&
ammoType
()
const
{
return
myAmmoType; };
62
void
setAmmoType
(
const
DtString
& ammo) { myAmmoType = ammo; };
63
64
const
DtRwInt
numberOfRounds
()
const
{
return
myNumberRounds; };
65
void
setNumberOfRounds
(
const
int
num) { myNumberRounds = num; };
66
68
virtual
void
setHeightAboveTerrain
(DtReal height) { myHeightAboveTerrain = height; };
70
virtual
DtReal heightAboveTerrain() {
return
myHeightAboveTerrain; };
71
72
protected
:
73
DtRwVrfObjectReference
myTarget;
74
DtRwString
myAmmoType
;
75
DtRwVector
myCurrentTargetLocation
;
76
DtRwInt
myNumberRounds
;
77
DtRwReal
myHeightAboveTerrain
;
78
};
79
81
typedef
DtRwTemplatedListPtr<DtFireMissionInformation,true>
DtFireMissionList
;
82
84
typedef
std::map<DtString, DtFireMissionInformation>
DtMappedFireMissionList
;
85
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)