VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.
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 &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.

virtual makVrv::DtMasterSensorController::~DtMasterSensorController ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtMasterSensorController::copyTargetSensor ( std::string &  sensorName)
virtual
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 Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)