VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifRequestEmbarkationInformation.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifRequestEmbarkationInformation.h,v $ $Revision: 1.5 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfRequestEmbarkationInformation_H_
13
#define DtIfRequestEmbarkationInformation_H_
14
15
#include <
vrfExtProtocol/ifaceCont.h
>
16
#include <vlutil/vlNetTypes.h>
17
#include <vlpi/NetStructs.h>
18
23
24
const
int
DtEmbarkRequestSlotInformation
= 0;
25
const
int
DtEmbarkRequestSlotReservation
= 1;
26
const
int
DtEmbarkRequestGiveUpSlot
= 2;
27
const
int
DtEmbarkRequestDisembarkInformation
= 3;
28
29
struct
DtNetIfRequestEmbarkationInformation
30
{
31
DtNetU32
myRequestId
;
32
DtNetU8
myEmbarkObjectNameLength
;
33
DtNetU8
myParentNameLength
;
34
DtNetU8
myRequestType
;
35
DtNetU8
myPadding
;
36
};
37
43
#include "
vrfmsgs/vrfmsgsDefines.h
"
44
class
DT_DLL_vrfmsgs
DtIfRequestEmbarkationInformation
:
public
DtSimInterfaceContent
45
{
46
47
public
:
49
DtIfRequestEmbarkationInformation
();
50
52
DtIfRequestEmbarkationInformation
(
53
const
DtIfRequestEmbarkationInformation
& orig);
54
56
const
DtIfRequestEmbarkationInformation
&
operator=
(
57
const
DtIfRequestEmbarkationInformation
& orig);
58
59
virtual
~
DtIfRequestEmbarkationInformation
();
60
62
virtual
int
type
()
const
;
63
65
virtual
DtSimInterfaceContent
*
clone
()
const
;
66
67
virtual
void
setEmbarkObject(
const
DtString
&);
68
virtual
const
DtString
& embarkObject()
const
;
69
70
virtual
void
setParent(
const
DtString
&);
71
virtual
const
DtString
& parent()
const
;
72
73
virtual
void
setRequestType(
short
);
74
virtual
short
requestType()
const
;
75
77
virtual
int
netRepSize
()
const
;
78
80
virtual
bool
setFromNet
(
const
char
* contentBuffer,
unsigned
contentSize);
81
84
virtual
bool
setToNet
();
85
88
virtual
void
printDataToString
(
DtString
& str);
89
91
virtual
void
setRequestId(DtU32);
92
virtual
DtU32 requestId()
const
;
93
97
static
DtSimInterfaceContent
* creator();
98
99
protected
:
100
DtString
myEmbarkObject
;
101
DtString
myParent
;
102
short
myRequestType
;
103
DtU32
myRequestId
;
104
};
105
106
#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
)