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

Public Member Functions | |
| DtAggregatedMoveToPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtAggregatedMoveToPSR (const DtAggregatedMoveToPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| virtual | ~DtAggregatedMoveToPSR () |
| destructor | |
| DtAggregatedMoveToPSR & | operator= (const DtAggregatedMoveToPSR &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 the repository, as defined in procSRTypes.h. | |
| virtual void | setControlObjectName (const DtString &controlObjectName) |
| Get/set the name of the control object to move to (waypoint name). | |
| virtual const DtString & | controlObjectName () const |
| Get/set the name of the control object to move to (waypoint name). | |
| virtual void | setWorldDestination (const DtVector &destination) |
| Get/set the location to which this entity is moving towards for a move to destination (or derivative) task. | |
| virtual const DtVector & | worldDestination () const |
| Get/set the location to which this entity is moving towards for a move to destination (or derivative) task. | |
Static Public Member Functions | |
| static DtVrfProcessStateRepository * | creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry) |
| Returns a newly created instance of this class. | |
Protected Attributes | |
| DtRwString | myControlObjectName |
| If tasked() is true, this is the name of the control object we're moving to. | |
| DtRwVector | myWorldDestination |
| World point for move to location tasks. | |
class DtAggregatedMoveToPSR:
Instances of DtAggregatedMoveToPSR are used to hold the shared/checkpointable data for a true aggregate entity.
| DtAggregatedMoveToPSR::DtAggregatedMoveToPSR | ( | DtVrfObject * | vrfObject, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtAggregatedMoveToPSR::DtAggregatedMoveToPSR | ( | const DtAggregatedMoveToPSR & | orig, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtAggregatedMoveToPSR::~DtAggregatedMoveToPSR | ( | ) | [virtual] |
destructor
| DtAggregatedMoveToPSR& DtAggregatedMoveToPSR::operator= | ( | const DtAggregatedMoveToPSR & | orig | ) |
assignment operator
| virtual DtVrfProcessStateRepository* DtAggregatedMoveToPSR::clone | ( | const DtString & | rwName = DtString::nullString(), |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
returns a newly created copy of this object
Implements DtVrfProcessStateRepository.
| virtual DtString DtAggregatedMoveToPSR::type | ( | ) | const [virtual] |
Returns the string type of the repository, as defined in procSRTypes.h.
(DtAggregatedMoveToPSRType).
Implements DtVrfProcessStateRepository.
| virtual void DtAggregatedMoveToPSR::setControlObjectName | ( | const DtString & | controlObjectName | ) | [virtual] |
Get/set the name of the control object to move to (waypoint name).
| virtual const DtString& DtAggregatedMoveToPSR::controlObjectName | ( | ) | const [virtual] |
Get/set the name of the control object to move to (waypoint name).
| virtual void DtAggregatedMoveToPSR::setWorldDestination | ( | const DtVector & | destination | ) | [virtual] |
Get/set the location to which this entity is moving towards for a move to destination (or derivative) task.
This point is only valid for that task and is set in world (geocentric) coordinates
| virtual const DtVector& DtAggregatedMoveToPSR::worldDestination | ( | ) | const [virtual] |
Get/set the location to which this entity is moving towards for a move to destination (or derivative) task.
This point is only valid for that task and is set in world (geocentric) coordinates
| static DtVrfProcessStateRepository* DtAggregatedMoveToPSR::creator | ( | const DtString & | rwName, |
| DtVrfObject * | vrfObject, | ||
| DtReaderWriterRegistry * | parentRegistry | ||
| ) | [static] |
Returns a newly created instance of this class.
DtRwString DtAggregatedMoveToPSR::myControlObjectName [protected] |
If tasked() is true, this is the name of the control object we're moving to.
DtRwVector DtAggregatedMoveToPSR::myWorldDestination [protected] |
World point for move to location tasks.