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

Interface for a GUI to manage and configure sensors. More...

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

Public Member Functions

virtual ~DtSensorConfigurationPageInterface ()
 DTOR.
virtual void addSensor (const std::string &sensorName)=0
 Add a sensor to the GUI.
virtual void setSensorModules (DtSensorManager::SensorModuleVec &modules)=0
 Set the list of sensor modules available in the GUI.
virtual void renameInstance (const std::string &oldName, const std::string &newName)=0
 Rename a sensor instance in the GUI.
virtual void setSelectedSensor (DtSensor *sensor)=0
 Call to change the current sensor this page is editing.
virtual void setSensors (DtSensorManager::SensorVec &sensors)=0
 Set the list of available sensors in the GUI.
virtual void selectWidget (const std::string &moduleNameStr, DtSensor *sensor)=0
 Select and start using the appropriate widget for the specified sensor and sensor module.

Public Attributes

boost::signal< void()> signal_restoreSettingsRequested
 Emitted when the GUI requests that the current sensor settings be restored from startup defaults.
boost::signal< void()> signal_restoreFactorySettingsRequested
 Emitted when the GUI requests that the current sensor settings be restored from factory defaults.
boost::signal< void(const
std::string &)> 
signal_importSettingsRequested
 Emitted when the GUI requests import from a file into the current sensor settings.
boost::signal< void(const
std::string &)> 
signal_exportSettingsRequested
 Emitted when the GUI requests export of the current sensor settings.
boost::signal< void(const
std::string &)> 
signal_sensorSelected
 Emitted when the current sensor changes in the GUI.
boost::signal< void()> signal_newSensorRequested
 Emitted when the GUI requests the creation of a new sensor.
boost::signal< void(const
std::string &oldName, const
std::string &newName)> 
signal_renameSensorRequested
 Emitted when the GUI requests that a sensor be renamed.
boost::signal< void(const
std::string &, const
std::string &)> 
signal_sensorModuleSelected
 Emitted when the sensor module for a sensor is changed.

Detailed Description

Interface for a GUI to manage and configure sensors.

Constructor & Destructor Documentation

virtual makVrv::DtSensorConfigurationPageInterface::~DtSensorConfigurationPageInterface ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtSensorConfigurationPageInterface::addSensor ( const std::string &  sensorName)
pure virtual

Add a sensor to the GUI.

Implemented in makVrv::DtSensorConfigurationPage.

virtual void makVrv::DtSensorConfigurationPageInterface::setSensorModules ( DtSensorManager::SensorModuleVec modules)
pure virtual

Set the list of sensor modules available in the GUI.

Implemented in makVrv::DtSensorConfigurationPage.

virtual void makVrv::DtSensorConfigurationPageInterface::renameInstance ( const std::string &  oldName,
const std::string &  newName 
)
pure virtual

Rename a sensor instance in the GUI.

Implemented in makVrv::DtSensorConfigurationPage.

virtual void makVrv::DtSensorConfigurationPageInterface::setSelectedSensor ( DtSensor sensor)
pure virtual

Call to change the current sensor this page is editing.

Implemented in makVrv::DtSensorConfigurationPage.

virtual void makVrv::DtSensorConfigurationPageInterface::setSensors ( DtSensorManager::SensorVec sensors)
pure virtual

Set the list of available sensors in the GUI.

Implemented in makVrv::DtSensorConfigurationPage.

virtual void makVrv::DtSensorConfigurationPageInterface::selectWidget ( const std::string &  moduleNameStr,
DtSensor sensor 
)
pure virtual

Select and start using the appropriate widget for the specified sensor and sensor module.

Implemented in makVrv::DtSensorConfigurationPage.

Member Data Documentation

boost::signal<void ()> makVrv::DtSensorConfigurationPageInterface::signal_restoreSettingsRequested

Emitted when the GUI requests that the current sensor settings be restored from startup defaults.

boost::signal<void()> makVrv::DtSensorConfigurationPageInterface::signal_restoreFactorySettingsRequested

Emitted when the GUI requests that the current sensor settings be restored from factory defaults.

boost::signal<void (const std::string&)> makVrv::DtSensorConfigurationPageInterface::signal_importSettingsRequested

Emitted when the GUI requests import from a file into the current sensor settings.

Argument is path to import settings from

boost::signal<void (const std::string&)> makVrv::DtSensorConfigurationPageInterface::signal_exportSettingsRequested

Emitted when the GUI requests export of the current sensor settings.

Argument is path to export settings to

boost::signal<void (const std::string&)> makVrv::DtSensorConfigurationPageInterface::signal_sensorSelected

Emitted when the current sensor changes in the GUI.

Argument is the name of the selected sensor

boost::signal<void ()> makVrv::DtSensorConfigurationPageInterface::signal_newSensorRequested

Emitted when the GUI requests the creation of a new sensor.

boost::signal<void (const std::string& oldName, const std::string& newName)> makVrv::DtSensorConfigurationPageInterface::signal_renameSensorRequested

Emitted when the GUI requests that a sensor be renamed.

boost::signal<void (const std::string&, const std::string&)> makVrv::DtSensorConfigurationPageInterface::signal_sensorModuleSelected

Emitted when the sensor module for a sensor is changed.

Arguments are sensor module name and sensor name


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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)