55 virtual bool init()
override;
63 virtual const char*
type()
const override;
77 virtual void tick()
override;
101 bool& contactInfoModified)
override;
const DtSignatureObjectSensor & operator=(const DtSignatureObjectSensor &orig)
assignment operator; not implemented
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtSearchRescueSensorDescriptor; descriptor for the DtSearchRescueSensor component.
Definition: searchRescueSensorDescriptor.h:26
virtual bool updateSensorContactInfo(DtSimObjectReference object, DtRwSensorContactInfo *contactInfo, const int updateLevel)
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 tick() override
Overridden from base class to update myLocalSensorPosition (using localSensorPosition()) at the start...
A sensor component which uses the VR-Forces Sensor Signature model for detecting object.
Definition: signatureObjectSensor.h:41
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual bool init() override
Calls createPSR(), createDetectableObjectList(), createAndInitSensorMonitor() and initSensorGeometry(...
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
ContinueDetectingResult
Definition: objectSensor.h:69
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
const DtSearchRescueSensorDescriptor * mySearchDescriptor
Definition: searchRescueSensor.h:108
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual void preFirstTickInit() override
Initializes the component before it is ticked for the first time. It is called by timedTick if myFirs...
A sensor component which uses the VR-Forces Sensor Signature model for detecting object.
Definition: searchRescueSensor.h:27
virtual bool detectObject(DtSimObjectReference object, DtRwSensorContactInfo *contactInfo) override
Returns true if object is detected. Calls apparentSignature to determine what the object's signature ...
virtual void tick() override
Processes only if the simulation is not paused. Calls attemptToActivate() on myDetectedObjectListPort...
virtual int sensorType() const override
Returns the enumerated type of this sensor. It is based on the sensor domain string. "radar" maps to DtSenorTypeRadar. "visual" maps to DtSensorTypeVisual. "sonar" maps to DtSensorTypeSonar. "infrared" maps to DtSensorTypeInfrared. Anything else maps to DtSensorTypeUnknown.
virtual ContinueDetectingResult continueDetectingObject(DtSimObjectReference object, DtRwSensorContactInfo *contactInfo, bool &contactInfoModified) override
Same as detectObject except it is checking for objects we had previously detected. In this case the amount of time that this object has been detected by the sensor will be factored in when determining the identification level. Again returns true if the object is still detected and the contact info is updated. If there were changes in the contact info, contactInfoModified will be true.
A locally simulated VRF object.
Definition: localObject.h:98