VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrftasks
followEntityTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
12
#include "
vrftasks/simTask.h
"
13
#include "
vrfutil/rwString.h
"
14
#include "
vrfutil/rwVector.h
"
15
#include <vlpi/netStructs.h>
16
17
struct
DtNetFollowEntityTask
18
{
19
DtNet64Vector
myOffsetVector
;
20
DtNetU8
myEntityToFollowLength
;
21
};
22
61
#include "
vrftasks/vrftasksDefines.h
"
62
class
DT_DLL_vrftasks
DtFollowEntityTask
:
public
DtSimTask
63
{
64
65
public
:
66
68
DtFollowEntityTask
();
69
72
DtFollowEntityTask
(
const
DtString
& writeName,
73
DtReaderWriterRegistry
* parentRegistry = 0);
74
77
DtFollowEntityTask
(
const
DtString
& writeName,
const
DtFollowEntityTask
&
78
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
79
81
const
DtFollowEntityTask
&
operator=
(
const
DtFollowEntityTask
& orig);
82
83
virtual
~
DtFollowEntityTask
();
84
86
virtual
const
DtSimTaskMessageType
&
type
()
const
;
87
89
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
90
parentRegistry = 0)
const
;
91
93
virtual
DtString
stringRep
()
const
;
94
96
virtual
const
DtString
& entityToFollow()
const
;
97
virtual
void
setEntityToFollow(
const
DtString
& entity);
98
100
virtual
const
DtVector
& offsetVector()
const
;
101
virtual
void
setOffsetVector(
const
DtVector
& offsets);
102
105
virtual
int
netRepSize
()
const
;
106
108
virtual
bool
setFromNet
(
const
char
* contentBuffer,
109
unsigned
contentSize);
110
113
virtual
bool
setToNet
();
114
115
static
DtSimTask
* creator();
116
117
protected
:
118
119
DtRwString
myEntityToFollow
;
120
122
DtRwOffsetVector
myOffsetVector
;
123
124
};
125
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)