VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfmsgs
ifRequestEmbarkationInformation.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrfExtProtocol/simInterfaceContent.h
>
12
#include <vlutil/vlNetTypes.h>
13
#include <vlpi/netStructs.h>
14
#include <
vrfutil/rwUUID.h
>
15
20
21
const
int
DtEmbarkRequestSlotInformation
= 0;
22
const
int
DtEmbarkRequestSlotReservation
= 1;
23
const
int
DtEmbarkRequestGiveUpSlot
= 2;
24
const
int
DtEmbarkRequestDisembarkInformation
= 3;
25
31
#include "
vrfmsgs/vrfmsgsDefines.h
"
32
class
DT_DLL_vrfmsgs
DtIfRequestEmbarkationInformation
:
public
DtSimInterfaceContent
33
{
34
35
public
:
37
DtIfRequestEmbarkationInformation
();
38
40
DtIfRequestEmbarkationInformation
(
41
const
DtIfRequestEmbarkationInformation
& orig);
42
44
const
DtIfRequestEmbarkationInformation
&
operator=
(
45
const
DtIfRequestEmbarkationInformation
& orig);
46
47
virtual
~
DtIfRequestEmbarkationInformation
();
48
50
virtual
int
type
()
const
;
51
53
virtual
DtSimInterfaceContent
*
clone
()
const
;
54
55
virtual
void
setEmbarkObject(
const
DtUUID
&);
56
virtual
const
DtUUID
& embarkObject()
const
;
57
58
virtual
void
setParent(
const
DtUUID
&);
59
virtual
const
DtUUID
& parent()
const
;
60
61
virtual
void
setRequestType(
int
);
62
virtual
int
requestType()
const
;
63
64
69
virtual
void
setEmbarkInSlot(
int
s);
70
virtual
int
embarkInSlot()
const
;
71
72
virtual
void
setSlotName(
const
DtString
&);
73
virtual
const
DtString
& slotName()
const
;
74
75
virtual
void
setSlotType(
const
DtString
&);
76
virtual
const
DtString
& slotType()
const
;
77
78
virtual
void
setChooseAnyAvailableSlotIfTaken(
bool
);
79
virtual
bool
chooseAnyAvailableSlotIfTaken()
const
;
80
82
virtual
int
netRepSize
()
const
;
83
85
virtual
bool
setFromNet
(
const
char
* contentBuffer,
unsigned
contentSize);
86
89
virtual
bool
setToNet
();
90
93
virtual
void
printDataToString
(
DtString
& str);
94
96
virtual
void
setRequestId(DtU32);
97
virtual
DtU32 requestId()
const
;
98
102
static
DtSimInterfaceContent
* creator();
103
104
protected
:
105
DtUUID
myEmbarkObject
;
106
DtUUID
myParent
;
107
int
myRequestType
;
108
DtU32
myRequestId
;
109
int
myEmbarkInSlot
;
110
bool
myChooseAnyAvailableIfSlotTaken
;
111
DtString
mySlotName
;
112
DtString
mySlotType
;
113
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)