VR-Forces 4.7 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 <
readerWriter/rwReal.h
>
14
#include <
readerWriter/rwInt.h
>
15
#include "
vrfutil/rwUUID.h
"
16
#include <
readerWriter/rwBoolean.h
>
17
#include <
readerWriter/rwString.h
>
18
#include "
readerWriter/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
112
virtual
void
putSelf
(std::string& fp,
int
indentLevel = 0,
bool
writeUnspecified =
false
,
113
const
DtFilename& path =
DtReaderWriter::appPath
());
114
115
public
:
116
118
static
DtVrfProcessStateRepository
* creator (
const
DtString
& rwName,
119
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
120
121
protected
:
122
125
DtRwVrfObjectReference
myRoute
;
126
129
DtLocalVectorIterator
*
myRouteState
;
131
DtLocalVertexList
myVertices
;
133
DtRwInt
myCurrentVertex
;
134
139
DtRwBoolean
myRouteIsDiscovered
;
141
145
DtRwBoolean
myReverseFlag
;
146
148
DtRwVector
myWorldDestination
;
149
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)