61 virtual const char*
type()
const;
78 virtual void setSensorEnabled(
bool enabled);
81 virtual bool sensorEnabled()
const;
94 static void setSensorEnabledRequestCallback(
DtSimMessage *msg,
void * usrData);
98 virtual void processSetSensorEnabledRequestMessage(
DtSimMessage *msg);
101 virtual void initializeCallbacks(
bool);
111 virtual bool createAndInitSensorMonitor();
127 virtual bool mergeSpotReportWithCurrentData(
const DtSpotReport* spotReport);
132 virtual void setContactSource(
DtSpotReport& spotReport);
137 virtual bool pruneOldReports();
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtObjectSensorPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: spotReportReceiver.h:155
const DtSpotReportReceiverDescriptor * mySpotReportReceiverDescriptor
Definition: spotReportReceiver.h:159
DtSpotReportReceiver; listens for and tracks spot report messages Developer Description: DtSpotReport...
Definition: spotReportReceiver.h:34
bool myContactsChanged
Definition: spotReportReceiver.h:158
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 void disable()
Is this component enabled or not. If enabled, component's tick function will be called, otherwise it will not. Default is true (enabled).
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
virtual void enable()
Is this component enabled or not. If enabled, component's tick function will be called, otherwise it will not. Default is true (enabled).
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 tickWhileDestroyed() const
If the component returns true here, it will be ticked regardless of the destroyed state of the host e...
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
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
Contains the DtSimComponent class declaration.
Class which manages the sending of sensor contact information to the GUI from one particular sensor o...
Definition: objectSensorMonitor.h:26
Descriptor for the DtSpotReportReceiver class. Specifies parameters needed by this component to run...
Definition: spotReportReceiverDescriptor.h:26
DtObjectSensorMonitor * myMonitor
Definition: spotReportReceiver.h:157
DtSpotReport; subclass of DtSimReport.
Definition: spotReport.h:35
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
Definition: objectSensorPSR.h:23
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