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
vrfobjcore
aggregatedMoveAlongPSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
#pragma once
9
10
#include "
vrfobjcore/vrfobjcoreDefines.h
"
11
#include "
vrfobjcore/vrfProcessStateRepository.h
"
12
#include "
vrfobjcore/vrfObjectReference.h
"
13
#include "
vrfutil/rwReal.h
"
14
#include "
vrfutil/rwInt.h
"
15
#include "
vrfutil/rwUUID.h
"
16
#include "
vrfutil/rwBoolean.h
"
17
#include "
vrfutil/rwString.h
"
18
#include "
vrfutil/rwVector.h
"
19
#include "
vrfutil/localVertexList.h
"
20
#include "
vrfutil/localVectorIterator.h
"
21
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
70
virtual
void
setRoute(
const
DtUUID
& route);
71
73
virtual
const
DtRwVrfObjectReference
& route()
const
;
74
virtual
DtRwVrfObjectReference
& route();
76
80
virtual
void
setRouteVertices(
const
DtLocalVectorIterator
& routeIterator);
81
virtual
void
setRouteVertices(
const
DtLocalVertexList
& routeVertices);
82
virtual
const
DtLocalVertexList
& routeVertices()
const
;
84
86
virtual
void
emptyRouteVertices();
87
90
virtual
DtLocalVectorIterator
* routeState()
const
;
91
94
virtual
void
setReversePatrol(
bool
flag);
95
virtual
bool
reversePatrol()
const
;
97
100
virtual
void
setRouteIsDiscovered(
bool
value);
101
virtual
bool
routeIsDiscovered()
const
;
103
107
virtual
void
setCurrentVertex(
int
vertex);
108
virtual
int
currentVertex()
const
;
110
113
virtual
void
setTaskStartPoint(
const
DtVector
& startPoint);
114
virtual
DtVector
taskStartPoint()
const
;
116
118
virtual
void
putSelf
(std::string& fp,
int
indentLevel = 0,
bool
writeUnspecified =
false
,
119
const
DtFilename& path =
DtReaderWriter::appPath
());
120
121
public
:
122
124
static
DtVrfProcessStateRepository
* creator (
const
DtString
& rwName,
125
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
126
127
protected
:
128
131
DtRwVrfObjectReference
myRoute
;
132
135
DtLocalVectorIterator
*
myRouteState
;
137
DtLocalVertexList
myVertices
;
139
DtRwInt
myCurrentVertex
;
140
145
DtRwBoolean
myRouteIsDiscovered
;
147
151
DtRwBoolean
myReverseFlag
;
152
154
DtRwVector
myWorldDestination
;
155
158
DtRwVector
myWorldTaskStartPoint
;
159
};
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
)