VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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/rwBoolean.h
"
16
#include <vlpi/NetStructs.h>
17
20
21
struct
DtNetEmbarkTask
22
{
23
DtNetU8
myParentNameLength
;
24
DtNetU8
myLoadOverride
;
25
DtNet64Vector
myLoadOverridePosition
;
26
};
27
32
#include "
vrftasks/vrftasksDefines.h
"
33
class
DT_DLL_vrftasks
DtEmbarkTask
:
public
DtSimTask
34
{
35
36
public
:
37
39
40
DtEmbarkTask
();
41
42
45
46
DtEmbarkTask
(
const
DtString
& writeName,
47
DtReaderWriterRegistry
* parentRegistry = 0);
48
49
51
52
DtEmbarkTask
(
const
DtString
& writeName,
const
53
DtEmbarkTask
& orig,
DtReaderWriterRegistry
*
54
parentRegistry = 0);
55
56
58
59
const
DtEmbarkTask
&
operator=
(
const
60
DtEmbarkTask
& orig);
61
62
63
virtual
~
DtEmbarkTask
();
64
65
67
68
virtual
const
DtSimTaskMessageType
&
type
()
const
;
69
70
72
73
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
74
parentRegistry = 0)
const
;
75
76
78
79
virtual
DtString
stringRep
()
const
;
80
81
83
84
virtual
void
setParentName(
const
DtString
& parentName );
85
86
88
89
virtual
const
DtString
& parentName()
const
;
90
91
94
95
virtual
int
netRepSize
()
const
;
96
97
99
100
virtual
bool
setFromNet
(
const
char
* contentBuffer,
101
unsigned
contentSize);
102
103
106
107
virtual
bool
setToNet
();
108
109
110
static
DtSimTask
* creator();
111
112
113
virtual
void
setLoadOverride(
bool
b);
114
virtual
bool
loadOverride()
const
;
115
116
virtual
void
setLoadOverridePosition(
const
DtVector
&);
117
virtual
const
DtVector
& loadOverridePosition()
const
;
118
119
protected
:
120
121
DtRwObjectName
myParentName
;
122
DtRwBoolean
myLoadOverride
;
123
DtRwOffsetVector
myLoadOverridePosition
;
124
};
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)