21 class DtSimObjectBaseObjectStateRepository;
57 virtual const char*
type()
const;
87 virtual void forward();
90 virtual void backward();
99 virtual void resume();
102 virtual bool isFullyTranslatedToMaximum()
const;
105 virtual bool isFullyTranslatedToMinimum()
const;
114 virtual int state()
const;
117 virtual bool paused()
const;
134 virtual double currentPosition();
137 virtual void setPositionAndRate(
double newPos,
double newRate);
141 virtual void updatePartState();
144 virtual void initializePartState();
150 virtual double rangeChangeRate()
const;
153 virtual double minRange()
const;
156 virtual double maxRange()
const;
DtTranslatablePartActuator is a simple actuator which controls the movement of an articulated part as...
Definition: translatablePartActuator.h:32
#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:144
bool myHasDuplicatePSR
Definition: translatablePartActuator.h:181
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
DtArticulatedPartStateRepository * myArtPartStateRep
Definition: translatablePartActuator.h:176
const DtTranslatablePartActuatorDescriptor * myDescriptor
Definition: translatablePartActuator.h:178
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
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
DtSwingingPartActuatorDescriptor is the descriptor for DtSwingingPartActuator components.
Definition: translatablePartActuatorDescriptor.h:21
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
DtTranslatablePartActuatorPSR * myProcessState
Definition: translatablePartActuator.h:180
TranslationDirection
Definition: translatablePartActuatorDescriptor.h:25
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtTranslatablePartActuatorDescriptor::TranslationDirection TranslationDirection
Definition: translatablePartActuator.h:37
virtual void bindLuaGlobals(lua_State *)=0
Override to bind lua globals.
Definition: translatablePartActuatorPSR.h:21
virtual const char * type() const =0
Returns a string identifies the class type of component.