VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Private Member Functions
DtHumanStopMovingController Class Reference

This controller implements the DtStopMoving task for the human movement model. More...

Inheritance diagram for DtHumanStopMovingController:
Inheritance graph
[legend]

List of all members.

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 DtSimComponentcreator (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
DtHumanMovementControlOutputPortGroupmyHumanMovementControlOutputPortGroup
 Output Group Name: movement-control
.

Private Member Functions

 DtHumanStopMovingController ()
 Not Implemented.
 DtHumanStopMovingController (const DtHumanStopMovingController &orig)
 Not Implemented.
DtHumanStopMovingControlleroperator= (const DtHumanStopMovingController &orig)
 Not Implemented.

Detailed Description

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


Constructor & Destructor Documentation

Not Implemented.

Not Implemented.

DtHumanStopMovingController::DtHumanStopMovingController ( const DtString name,
DtVrfObject owner,
DtSimManager simManager,
DtComponentDescriptor desc = 0,
DtReaderWriterRegistry parentRegistry = 0 
)

Constructor.

Destructor.


Member Function Documentation

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]
Returns:
DtHumanStopMovingControllerType

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.

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.

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.


Member Data Documentation

Output Group Name: movement-control
.


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)