VR-Forces 4.6 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
66
virtual
void
setEmbarkInSlot(
int
);
67
virtual
int
embarkInSlot()
const
;
68
69
virtual
void
setChooseAnyAvailableSlotIfTaken(
bool
);
70
virtual
bool
chooseAnyAvailableSlotIfTaken()
const
;
71
73
virtual
int
netRepSize
()
const
;
74
76
virtual
bool
setFromNet
(
const
char
* contentBuffer,
unsigned
contentSize);
77
80
virtual
bool
setToNet
();
81
84
virtual
void
printDataToString
(
DtString
& str);
85
87
virtual
void
setRequestId(DtU32);
88
virtual
DtU32 requestId()
const
;
89
93
static
DtSimInterfaceContent
* creator();
94
95
protected
:
96
DtUUID
myEmbarkObject
;
97
DtUUID
myParent
;
98
int
myRequestType
;
99
DtU32
myRequestId
;
100
int
myEmbarkInSlot
;
101
bool
myChooseAnyAvailableIfSlotTaken
;
102
};
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)