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 Member Functions | Protected Attributes
makVrv::DtSenSimConfigurationWidgetLogic Class Reference

Logic for SenSim configuration widget. More...

Public Member Functions

 DtSenSimConfigurationWidgetLogic (DtDe &de, DtSenSimConfigurationWidgetInterface &widget, DtSensor &sensor)
 CTOR.
virtual ~DtSenSimConfigurationWidgetLogic ()
 DTOR.

Protected Member Functions

virtual
DtSenSimConfigurationWidgetInterface::SensorMode 
flagsToMode (bool irEnabled, bool fullColorEnabled, bool isMonochromeMode)
 Get the appropriate mode for the GUI based on IR/NVG and Full Color settings from the sensor isMonochromeMode is the same as IR on FullColor off.
virtual void setInt (const std::string &paramName, int val)
 Utility to set an integer parameter on the current sensor.
virtual void setFloat (const std::string &paramName, float val)
 Utility to set a float parameter on the current sensor.
virtual void setBool (const std::string &paramName, bool val)
 Utility to set a boolean parameter on the current sensor.
virtual void setMode (DtSenSimConfigurationWidgetInterface::SensorMode mode)
 Set the sensor mode on the current sensor.
virtual void slot_attributeChangedFloat (const std::string &paramName, float val)
 Slot called when a float attribute changes on the sensor.
virtual void slot_attributeChangedBool (const std::string &paramName, bool val)
 Slot called when a boolean attribute changes on the sensor.

Protected Attributes

DtSensormySensor
DtSenSimConfigurationWidgetInterfacemyWidget
DtDemyDe
DtSignalConnectionManager mySignals

Detailed Description

Logic for SenSim configuration widget.

Constructor & Destructor Documentation

makVrv::DtSenSimConfigurationWidgetLogic::DtSenSimConfigurationWidgetLogic ( DtDe de,
DtSenSimConfigurationWidgetInterface widget,
DtSensor sensor 
)

CTOR.

virtual makVrv::DtSenSimConfigurationWidgetLogic::~DtSenSimConfigurationWidgetLogic ( )
virtual

DTOR.

Member Function Documentation

virtual DtSenSimConfigurationWidgetInterface::SensorMode makVrv::DtSenSimConfigurationWidgetLogic::flagsToMode ( bool  irEnabled,
bool  fullColorEnabled,
bool  isMonochromeMode 
)
protectedvirtual

Get the appropriate mode for the GUI based on IR/NVG and Full Color settings from the sensor isMonochromeMode is the same as IR on FullColor off.

It is mainly so there is an extra mode in the GUI.

virtual void makVrv::DtSenSimConfigurationWidgetLogic::setInt ( const std::string &  paramName,
int  val 
)
protectedvirtual

Utility to set an integer parameter on the current sensor.

virtual void makVrv::DtSenSimConfigurationWidgetLogic::setFloat ( const std::string &  paramName,
float  val 
)
protectedvirtual

Utility to set a float parameter on the current sensor.

virtual void makVrv::DtSenSimConfigurationWidgetLogic::setBool ( const std::string &  paramName,
bool  val 
)
protectedvirtual

Utility to set a boolean parameter on the current sensor.

virtual void makVrv::DtSenSimConfigurationWidgetLogic::setMode ( DtSenSimConfigurationWidgetInterface::SensorMode  mode)
protectedvirtual

Set the sensor mode on the current sensor.

virtual void makVrv::DtSenSimConfigurationWidgetLogic::slot_attributeChangedFloat ( const std::string &  paramName,
float  val 
)
protectedvirtual

Slot called when a float attribute changes on the sensor.

virtual void makVrv::DtSenSimConfigurationWidgetLogic::slot_attributeChangedBool ( const std::string &  paramName,
bool  val 
)
protectedvirtual

Slot called when a boolean attribute changes on the sensor.

Member Data Documentation

DtSensor& makVrv::DtSenSimConfigurationWidgetLogic::mySensor
protected
DtSenSimConfigurationWidgetInterface& makVrv::DtSenSimConfigurationWidgetLogic::myWidget
protected
DtDe& makVrv::DtSenSimConfigurationWidgetLogic::myDe
protected
DtSignalConnectionManager makVrv::DtSenSimConfigurationWidgetLogic::mySignals
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)