57 virtual const char*
type()
const;
89 bool& contactInfoModified);
97 virtual void createAndInitActiveSonarSystem();
100 virtual void destroyActiveSonarSystem();
104 static void setActiveSonarModeCallback(
DtSimMessage *msg,
void * usrData);
108 virtual void processSetActiveSonarMode(
DtSimMessage *msg);
110 static void requestActiveSonarModesCallback(
const DtVrfObjectMessage* msg,
void* usr);
111 virtual void processRequestActiveSonarModes(
const DtUUID& receiver,
123 virtual void updateActiveSonarMode(
const DtString modeToUse =
"");
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual int sensorType() const
Returns DtSensorTypeRadar.
DtActiveSonarSensorPSR * myActiveSonarSensorPSR
DtObjectSensor's myProcessState cast to our PSR type.
Definition: activeSonarSensor.h:136
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual bool detectObject(const DtVrfObject *object, DtRwSensorContactInfo *contactInfo)
Overridden from DtSignatureObjectSensor to check if the current speed is greater than the maximum eff...
DtActiveSonarSensorDescriptor; descriptor for the DtActiveSonarSensor component.
Definition: activeSonarSensorDescriptor.h:22
virtual void timedTick()
This version of tick checks to see if the time to tick has arrived.
DtActiveSonarSensorDescriptor * myDescriptor
Definition: activeSonarSensor.h:138
bool myInitializeSonar
Definition: activeSonarSensor.h:142
virtual const char * type() const
Returns a string identifies the class type of component.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
DtVrfActiveSonarSystem * myActiveSonarSystem
Contains the active sonar system publisher.
Definition: activeSonarSensor.h:132
const DtPassiveSonarSensor & operator=(const DtPassiveSonarSensor &orig)
assignment operator; not implemented
bool mySkipFirstTick
Definition: activeSonarSensor.h:143
Definition: activeSonarSensor.h:26
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
File: simMsg.h.
Definition: simMessage.h:35
The base class for all messages to/from a specific DtVrfObject.
Definition: vrfObjectMessage.h:30
virtual void tick()
Overridden from base class to update myLocalSensorPosition (using localSensorPosition()) at the start...
virtual void setSensorEnabled(bool enabled)
Enables or disables this sensor.
ContinueDetectingResult
Definition: objectSensor.h:66
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The central class of a DtVrfObject for all communications to and from the object. ...
Definition: vrfObjectCommunicationInterface.h:45
virtual bool init()
Calls createPSR(), createDetectableObjectList(), createAndInitSensorMonitor() and initSensorGeometry(...
DtU8 myActiveSonarSystemId
Definition: activeSonarSensor.h:140
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual ContinueDetectingResult continueDetectingObject(const DtVrfObject *object, DtRwSensorContactInfo *contactInfo, bool &contactInfoModified)
Overridden from DtSignatureObjectSensor to check if the current speed is greater than the maximum eff...
virtual const char * defaultPSRType() const
DtVrfActiveSonarSystem manages a VR-Link active sonar system publisher, and sets all the values assoc...
Definition: vrfActiveSonarSystem.h:30
Process State Repository for the DtActiveSonarSensor component.
Definition: activeSonarSensorPSR.h:21
virtual void preFirstTickInit()
Initializes the component before it is ticked for the first time.
DtPassiveSonarSensor.
Definition: passiveSonarSensor.h:31