VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifEmbarkObject.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifEmbarkObject.h,v $ $Revision: 1.4 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfEmbarkObject_H_
13
#define DtIfEmbarkObject_H_
14
15
#include <
vrfExtProtocol/ifaceCont.h
>
16
#include <vlutil/vlNetTypes.h>
17
#include <vlpi/NetStructs.h>
18
20
struct
DtNetIfEmbarkObject
21
{
22
DtNetU8
myEmbarkObjectNameLength
;
23
DtNetU8
myParentNameLength
;
24
DtNetU8
myLoadOverride
;
25
DtNet64Vector
myLoadOverridePosition
;
26
DtNetU8
myPadding
;
27
};
28
34
#include "
vrfmsgs/vrfmsgsDefines.h
"
35
class
DT_DLL_vrfmsgs
DtIfEmbarkObject
:
public
DtSimInterfaceContent
36
{
37
38
public
:
40
DtIfEmbarkObject
();
41
43
DtIfEmbarkObject
(
44
const
DtIfEmbarkObject
& orig);
45
47
const
DtIfEmbarkObject
&
operator=
(
48
const
DtIfEmbarkObject
& orig);
49
50
virtual
~
DtIfEmbarkObject
();
51
53
virtual
int
type
()
const
;
54
56
virtual
DtSimInterfaceContent
*
clone
()
const
;
57
58
virtual
void
setEmbarkObject(
const
DtString
&);
59
virtual
const
DtString
& embarkObject()
const
;
60
61
virtual
void
setParent(
const
DtString
&);
62
virtual
const
DtString
& parent()
const
;
63
64
virtual
void
setLoadOverride(
bool
);
65
virtual
bool
loadOverride()
const
;
66
67
virtual
void
setLoadOverridePosition(
const
DtVector
&);
68
virtual
const
DtVector
& loadOverridePosition()
const
;
69
71
virtual
int
netRepSize
()
const
;
72
74
virtual
bool
setFromNet
(
const
char
* contentBuffer,
unsigned
contentSize);
75
78
virtual
bool
setToNet
();
79
82
virtual
void
printDataToString
(
DtString
& str);
83
87
static
DtSimInterfaceContent
* creator();
88
89
protected
:
90
DtString
myEmbarkObject
;
91
DtString
myParent
;
92
bool
myLoadOverride
;
93
DtVector
myLoadOverridePosition
;
94
};
95
96
#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
)