VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
fireMission.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfutil/rdrWritr.h
"
12
#include "
vrfutil/rwVector.h
"
13
#include "
vrfutil/rwInt.h
"
14
#include "
vrfutil/rwList.h
"
15
#include "
vrfutil/rwString.h
"
16
#include "
vrfutil/rwReal.h
"
17
#include <vl/hostStructs.h>
18
#include "
vrfutil/rwTemplatedList.h
"
19
20
#include <map>
21
25
26
class
DtReaderWriterRegistry
;
27
28
#include "
vrfobjcore/vrfobjcoreDefines.h
"
29
class
DT_DLL_vrfobjcore
DtFireMissionInformation
:
public
DtReaderWriter
30
{
31
public
:
32
DtFireMissionInformation
();
33
34
DtFireMissionInformation
(
const
DtString
& name,
35
DtReaderWriterRegistry
*
const
parentRegistry = 0);
36
37
DtFireMissionInformation
(
const
DtSymbolString& name,
38
DtReaderWriterRegistry
*
const
parentRegistry = 0);
39
41
DtFireMissionInformation
(
const
DtString
& writeName,
const
DtFireMissionInformation
& orig,
42
DtReaderWriterRegistry
*
const
parentRegistry = 0);
43
44
virtual
~
DtFireMissionInformation
();
45
46
DtFireMissionInformation
&
operator=
(
const
DtFireMissionInformation
& orig);
47
48
const
DtRwVector
&
currentTargetLocation
()
const
{
return
myCurrentTargetLocation; };
49
void
setCurrentTargetLocation
(
const
DtVector
& loc) { myCurrentTargetLocation=loc; };
50
53
const
DtRwString
&
targetName
()
const
{
return
myTargetName; };
54
void
setTargetName
(
const
DtString
& name) { myTargetName =
name
; };
55
56
const
DtRwString
&
ammoType
()
const
{
return
myAmmoType; };
57
void
setAmmoType
(
const
DtString
& ammo) { myAmmoType = ammo; };
58
59
const
DtRwInt
numberOfRounds
()
const
{
return
myNumberRounds; };
60
void
setNumberOfRounds
(
const
int
num) { myNumberRounds = num; };
61
63
virtual
void
setHeightAboveTerrain
(DtReal height) { myHeightAboveTerrain = height; };
65
virtual
DtReal heightAboveTerrain() {
return
myHeightAboveTerrain; };
66
67
protected
:
68
DtRwString
myTargetName;
69
DtRwString
myAmmoType
;
70
DtRwVector
myCurrentTargetLocation
;
71
DtRwInt
myNumberRounds
;
72
DtRwReal
myHeightAboveTerrain
;
73
};
74
76
typedef
DtRwTemplatedListPtr<DtFireMissionInformation>
DtFireMissionList
;
77
79
typedef
std::map<DtString, DtFireMissionInformation>
DtMappedFireMissionList
;
80
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)