![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtAggregatePatrolBetweenPSR: More...

Public Member Functions | |
| DtAggregatedPatrolPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtAggregatedPatrolPSR (const DtAggregatedPatrolPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| virtual | ~DtAggregatedPatrolPSR () |
| destructor | |
| DtAggregatedPatrolPSR & | operator= (const DtAggregatedPatrolPSR &orig) |
| assignment operator | |
| virtual DtVrfProcessStateRepository * | clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const |
| returns a newly created copy of this object | |
| virtual DtString | type () const |
| Returns the string type of this process state repository, defined in procSRTypes.h. | |
| virtual void | setReverseDirection (bool trueFalse) |
| Indicates which direction we should head. | |
| virtual bool | reverseDirection () const |
| virtual void | setMovingAlongRoute (bool trueFalse) |
| Indicates if we are currently moving along route (versus patrolling between points). | |
| virtual bool | movingAlongRoute () |
Static Public Member Functions | |
| static DtVrfProcessStateRepository * | creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry) |
| Returns a newly created instance of this class. | |
Protected Attributes | |
| DtRwBoolean | myReverseDirection |
| DtRwBoolean | myMovingAlongRoute |
class DtAggregatePatrolBetweenPSR:
This is a process state repository for the DtAggregatePatrolBetweenController that stores state of which waypoint we are heading toward.
| DtAggregatedPatrolPSR::DtAggregatedPatrolPSR | ( | DtVrfObject * | vrfObject, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtAggregatedPatrolPSR::DtAggregatedPatrolPSR | ( | const DtAggregatedPatrolPSR & | orig, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtAggregatedPatrolPSR::~DtAggregatedPatrolPSR | ( | ) | [virtual] |
destructor
| DtAggregatedPatrolPSR& DtAggregatedPatrolPSR::operator= | ( | const DtAggregatedPatrolPSR & | orig | ) |
assignment operator
| virtual DtVrfProcessStateRepository* DtAggregatedPatrolPSR::clone | ( | const DtString & | rwName = DtString::nullString(), |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
returns a newly created copy of this object
Implements DtVrfProcessStateRepository.
| virtual DtString DtAggregatedPatrolPSR::type | ( | ) | const [virtual] |
Returns the string type of this process state repository, defined in procSRTypes.h.
Returns "human-patrol-process-state-repository".
Implements DtVrfProcessStateRepository.
| virtual void DtAggregatedPatrolPSR::setReverseDirection | ( | bool | trueFalse | ) | [virtual] |
Indicates which direction we should head.
If true, head toward second waypoint, if false, head toward first.
| virtual bool DtAggregatedPatrolPSR::reverseDirection | ( | ) | const [virtual] |
| virtual void DtAggregatedPatrolPSR::setMovingAlongRoute | ( | bool | trueFalse | ) | [virtual] |
Indicates if we are currently moving along route (versus patrolling between points).
| virtual bool DtAggregatedPatrolPSR::movingAlongRoute | ( | ) | [virtual] |
| static DtVrfProcessStateRepository* DtAggregatedPatrolPSR::creator | ( | const DtString & | rwName, |
| DtVrfObject * | vrfObject, | ||
| DtReaderWriterRegistry * | parentRegistry | ||
| ) | [static] |
Returns a newly created instance of this class.
DtRwBoolean DtAggregatedPatrolPSR::myReverseDirection [protected] |
DtRwBoolean DtAggregatedPatrolPSR::myMovingAlongRoute [protected] |