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

Public Member Functions | |
| DtHumanPatrolPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtHumanPatrolPSR (const DtHumanPatrolPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| virtual | ~DtHumanPatrolPSR () |
| destructor | |
| DtHumanPatrolPSR & | operator= (const DtHumanPatrolPSR &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.
| DtHumanPatrolPSR::DtHumanPatrolPSR | ( | DtVrfObject * | vrfObject, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtHumanPatrolPSR::DtHumanPatrolPSR | ( | const DtHumanPatrolPSR & | orig, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtHumanPatrolPSR::~DtHumanPatrolPSR | ( | ) | [virtual] |
destructor
| DtHumanPatrolPSR& DtHumanPatrolPSR::operator= | ( | const DtHumanPatrolPSR & | orig | ) |
assignment operator
| virtual DtVrfProcessStateRepository* DtHumanPatrolPSR::clone | ( | const DtString & | rwName = DtString::nullString(), |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
returns a newly created copy of this object
Implements DtVrfProcessStateRepository.
| virtual DtString DtHumanPatrolPSR::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 DtHumanPatrolPSR::setReverseDirection | ( | bool | trueFalse | ) | [virtual] |
Indicates which direction we should head.
If true, head toward second waypoint, if false, head toward first.
| virtual bool DtHumanPatrolPSR::reverseDirection | ( | ) | const [virtual] |
| virtual void DtHumanPatrolPSR::setMovingAlongRoute | ( | bool | trueFalse | ) | [virtual] |
Indicates if we are currently moving along route (versus patrolling between points).
| virtual bool DtHumanPatrolPSR::movingAlongRoute | ( | ) | [virtual] |
| static DtVrfProcessStateRepository* DtHumanPatrolPSR::creator | ( | const DtString & | rwName, |
| DtVrfObject * | vrfObject, | ||
| DtReaderWriterRegistry * | parentRegistry | ||
| ) | [static] |
Returns a newly created instance of this class.
DtRwBoolean DtHumanPatrolPSR::myReverseDirection [protected] |
DtRwBoolean DtHumanPatrolPSR::myMovingAlongRoute [protected] |