VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifPlanCurStmt.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifPlanCurStmt.h,v $ $Revision: 1.18 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfPlanCurStatement_H_
13
#define DtIfPlanCurStatement_H_
14
15
#include <vlutil/vlString.h>
16
17
#include <vrfExtProtocol/ifaceCont.h>
18
19
#include <vlutil/vlNetTypes.h>
20
21
class
DtPlan
;
22
23
26
struct
DtNetIfPlanCurStatement
27
{
28
DtNetU8
myIsGlobal
;
//1 byte (was echelonIdLength)
29
DtNetU8
myNameLength
;
//1 byte
30
DtNetBoolean
myIsComplete
;
//1 byte
31
DtNetU16
myCurrentStmtId
;
//2 bytes
32
DtNetBoolean
myIsExecuting
;
//1 byte
33
DtNetBoolean
myIsAbandoned
;
//1 byte
34
DtNetU8
myPadding1
;
//1 bytes
35
};
36
57
#include "
vrfmsgs/vrfmsgsDefines.h
"
58
class
DT_DLL_vrfmsgs
DtIfPlanCurStatement
:
public
DtSimInterfaceContent
59
{
60
public
:
61
63
DtIfPlanCurStatement
();
64
66
DtIfPlanCurStatement
(
const
DtIfPlanCurStatement
& orig);
67
69
virtual
~
DtIfPlanCurStatement
();
70
72
DtIfPlanCurStatement
& operator=(
const
DtIfPlanCurStatement
& orig);
73
75
virtual
int
type()
const
;
76
78
virtual
DtSimInterfaceContent
* clone()
const
;
79
81
virtual
const
DtString
& name()
const
;
83
virtual
void
setName(
const
DtString
& name);
84
86
87
virtual
bool
isGlobal()
const
;
88
virtual
void
setIsGlobal(
bool
value);
90
92
virtual
int
currentStmtId()
const
;
94
virtual
void
setCurrentStmtId(
int
arg);
95
97
virtual
bool
isComplete()
const
;
99
virtual
void
setIsComplete(
bool
arg);
100
102
103
virtual
bool
isExecuting()
const
;
104
virtual
void
setIsExecuting(
bool
b);
106
108
109
virtual
bool
isAbandoned()
const
;
110
virtual
void
setIsAbandoned(
bool
b);
112
115
virtual
int
netRepSize()
const
;
116
118
virtual
bool
setFromNet(
const
char
* contentBuffer,
119
unsigned
contentSize);
120
123
virtual
bool
setToNet();
124
125
virtual
void
printDataToString(
DtString
& str);
126
127
static
DtSimInterfaceContent
* creator();
128
129
protected
:
131
DtString
myName
;
132
134
int
myCurrentStmtId
;
135
137
bool
myIsComplete
;
138
bool
myIsGlobal
;
139
140
bool
myExecuting
;
141
bool
myIsAbandoned
;
142
};
143
144
#endif
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
)