VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Attributes
makVrv::DtMasterSensorController Class Reference

Main thread controller used to create, destroy, and modify sensors. More...

Public Member Functions

 DtMasterSensorController (DtDe &de)
 CTOR.
 ~DtMasterSensorController ()
 DTOR.
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 &paramName, int val)
virtual void setParameterFloat (const std::string &paramName, float val)
virtual void setParameterBool (const std::string &paramName, bool val)
virtual void setParameterString (const std::string &paramName, const std::string &val)

Protected Attributes

DtSensorControllerAgent * myAgent
DtSensorControllermyController

Detailed Description

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.

Constructor & Destructor Documentation

makVrv::DtMasterSensorController::DtMasterSensorController ( DtDe de)

CTOR.

makVrv::DtMasterSensorController::~DtMasterSensorController ( )

DTOR.

Member Function Documentation

virtual void makVrv::DtMasterSensorController::setTargetSensor ( const std::string &  sensorName)
virtual

Select the sensor to control.

Creates the named sensor if it does not exist

virtual void makVrv::DtMasterSensorController::setParameterInt ( const std::string &  paramName,
int  val 
)
virtual
virtual void makVrv::DtMasterSensorController::setParameterFloat ( const std::string &  paramName,
float  val 
)
virtual
virtual void makVrv::DtMasterSensorController::setParameterBool ( const std::string &  paramName,
bool  val 
)
virtual
virtual void makVrv::DtMasterSensorController::setParameterString ( const std::string &  paramName,
const std::string &  val 
)
virtual
virtual void makVrv::DtMasterSensorController::setSensorModule ( const std::string &  moduleName)
virtual

Set the target sensor's sensor module.

virtual void makVrv::DtMasterSensorController::rename ( const std::string &  newName)
virtual

Rename the target sensor.

Member Data Documentation

DtSensorControllerAgent* makVrv::DtMasterSensorController::myAgent
protected
DtSensorController* makVrv::DtMasterSensorController::myController
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)