16 #include "boost/optional.hpp"
48 virtual bool init()
override;
52 virtual const char*
type()
const override;
58 virtual void tick()
override;
79 bool& contactInfoModified)
override;
82 virtual int detectionLevel(
const DtSimObject*
object);
85 virtual void updateNbcSensorContactInfo(
const DtSimObject*
object,
DtNbcSensorDescriptor; descriptor for the DtNbcSensor component.
Definition: nbcSensorDescriptor.h:20
Definition: nbcSensor.h:23
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtNbcSensorDescriptor * myDescriptor
Definition: nbcSensor.h:90
virtual ContinueDetectingResult continueDetectingObject(DtSimObjectReference object, DtRwSensorContactInfo *contactInfo, bool &contactInfoModified)
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
boost::optional< double > myFootprintProp
This gets cached in the tick function so it doesn't need to be looked up every time detectionLevel is...
Definition: nbcSensor.h:94
virtual int sensorType() const
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition: readerWriterRegistry.h:39
const DtObjectSensor & operator=(const DtObjectSensor &orig)
assignment operator; not implemented
DtObjectSensor is a base level sensor component.
Definition: objectSensor.h:53
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
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:80
virtual bool detectObject(DtSimObjectReference object, DtRwSensorContactInfo *contactInfo)
virtual bool init() override
Calls createPSR(), createDetectableObjectList(), createAndInitSensorMonitor() and initSensorGeometry(...
virtual void tick() override
Processes only if the simulation is not paused. Calls attemptToActivate() on myDetectedObjectListPort...
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
A locally simulated VRF object.
Definition: localObject.h:98