63 virtual const char*
type()
const;
101 bool& contactInfoModified)
override;
virtual int sensorType() const
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.
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
virtual bool init()
Calls createPSR(), createDetectableObjectList(), createAndInitSensorMonitor() and initSensorGeometry(...
DtSearchRescueSensorDescriptor; descriptor for the DtSearchRescueSensor component.
Definition: searchRescueSensorDescriptor.h:26
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.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 const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
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 void tick()
Overridden from base class to update myLocalSensorPosition (using localSensorPosition()) at the start...
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:95
const DtSearchRescueSensorDescriptor * mySearchDescriptor
Definition: searchRescueSensor.h:108
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
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()
Processes only if the simulation is not paused. Calls attemptToActivate() on myDetectedObjectListPort...
virtual void preFirstTickInit()
Initializes the component before it is ticked for the first time. It is called by timedTick if myFirs...
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. 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