VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
aggregatedMoveAlongPSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: aggregatedMoveAlongPSR.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef trueAggregateMoveAlongPSR_H_
13
#define trueAggregateMoveAlongPSR_H_
14
15
#include "
vrfobjcore/processSR.h
"
16
#include "
vrfutil/rwReal.h
"
17
#include "
vrfutil/rwInt.h
"
18
#include "
vrfutil/rwBoolean.h
"
19
#include "
vrfutil/rwString.h
"
20
#include "
vrfutil/rwVector.h
"
21
#include "
vrfutil/lclVtxList.h
"
22
#include "
vrfutil/lclVecIter.h
"
23
#include "
vrfobjcore/vrfobjcoreDefines.h
"
24
29
class
DT_DLL_vrfobjcore
DtAggregatedMoveAlongPSR
:
public
DtVrfProcessStateRepository
30
{
31
public
:
32
34
DtAggregatedMoveAlongPSR
(
DtVrfObject
* vrfObject,
35
const
DtString
& rwName = DtString::nullString(),
36
DtReaderWriterRegistry
* parentRegistry = 0);
37
39
DtAggregatedMoveAlongPSR
(
const
DtAggregatedMoveAlongPSR
& orig,
40
const
DtString
& rwName = DtString::nullString(),
41
DtReaderWriterRegistry
* parentRegistry = 0);
42
44
virtual
~
DtAggregatedMoveAlongPSR
();
45
47
DtAggregatedMoveAlongPSR
&
operator=
(
const
DtAggregatedMoveAlongPSR
& orig);
48
50
virtual
DtVrfProcessStateRepository
*
clone
(
51
const
DtString
& rwName = DtString::nullString(),
52
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
53
56
virtual
DtString
type
()
const
;
57
63
virtual
void
setWorldDestination(
const
DtVector
& destination);
64
virtual
const
DtVector
& worldDestination()
const
;
66
69
virtual
void
setRouteName(
const
DtString
& routeObjectName);
70
virtual
const
DtString
& routeName()
const
;
72
76
virtual
void
setRouteVertices(
const
DtLocalVectorIterator
& routeIterator);
77
virtual
void
setRouteVertices(
const
DtLocalVertexList
& routeVertices);
78
virtual
const
DtLocalVertexList
& routeVertices()
const
;
80
82
virtual
void
emptyRouteVertices();
83
86
virtual
DtLocalVectorIterator
* routeState()
const
;
87
90
virtual
void
setReversePatrol(
bool
flag);
91
virtual
bool
reversePatrol()
const
;
93
96
virtual
void
setRouteIsDiscovered(
bool
value);
97
virtual
bool
routeIsDiscovered()
const
;
99
103
virtual
void
setCurrentVertex(
int
vertex);
104
virtual
int
currentVertex()
const
;
106
108
virtual
void
putSelf
(FILE *fp,
int
indentLevel = 0,
bool
writeUnspecified =
false
,
109
const
DtFilename& path =
DtReaderWriter::appPath
());
110
111
public
:
112
114
static
DtVrfProcessStateRepository
* creator (
const
DtString
& rwName,
115
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
116
117
protected
:
118
121
DtRwString
myRouteName
;
122
125
DtLocalVectorIterator
*
myRouteState
;
127
DtLocalVertexList
myVertices
;
129
DtRwInt
myCurrentVertex
;
130
135
DtRwBoolean
myRouteIsDiscovered
;
137
141
DtRwBoolean
myReverseFlag
;
142
144
DtRwVector
myWorldDestination
;
145
};
146
147
#endif
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
)