VR-Forces 5.0.2 Developer's Guide
 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.

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.

Public Member Functions

 DtMasterSensorController (DtDe &de)
 
virtual ~DtMasterSensorController ()
 
virtual void copyTargetSensor (std::string &sensorName)
 
virtual void setTargetSensor (const std::string &sensorName)
 
virtual void setSensorModule (const std::string &moduleName)
 
virtual void rename (const std::string &newName)
 
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
 

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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)