VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfplan
changeHostilityCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#ifndef changeHostilityCommand_h
12
#define changeHostilityCommand_h
13
14
#include "
vrfplan/simCommand.h
"
15
#include "
vrfplan/vrfplanDefines.h
"
16
#include "
vrfutil/rwForce.h
"
17
#include "
vrfutil/rwBoolean.h
"
18
22
class
DT_DLL_vrfplan
DtChangeHostilityCommand
:
public
DtSimCommand
23
{
24
public
:
26
DtChangeHostilityCommand
();
27
29
DtChangeHostilityCommand
(
const
DtString
& writeName,
30
DtReaderWriterRegistry
* parentRegistry = NULL);
31
33
DtChangeHostilityCommand
(
const
DtString
& writeName,
const
DtChangeHostilityCommand
& orig,
34
DtReaderWriterRegistry
* parentRegistry = NULL);
35
37
virtual
~
DtChangeHostilityCommand
();
38
40
DtChangeHostilityCommand
&
operator=
(
const
DtChangeHostilityCommand
& orig);
41
43
virtual
const
DtSimCommandMessageType
&
type
()
const
;
44
46
virtual
DtSimCommand
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
47
parentRegistry = 0)
const
;
48
50
51
virtual
void
setForceOne(
const
DtForceType& force);
52
virtual
DtForceType forceOne()
const
;
54
56
57
virtual
void
setForceTwo(
const
DtForceType& force);
58
virtual
DtForceType forceTwo()
const
;
60
62
63
virtual
void
setHostile(
bool
yesNo);
64
virtual
bool
hostile()
const
;
66
68
virtual
DtString
stringRep
()
const
;
69
71
virtual
int
netRepSize
()
const
;
72
74
virtual
bool
setFromNet
(
const
char
* contentBuffer,
75
unsigned
contentSize);
76
78
virtual
bool
setToNet
();
79
81
static
DtSimCommand
* creator();
82
83
protected
:
84
DtRwForceType
myForceOne
;
85
DtRwForceType
myForceTwo
;
86
DtRwBoolean
myHostile
;
87
};
88
89
90
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)