44 virtual bool init()
override;
48 virtual const char*
type()
const override;
50 virtual void tick()
override;
100 virtual void checkRemoteSensorStatus();
104 virtual bool spotterEnabled(
const DtUUID& remoteSensorObject);
110 static void setRemoteSensorCallback(
DtSimMessage* msg,
void* usr);
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtRemoteSensorSpotReportReceiverPSR * myRemoteSensorSpotReportRcvrProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: remoteSensorSpotReportReceiver.h:116
Instances of DtObjectSensorPSR are used to hold the shared/checkpointable state data for the DtRemote...
Definition: remoteSensorSpotReportReceiverPSR.h:22
DtSpotReportReceiver; listens for and tracks spot report messages Developer Description: DtSpotReport...
Definition: spotReportReceiver.h:34
virtual bool mergeSpotReportWithCurrentData(const DtSpotReport *spotReport)
Merges data from the specified spot report with the current list of contacts.
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 initializeCallbacks(bool)
Initialize spot report callbacks for spot report messages.
virtual bool init() override
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
const DtSpotReportReceiver & operator=(const DtSpotReportReceiver &orig)
Not Implemented.
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual void setContactSource(DtSpotReport &spotReport)
Sets the contact source to be the spot report generator rather than whatever source the detecting ent...
File: simMsg.h.
Definition: simMessage.h:35
virtual bool pruneOldReports()
Looks though the current spot reports and removes any that are beyond the age limit.
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
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
virtual void processSimReportCollection(const DtVrfObjectMessage *msg)
Calls mergeSpotReportWithCurrentData().
DtRemoteSensorSpotReportReceiver; A DtSpotReportReceiver that listens for and tracks spot report mess...
Definition: remoteSensorSpotReportReceiver.h:21
std::set< DtUUID > myDisabledSpotterList
Tracks remote sensor entities that have been disabled (e.g. destroyed) This is kept here instead of t...
Definition: remoteSensorSpotReportReceiver.h:120
virtual DtObjectSensorPSR * createPSR()
Creates myProcessState data member, and adds it to our process state repository manager. Passes in the name and type specified in the component descriptor (if they exist) to the DtVrfProcessStateRepository::createRepository factory method. If name and/or type is not specified, uses the appropriate default strings defined in psrTypes.h.
virtual void tick() override
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtSpotReport; subclass of DtSimReport.
Definition: spotReport.h:35
Definition: objectSensorPSR.h:23
A locally simulated VRF object.
Definition: localObject.h:98