VR-Forces 4.3.1 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
vrfmsgs
ifPlan.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifPlan.h,v $ $Revision: 1.26 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfPlan_H_
13
#define DtIfPlan_H_
14
15
#include <vlutil/vlString.h>
16
#include <vrfExtProtocol/simInterfaceContent.h>
17
#include <vlutil/vlNetTypes.h>
18
#include <vlutil/vlList.h>
19
#include "
vrfplan/simStatement.h
"
20
21
class
DtPlan
;
22
class
DtSimBlock
;
23
class
DtSimStatement
;
24
25
struct
DtNetIfPlan
26
{
27
DtNetU8
myPadding0
;
28
DtNetU8
myPadding1
;
29
DtNetU8
myNameLength
;
30
DtNetBoolean
myPadding2
;
31
DtNetBoolean
myAssign
;
32
DtNetU8
myIsGlobal
;
33
DtNetU8
myPadding3
;
34
DtNetU8
myPadding4
;
35
};
37
59
73
74
#include "
vrfmsgs/vrfmsgsDefines.h
"
75
class
DT_DLL_vrfmsgs
DtIfPlan
:
public
DtSimInterfaceContent
76
{
77
public
:
78
80
DtIfPlan
();
81
83
virtual
~
DtIfPlan
();
84
86
DtIfPlan
(
const
DtIfPlan
& orig);
87
89
DtIfPlan
& operator=(
const
DtIfPlan
& orig);
90
92
virtual
int
type()
const
;
93
94
virtual
DtSimInterfaceContent
* clone()
const
;
95
100
virtual
const
DtString
& name()
const
;
101
virtual
void
setName(
const
DtString
& name);
102
105
106
virtual
bool
isGlobal()
const
;
107
virtual
void
setIsGlobal(
bool
yesNo);
109
117
virtual
bool
addStatement(
const
DtSimStatement
& statement);
118
120
virtual
const
DtList& statements()
const
;
121
126
virtual
void
setAssign(
bool
flag);
127
virtual
bool
assign()
const
;
128
132
virtual
int
netRepSize()
const
;
133
135
virtual
bool
setFromNet(
const
char
* contentBuffer,
136
unsigned
contentSize);
137
140
virtual
bool
setToNet();
141
142
virtual
void
printDataToString(
DtString
& str);
143
144
static
DtSimInterfaceContent
* creator();
145
148
void
emptyStatementList();
149
151
virtual
bool
isSamePlan(
DtIfPlan
* rhs);
152
155
virtual
const
char
* restoreName(
const
char
* contentBuffer);
156
159
virtual
char
* setNameToNet();
160
161
protected
:
162
166
void
copyStatementList(
const
DtList& otherList);
167
168
protected
:
169
170
mutable
DtString
myName
;
171
174
DtList
myStatementList
;
175
177
bool
myAppendFlag
;
178
181
bool
myAssignFlag
;
182
183
bool
myIsGlobal
;
184
};
185
186
#endif
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)