![]() |
VR-Forces 4.6.1 Class Documentation
|
Main thread controller used to create, destroy, and modify sensors. More...
Public Member Functions | |
| DtMasterSensorController (DtDe &de) | |
| CTOR. | |
| virtual | ~DtMasterSensorController () |
| DTOR. | |
| virtual void | copyTargetSensor (std::string &sensorName) |
| virtual void | setTargetSensor (const std::string &sensorName) |
| Select the sensor to control. | |
| virtual void | setSensorModule (const std::string &moduleName) |
| Set the target sensor's sensor module. | |
| virtual void | rename (const std::string &newName) |
| Rename the target sensor. | |
Setters to change parameters on the target sensor by name | |
| virtual void | setParameterInt (const std::string ¶mName, int val) |
| virtual void | setParameterFloat (const std::string ¶mName, float val) |
| virtual void | setParameterBool (const std::string ¶mName, bool val) |
| virtual void | setParameterString (const std::string ¶mName, const std::string &val) |
Protected Attributes | |
| DtSensorControllerAgent * | myAgent |
| DtSensorController * | myController |
Main thread controller used to create, destroy, and modify sensors.
This controller makes changes immediately on the master display engine, and forwards calls to an agent to make the same changes on remote display engines. Use this class in the main thread only, if it is necessary to have a change reflected immediately.
| makVrv::DtMasterSensorController::DtMasterSensorController | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
|
virtual |
Select the sensor to control.
Creates the named sensor if it does not exist
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set the target sensor's sensor module.
|
virtual |
Rename the target sensor.
|
protected |
|
protected |