VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifReqPlnStmt.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifReqPlnStmt.h,v $ $Revision: 1.17 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfRequestPlanStatement_H_
13
#define DtIfRequestPlanStatement_H_
14
15
#include <vlutil/vlString.h>
16
17
#include <vrfExtProtocol/ifaceCont.h>
18
#include <vrfExtProtocol/objType.h>
19
20
23
struct
DtNetIfRequestPlanStatement
24
{
25
DtNetInt16
myStatementId
;
//2 bytes
26
DtNetU8
myNameLength
;
//1 byte
27
};
28
29
45
#include "
vrfmsgs/vrfmsgsDefines.h
"
46
class
DT_DLL_vrfmsgs
DtIfRequestPlanStatement
:
public
DtSimInterfaceContent
47
{
48
public
:
49
51
DtIfRequestPlanStatement
();
52
54
virtual
~
DtIfRequestPlanStatement
();
55
57
DtIfRequestPlanStatement
(
const
DtIfRequestPlanStatement
& orig);
58
60
DtIfRequestPlanStatement
& operator=(
const
DtIfRequestPlanStatement
& orig);
61
63
virtual
int
type()
const
;
64
65
virtual
DtSimInterfaceContent
* clone()
const
;
66
68
virtual
const
DtString
& name()
const
;
69
virtual
void
setName(
const
DtString
& name);
70
72
virtual
int
statementId()
const
;
73
virtual
void
setStatementId(
int
id
);
74
75
virtual
int
netRepSize()
const
;
76
virtual
bool
setFromNet(
const
char
* contentBuffer,
77
unsigned
contentSize);
78
virtual
bool
setToNet();
79
80
virtual
void
printDataToString(
DtString
& str);
81
82
static
DtSimInterfaceContent
* creator();
83
84
protected
:
85
86
DtString
myName
;
87
88
int
myStatementId
;
89
};
90
91
#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
)