38 virtual const char*
type()
const override;
41 virtual bool init()
override;
46 virtual void tick()
override;
double myNextPrintTime
Definition: temperatureMonitorActuator.h:61
const char DtTemperatureMonitorActuatorType[]
Definition: temperatureMonitorActuator.h:18
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 bool init() override
Overridden to cache a pointer to the entity's radio in this class.
Definition: readerWriterRegistry.h:39
Definition: temperatureMonitorActuator.h:20
End User Description: DtActuator is the base class for all actuator model components. Developer Description: The DtActuator base class caches a pointer to the entity's radio for convenience. Derived classes may have articulated parts that are configured from the DtActuatorComponentDescriptor's DtSimArtPartDescriptorList. For each articulated part in the list a DtArticulatedPartStateRepository will be created to store the data for the part such as it's location, rotation and so forth. These are created in the entity's DtVrfObjectStateRepository createParts() function. This call creates all the attached parts for all the actuators. These articulated state repositories are managed by the DtAttachmentManager. They are cached by their partType which is the DIS Enumeration describing the part from the disEnums.h file and was specified in the actuator's DtActuatorComponentDescriptor as descriped above. The partType is used as the category of the DtEntityType used to look up articulated parts in the DtAttachementManager. When an actuator needs access to a particular articulated part it looks it up by the part's object type.
Definition: actuatorComponent.h:47
virtual ~DtTemperatureMonitorActuator() override
DtTemperatureMonitorActuator & operator=(const DtTemperatureMonitorActuator &orig)
const double getTemperature() const
returns the current internal temperature
virtual void calculateInternalTemperature()
Apply some simple factors that could change internal temperatue of the entity.
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
VRF4API_METHOD const DtSimulationServices * simManager() const
This is the deprecated API that can be used as a reference to migrate 4.X code to 5...
Definition: simComponent.h:583
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)
DtTemperatureMonitorActuator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=NULL, DtReaderWriterRegistry *parentRegistry=0)
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void tick() override
This gives the thread of control to the component. The component is ticked once each simulation from ...
A locally simulated VRF object.
Definition: localObject.h:98