![]() |
VR-Forces Developer's Guide
|
Interface for a sensor implementation module.
A sensor module is responsible for rendering the sensor views configured in DtSensor objects onto channels. All DtSensorModule objects must be registered with the DtSensorManager, and should have a DtSensorConfigurationWidget for GUI-based configuration.

Public Member Functions | |
| virtual | ~DtSensorModule () |
| virtual std::string | name () const =0 |
| virtual std::string | displayName () const =0 |
| virtual void | enableSensor (DtSensor *sensor, DtChannel &channel)=0 |
| virtual void | disableSensor (DtSensor *sensor, DtChannel &channel)=0 |
| virtual void | defaultSensorConfiguration (makArchives::DtSensorRecord &rec)=0 |
| virtual bool | pendingObjectInitialization () const |
| virtual int | numberOfObjectsPendingInitialization () const |
|
virtual |
DTOR.
|
pure virtual |
Unique name of the sensor module.
Implemented in makVrv::DtSenSimSensorModule.
|
pure virtual |
Display name for user interface use.
Implemented in makVrv::DtSenSimSensorModule.
|
pure virtual |
Apply the sensor to the specified channel.
Implemented in makVrv::DtSenSimSensorModule.
|
pure virtual |
Stop using the sensor on the specified channel.
Implemented in makVrv::DtSenSimSensorModule.
|
pure virtual |
Fill a sensor record with defaults for this sensor module.
Implemented in makVrv::DtSenSimSensorModule.
|
virtual |
used by the SensorFX module to provide information about if the objects are initialized yet.
|
virtual |
used by the SensorFX module to provide information about the number of objects pending to be initialized.