![]() |
VR-Forces 4.0.4 Class Documentation
|
This controller implements the DtStopMoving task for the human movement model. More...

Public Member Functions | |
| DtHumanStopMovingController (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| Constructor. | |
| virtual | ~DtHumanStopMovingController () |
| Destructor. | |
| virtual bool | init () |
| Init. Call immediately after construction. | |
| virtual DtString | type () const |
| virtual void | tick () |
| This components simulation tick. | |
| virtual void | processStopMovingTask (DtSimMessage *msg) |
| virtual void | registerTaskMsgCallbacks () |
| Overridden to register interest in move to messages. | |
| virtual bool | createPortGroups () |
| Creates and initializes port groups. | |
| virtual void | clearTask () |
| Overridden to deactivate the output port group when the task is cleared. | |
Static Public Member Functions | |
| static void | stopMovingCallback (DtSimMessage *msg, void *usr) |
| Instances of this component will register this callback with their own 'this' pointer as user data with the msg executive requesting notification of move-to tasks. | |
| static DtSimComponent * | creator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
| Static creator function for factory registration. | |
Protected Attributes | |
Ports and Port Groups | |
| DtHumanMovementControlOutputPortGroup * | myHumanMovementControlOutputPortGroup |
| Output Group Name: movement-control . | |
Private Member Functions | |
| DtHumanStopMovingController () | |
| Not Implemented. | |
| DtHumanStopMovingController (const DtHumanStopMovingController &orig) | |
| Not Implemented. | |
| DtHumanStopMovingController & | operator= (const DtHumanStopMovingController &orig) |
| Not Implemented. | |
This controller implements the DtStopMoving task for the human movement model.
It simply stops the entity on the current heading, and completes once the entity has come to a complete stop. Component OPD Name: "human-stop-moving-controller" Uses Descriptor Type: DtComponentDescriptor
| DtHumanStopMovingController::DtHumanStopMovingController | ( | ) | [private] |
Not Implemented.
| DtHumanStopMovingController::DtHumanStopMovingController | ( | const DtHumanStopMovingController & | orig | ) | [private] |
Not Implemented.
| DtHumanStopMovingController::DtHumanStopMovingController | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
Constructor.
| virtual DtHumanStopMovingController::~DtHumanStopMovingController | ( | ) | [virtual] |
Destructor.
| DtHumanStopMovingController& DtHumanStopMovingController::operator= | ( | const DtHumanStopMovingController & | orig | ) | [private] |
Not Implemented.
| virtual bool DtHumanStopMovingController::init | ( | ) | [virtual] |
Init. Call immediately after construction.
Reimplemented from DtControllerComponent.
| virtual DtString DtHumanStopMovingController::type | ( | ) | const [virtual] |
Implements DtTaskControllerComponent.
| virtual void DtHumanStopMovingController::tick | ( | ) | [virtual] |
This components simulation tick.
Reimplemented from DtSimComponent.
| static void DtHumanStopMovingController::stopMovingCallback | ( | DtSimMessage * | msg, |
| void * | usr | ||
| ) | [static] |
Instances of this component will register this callback with their own 'this' pointer as user data with the msg executive requesting notification of move-to tasks.
| virtual void DtHumanStopMovingController::processStopMovingTask | ( | DtSimMessage * | msg | ) | [virtual] |
| virtual void DtHumanStopMovingController::registerTaskMsgCallbacks | ( | ) | [virtual] |
Overridden to register interest in move to messages.
Reimplemented from DtTaskControllerComponent.
| static DtSimComponent* DtHumanStopMovingController::creator | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | [static] |
Static creator function for factory registration.
| virtual bool DtHumanStopMovingController::createPortGroups | ( | ) | [virtual] |
Creates and initializes port groups.
Reimplemented from DtSimComponent.
| virtual void DtHumanStopMovingController::clearTask | ( | ) | [virtual] |
Overridden to deactivate the output port group when the task is cleared.
Reimplemented from DtSingleTaskControllerComponent.
DtHumanMovementControlOutputPortGroup* DtHumanStopMovingController::myHumanMovementControlOutputPortGroup [protected] |
Output Group Name: movement-control
.