VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtHumanPatrolPSR Class Reference

class DtAggregatePatrolBetweenPSR: More...

Inheritance diagram for DtHumanPatrolPSR:
Inheritance graph
[legend]

List of all members.

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
DtHumanPatrolPSRoperator= (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

Detailed Description

class DtAggregatePatrolBetweenPSR:

This is a process state repository for the DtAggregatePatrolBetweenController that stores state of which waypoint we are heading toward.


Constructor & Destructor Documentation

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


Member Function Documentation

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).

static DtVrfProcessStateRepository* DtHumanPatrolPSR::creator ( const DtString rwName,
DtVrfObject vrfObject,
DtReaderWriterRegistry parentRegistry 
) [static]

Returns a newly created instance of this class.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)