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

class DtHumanMoveToPSR: More...

Inheritance diagram for DtHumanMoveToPSR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtHumanMoveToPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtHumanMoveToPSR (const DtHumanMoveToPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
virtual ~DtHumanMoveToPSR ()
 destructor
DtHumanMoveToPSR & operator= (const DtHumanMoveToPSR &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.

Detailed Description

class DtHumanMoveToPSR:

Instances of DtHumanMoveToPSR are used to hold the shared/checkpointable data for a human entity.


Constructor & Destructor Documentation

DtHumanMoveToPSR::DtHumanMoveToPSR ( DtVrfObject *  vrfObject,
const DtString &  rwName = DtString::nullString(),
DtReaderWriterRegistry *  parentRegistry = 0 
)

constructor

DtHumanMoveToPSR::DtHumanMoveToPSR ( const DtHumanMoveToPSR &  orig,
const DtString &  rwName = DtString::nullString(),
DtReaderWriterRegistry *  parentRegistry = 0 
)

copy constructor

virtual DtHumanMoveToPSR::~DtHumanMoveToPSR ( ) [virtual]

destructor


Member Function Documentation

DtHumanMoveToPSR& DtHumanMoveToPSR::operator= ( const DtHumanMoveToPSR &  orig)

assignment operator

virtual DtVrfProcessStateRepository* DtHumanMoveToPSR::clone ( const DtString &  rwName = DtString::nullString(),
DtReaderWriterRegistry *  parentRegistry = 0 
) const [virtual]

returns a newly created copy of this object

Implements DtVrfProcessStateRepository.

virtual DtString DtHumanMoveToPSR::type ( ) const [virtual]

Returns the string type of the repository, as defined in procSRTypes.h.

(DtHumanMoveToPSRType).

Implements DtVrfProcessStateRepository.

virtual void DtHumanMoveToPSR::setControlObjectName ( const DtString &  controlObjectName) [virtual]

Get/set the name of the control object to move to (waypoint name).

virtual const DtString& DtHumanMoveToPSR::controlObjectName ( ) const [virtual]

Get/set the name of the control object to move to (waypoint name).

virtual void DtHumanMoveToPSR::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& DtHumanMoveToPSR::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* DtHumanMoveToPSR::creator ( const DtString &  rwName,
DtVrfObject *  vrfObject,
DtReaderWriterRegistry *  parentRegistry 
) [static]

Returns a newly created instance of this class.


Member Data Documentation

If tasked() is true, this is the name of the control object we're moving to.

World point for move to location tasks.


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)