VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifPlanStmt.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifPlanStmt.h,v $ $Revision: 1.19 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfPlanStatement_H_
13
#define DtIfPlanStatement_H_
14
15
#include <vlutil/vlString.h>
16
17
#include <
vrfExtProtocol/ifaceCont.h
>
18
#include <vlutil/vlNetTypes.h>
19
20
class
DtSimStatement
;
21
22
32
struct
DtNetIfPlanStatement
33
{
34
DtNetU16
myStatementType
;
35
DtNetU16
myStatementId
;
36
DtNetU16
myStatementSize
;
37
DtNetU8
myNameLength
;
38
DtNetU8
myIsGlobal
;
39
};
40
59
#include "
vrfmsgs/vrfmsgsDefines.h
"
60
class
DT_DLL_vrfmsgs
DtIfPlanStatement
:
public
DtSimInterfaceContent
61
{
62
public
:
63
65
DtIfPlanStatement
();
66
68
virtual
~
DtIfPlanStatement
();
69
71
DtIfPlanStatement
(
const
DtIfPlanStatement
& orig);
72
74
DtIfPlanStatement
&
operator=
(
const
DtIfPlanStatement
& orig);
75
76
virtual
int
type
()
const
;
77
78
virtual
DtSimInterfaceContent
*
clone
()
const
;
79
81
virtual
const
DtString
& name()
const
;
82
virtual
void
setName(
const
DtString
& name);
83
85
virtual
int
statementId()
const
;
86
virtual
void
setStatementId(
int
id
);
87
90
virtual
DtSimStatement
* statement()
const
;
91
virtual
void
setStatement(
DtSimStatement
* statement);
92
95
96
virtual
bool
isGlobal()
const
;
97
virtual
void
setIsGlobal(
bool
yesNo);
99
100
virtual
int
netRepSize
()
const
;
101
virtual
bool
setFromNet
(
const
char
* contentBuffer,
102
unsigned
contentSize);
103
virtual
bool
setToNet
();
104
105
virtual
void
printDataToString
(
DtString
& str);
106
107
static
DtSimInterfaceContent
* creator();
108
109
protected
:
110
111
DtString
myName
;
112
bool
myIsGlobal
;
113
int
myStatementId
;
114
115
DtSimStatement
*
myStatement
;
116
};
117
118
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)