56 virtual const char*
type()
const;
62 static void gotoDepthCallback(
DtSimMessage* msg,
void* usr);
74 virtual double entityDepth();
104 virtual void lookupAndCacheProcessSR();
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Definition: subSurfaceDepthController.h:25
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:31
Definition: surfaceMovementPSR.h:58
virtual void registerTaskMsgCallbacks()
DtSubsurfaceEntityParameters.
Definition: subSurfaceEntityParameters.h:20
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual bool init()
Calls setRadio()
Definition: subSurfaceDepthController.h:21
DtVrfMovingObjectStateRepository * myEntityState
Definition: subSurfaceDepthController.h:127
virtual void clearTask()
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
double mySeaFloorAltitude
Computed in the entityDepth(), within every tick. Remembered for use in the tick to determine if enti...
Definition: subSurfaceDepthController.h:168
const DtSubSurfaceEntityParameters * myParameters
Cache a pointer to the entity parameters.
Definition: subSurfaceDepthController.h:136
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
DtAnalogOutputPort * myClampDepthPort
Output Port Name: clamp-depth Output Port Description: The goal speed; used by the actuator to preven...
Definition: subSurfaceDepthController.h:162
File: simMsg.h.
Definition: simMessage.h:35
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...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
Definition: subSurfaceDepthController.h:23
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
Definition: subSurfaceDepthController.h:22
DtSurfaceMovementPSR * myProcessState
No special parameters for this controller DtSubSurfaceDepthControllerDescriptor * myDescriptor; ...
Definition: subSurfaceDepthController.h:133
virtual bool postAddComponentsInit()
Calls enableTaskTypes()
The DtSubSurfaceDepthController controls the depth for subsurface entities. It responds to GotoDepth ...
Definition: subSurfaceDepthController.h:32
double mySeaSurfaceAltitude
Computed in the entityDepth(), within every tick. Remembered for use in the tick to determine if enti...
Definition: subSurfaceDepthController.h:169
DtAnalogOutputPort * myDepthRatePort
Output Port Name: clamp-depth Output Port Description: The goal speed; used by the actuator to preven...
Definition: subSurfaceDepthController.h:154
Definition: subSurfaceDepthController.h:24
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86