VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifVrfObjCrtd.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifVrfObjCrtd.h,v $ $Revision: 1.18 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfVrfObjectCreated_H_
13
#define DtIfVrfObjectCreated_H_
14
15
#include <
vrfExtProtocol/ifaceCont.h
>
16
#include <vlutil/vlString.h>
17
#include <
vrfExtProtocol/objType.h
>
18
#include <vlpi/disEnums.h>
19
#include <vl/globalObjDes.h>
20
#include "
vrfmsgs/vrfmsgsDefines.h
"
21
24
struct
DtNetIfVrfObjectCreated
25
{
26
DtNetU32
myRequestId
;
27
DtNetEntityIdentifier
myObjectIdentifier
;
28
DtNetU8
myNameLength
;
29
DtNetU32
padding1
;
30
DtNetU8
padding2
;
31
};
32
33
47
48
class
DT_DLL_vrfmsgs
DtIfVrfObjectCreated
:
public
DtSimInterfaceContent
49
{
50
public
:
51
53
DtIfVrfObjectCreated
();
54
56
virtual
~
DtIfVrfObjectCreated
();
57
59
DtIfVrfObjectCreated
(
const
DtIfVrfObjectCreated
& orig);
60
62
DtIfVrfObjectCreated
&
operator=
(
const
DtIfVrfObjectCreated
& orig);
63
65
virtual
DtSimInterfaceContent
*
clone
()
const
;
66
69
virtual
int
type
()
const
;
70
74
virtual
void
setObjectIdentifier(
const
DtEntityIdentifier & objectIdentifier);
75
virtual
const
DtEntityIdentifier & objectIdentifier()
const
;
76
79
virtual
unsigned
long
requestId()
const
;
80
virtual
void
setRequestId(
unsigned
long
requestId);
81
83
virtual
void
setObjectName(
const
DtString
& objectName);
84
virtual
const
DtString
& objectName()
const
;
85
86
virtual
int
netRepSize
()
const
;
87
virtual
bool
setFromNet
(
const
char
* contentBuffer,
88
unsigned
contentSize);
89
virtual
bool
setToNet
();
90
91
virtual
void
printDataToString
(
DtString
& str);
92
93
static
DtSimInterfaceContent
* creator();
94
95
protected
:
96
DtEntityIdentifier
myObjectIdentifier
;
97
DtU32
myRequestId
;
98
DtString
myObjectName
;
99
};
100
101
#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
)