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
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/simInterfaceContent.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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)