22 class DtSimObjectBaseObjectStateRepository;
25 class DtExtendablePartActuatorAxisInfo;
61 virtual const char*
type()
const;
85 virtual void extend();
86 virtual void extendWithRate(
double rate);
94 virtual void retract();
95 virtual void retractWithRate(
double rate);
98 virtual bool isExtended()
const;
101 virtual bool isRetracted()
const;
109 State_In_Transision = 1,
DtPartState
Definition: extendablePartActuator.h:106
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:146
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtExtendablePartActuatorDescriptor is the descriptor for DtExtendablePartActuator components...
Definition: extendablePartActuatorDescriptor.h:20
DtExtendablePartActuator is a simple actuator which controls the movement of an articulated part as i...
Definition: extendablePartActuator.h:37
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
virtual bool init()
Overridden to cache a pointer to the entity's radio in this class.
virtual void bindLuaFunctions(lua_State *)=0
Override to bind lua functions.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
DtBooleanInputPort * myRequestedStateInputPort
Output Port Name: requested-state Output Port Description: The requested state for this extendable pa...
Definition: extendablePartActuator.h:147
DtIntegerOutputPort * myCurrentStateOutputPort
Output Port Name: current-state Output Port Description: Current extension state. ...
Definition: extendablePartActuator.h:140
Definition: readerWriterRegistry.h:39
Definition: bindableLuaComponent.h:53
End User Description: DtActuator is the base class for all actuator model components.
Definition: actuatorComponent.h:48
virtual void reset()
For those reader/writer items that support it, resets the reader/writer value to original state Defau...
const DtExtendablePartActuatorDescriptor * myDescriptor
Definition: extendablePartActuator.h:153
virtual void tick()
This gives the thread of control to the component.
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:29
virtual bool createPorts()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtArticulatedPartStateRepository * myArtPartStateRep
The state repository that represents the extendable articulated part.
Definition: extendablePartActuator.h:151
A process state repository for the DtExtendablePartActuator component.
Definition: extendablePartActuatorPSR.h:18
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtExtendablePartActuatorPSR * myProcessState
Container for state data associated with this component such as whether it is in the closed or opened...
Definition: extendablePartActuator.h:157
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
virtual void bindLuaGlobals(lua_State *)=0
Override to bind lua globals.
virtual const char * type() const =0
Returns a string identifies the class type of component.