VR-Forces 4.1.1 Class Documentation
DtSensorConfigurationPageInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
14 #include <boost/signals.hpp>
15 
16 namespace makVrv
17 {
18  class DtSensor;
19 
23  {
24  public:
27 
29  virtual void addSensor( const std::string& sensorName ) = 0;
30 
32  virtual void setSensorModules( DtSensorManager::SensorModuleVec &modules ) = 0;
33 
35  virtual void renameInstance(const std::string& oldName, const std::string& newName) = 0;
36 
38  virtual void setSelectedSensor( DtSensor* sensor ) = 0;
39 
41  virtual void setSensors( DtSensorManager::SensorVec& sensors ) = 0;
42 
45  virtual void selectWidget( std::string moduleNameStr, DtSensor* sensor ) = 0;
46 
47  //@ \name Boost signals
49 
52  boost::signal<void ()> signal_restoreSettingsRequested;
53 
57 
62  boost::signal<void (const std::string&)> signal_importSettingsRequested;
63 
67  boost::signal<void (const std::string&)> signal_exportSettingsRequested;
68 
72  boost::signal <void (const std::string&)> signal_sensorSelected;
73 
75  boost::signal<void ()> signal_newSensorRequested;
76 
78  boost::signal
79  <void (const std::string& oldName, const std::string& newName)>
81 
85  boost::signal<void (const std::string&, const std::string&)>
88  };
89 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)