22 class DtSimObjectBaseObjectStateRepository;
62 virtual const char*
type()
const;
87 virtual void openWithRate(
double rate);
96 virtual void closeWithRate(
double rate);
99 virtual bool isOpened()
const;
102 virtual bool isClosed()
const;
110 State_In_Transision = 1,
DtBooleanInputPort * myRequestedStateInputPort
Output Port Name: requested-state Output Port Description: The requested state for this swinging part...
Definition: swingingPartActuator.h:161
#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
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
Definition: swingingPartActuatorPSR.h:21
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
DtSwingingPartActuatorDescriptor is the descriptor for DtSwingingPartActuator components.
Definition: swingingPartActuatorDescriptor.h:87
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
DtPartState
Definition: swingingPartActuator.h:107
virtual void reset()
For those reader/writer items that support it, resets the reader/writer value to original state Defau...
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
virtual void tick()
This gives the thread of control to the component.
DtSwingingPartActuator is a simple actuator which controls the movement of an articulated part as it ...
Definition: swingingPartActuator.h:38
DtSwingingPartActuatorPSR * myProcessState
Container for state data associated with this component such as whether it is in the closed or opened...
Definition: swingingPartActuator.h:171
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:29
virtual bool createPorts()
Called by init.
DtIntegerOutputPort * myCurrentStateOutputPort
Output Port Name: current-state Output Port Description: Nominal azimuth value.
Definition: swingingPartActuator.h:154
const DtSwingingPartActuatorDescriptor * myDescriptor
Definition: swingingPartActuator.h:167
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
DtArticulatedPartStateRepository * myArtPartStateRep
The state repository that represents the swinging articulated part.
Definition: swingingPartActuator.h:165
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.
Information for a particular axis of swinging.
Definition: swingingPartActuatorDescriptor.h:22
virtual const char * type() const =0
Returns a string identifies the class type of component.