40 virtual bool init()
override;
44 virtual const char*
type()
const override;
46 virtual void tick()
override;
65 virtual bool createFaceDirectionPort();
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
DtHumanMovementControlOutputPortGroup * myHumanMovementControlOutputPortGroup
Output Group Name: movement-control .
Definition: humanFaceTargetController.h:95
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
bool myIsControllingFacing
For detecting change, for debugging output.
Definition: humanFaceTargetController.h:98
virtual bool init() override
Calls setRadio()
This class is part of the human movement model which takes a heading as an input port, and stops the entity and faces it in the specified direction for as long as there is any data on the input port. Control is only taken by this controller when there is data on the aimingDirection input port. Uses Descriptor Type: DtComponentDescriptor.
Definition: humanFaceTargetController.h:24
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
virtual bool createPortGroups()
Called by init. Derived classes should override this method to create all their input/output port gro...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtAnalogInputPort * myFaceDirectionPort
Input Port Name: aim-direction Input Port Description: Specifies the heading in which the entity shou...
Definition: humanFaceTargetController.h:92
An output port group that contains the ports necessary to control the movement of a human using the D...
Definition: humanMovementControlOutputPortGroup.h:22
A locally simulated VRF object.
Definition: localObject.h:98