VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
flyAlongTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrftasks/simTask.h
"
12
#include "
vrfutil/rwString.h
"
13
#include "
vrfutil/rwInt.h
"
14
#include "
vrfutil/rwBoolean.h
"
15
#include <vlutil/vlNetTypes.h>
16
#include "
vrfutil/iteratorBase.h
"
17
24
struct
DtNetFlyAlongTask
25
{
26
DtNetU8
myRouteNameLength
;
27
DtNetU8
myTraversalDirection
;
28
29
DtNetBoolean
myStartAtClosestPoint
;
30
31
32
33
DtNetU8
myUseFixedPitch
;
34
DtNetU32
myPadding2
;
35
};
36
59
60
#include "
vrftasks/vrftasksDefines.h
"
61
class
DT_DLL_vrftasks
DtFlyAlongTask
:
public
DtSimTask
62
{
63
64
public
:
65
67
DtFlyAlongTask
();
68
71
DtFlyAlongTask
(
const
DtString
& writeName,
72
DtReaderWriterRegistry
* parentRegistry = 0);
73
75
DtFlyAlongTask
(
const
DtString
& writeName,
const
DtFlyAlongTask
& orig,
76
DtReaderWriterRegistry
* parentRegistry = 0);
77
79
const
DtFlyAlongTask
&
operator=
(
const
DtFlyAlongTask
& orig);
80
81
virtual
~
DtFlyAlongTask
();
82
83
virtual
const
DtSimTaskMessageType
&
type
()
const
;
84
86
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
87
parentRegistry = 0)
const
;
88
90
virtual
DtString
stringRep
()
const
;
91
93
virtual
const
DtString
& routeName()
const
;
94
virtual
void
setRouteName(
const
DtString
& rteName);
95
98
virtual
void
setTraversalDirection
(
DtIteratorDirection
traversalDirection
);
99
virtual
DtIteratorDirection
traversalDirection
()
const
;
100
105
virtual
void
setStartAtClosestPoint(
bool
startAtClosestPoint);
106
virtual
bool
startAtClosestPoint()
const
;
107
110
virtual
int
netRepSize
()
const
;
111
113
virtual
bool
setFromNet
(
const
char
* contentBuffer,
114
unsigned
contentSize);
115
116
virtual
void
setUseFixedPitch(
bool
);
117
virtual
bool
useFixedPitch()
const
;
118
121
virtual
bool
setToNet
();
122
123
static
DtSimTask
* creator();
124
125
protected
:
126
127
DtRwObjectName
myRouteName
;
128
DtRwInt
myTraversalDirection
;
129
DtRwBoolean
myStartAtClosestPoint
;
130
DtRwBoolean
myUseFixedPitch
;
131
};
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)