VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtSensorController Class Reference

Controller used to set parameters on a sensor. More...

Inheritance diagram for makVrv::DtSensorController:
Inheritance graph
[legend]

Public Member Functions

 DtSensorController (DtDe &de, DtUniqueID id)
 CTOR.
 ~DtSensorController ()
 DTOR.
virtual void copyTargetSensor (std::string &sensorName)
 copy this sensorControllers targeted sensor. Creates a new DtSensor and passes back the new name in 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)
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Protected Attributes

DtSensormyTargetSensor
DtDemyDe
DtUniqueID myUniqueId

Detailed Description

Controller used to set parameters on a sensor.

Constructor & Destructor Documentation

makVrv::DtSensorController::DtSensorController ( DtDe de,
DtUniqueID  id 
)

CTOR.

makVrv::DtSensorController::~DtSensorController ( )

DTOR.

Member Function Documentation

virtual void makVrv::DtSensorController::copyTargetSensor ( std::string &  sensorName)
virtual

copy this sensorControllers targeted sensor. Creates a new DtSensor and passes back the new name in sensorName

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

Select the sensor to control.

Creates the named sensor if it does not exist

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

Set the target sensor's sensor module.

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

Rename the target sensor.

Member Data Documentation

DtSensor* makVrv::DtSensorController::myTargetSensor
protected
DtDe& makVrv::DtSensorController::myDe
protected
DtUniqueID makVrv::DtSensorController::myUniqueId
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)