VR-Forces 4.6.1 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
vrftasks
embarkTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrftasks/simTask.h
"
12
#include <vlutil/vlNetTypes.h>
13
#include "
vrfutil/rwString.h
"
14
#include "
vrfutil/rwVector.h
"
15
#include "
vrfutil/rwInt.h
"
16
#include "
vrfutil/rwBoolean.h
"
17
#include <vlpi/netStructs.h>
18
#include "
vrfutil/rwUUID.h
"
19
24
#include "
vrftasks/vrftasksDefines.h
"
25
class
DT_DLL_vrftasks
DtEmbarkTask
:
public
DtSimTask
26
{
27
28
public
:
29
31
32
DtEmbarkTask
();
33
34
37
38
DtEmbarkTask
(
const
DtString
& writeName,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
41
43
44
DtEmbarkTask
(
const
DtString
& writeName,
const
45
DtEmbarkTask
& orig,
DtReaderWriterRegistry
*
46
parentRegistry = 0);
47
48
50
51
const
DtEmbarkTask
&
operator=
(
const
52
DtEmbarkTask
& orig);
53
54
55
virtual
~
DtEmbarkTask
();
56
57
59
60
virtual
const
DtSimTaskMessageType
&
type
()
const
;
61
62
64
65
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
66
parentRegistry = 0)
const
;
67
68
70
71
virtual
DtString
stringRep
()
const
;
72
73
76
virtual
void
setParent(
const
DtUUID
&);
77
78
81
virtual
const
DtUUID
& parent()
const
;
82
83
86
87
virtual
int
netRepSize
()
const
;
88
89
91
92
virtual
bool
setFromNet
(
const
char
* contentBuffer,
93
unsigned
contentSize);
94
95
98
99
virtual
bool
setToNet
();
100
101
102
static
DtSimTask
* creator();
103
104
105
virtual
void
setLoadOverride(
bool
b);
106
virtual
bool
loadOverride()
const
;
107
108
virtual
void
setLoadOverridePosition(
const
DtVector
&);
109
virtual
const
DtVector
& loadOverridePosition()
const
;
110
113
virtual
void
setEmbarkInSlot(
int
);
114
virtual
int
embarkInSlot()
const
;
115
116
virtual
void
setChooseAnyAvailableSlotIfTaken(
bool
);
117
virtual
bool
chooseAnyAvailableSlotIfTaken()
const
;
118
119
protected
:
120
DtRwUUID
myParent
;
121
DtRwBoolean
myLoadOverride
;
122
DtRwOffsetVector
myLoadOverridePosition
;
123
DtRwInt
myEmbarkInSlot
;
124
DtRwBoolean
myChooseAnyAvailableIfSlotTaken
;
125
};
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)