VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtConnectionListInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtConnectionListInterface.h,v $ $Revision: 1.9 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtConnectionListInterface_H_
14 #define DtConnectionListInterface_H_
15 
16 #include <vrvVrlQt/vrvVrlQt.h>
17 #include <boost/signal.hpp>
18 
19 namespace makVrv
20 {
24  {
25  public:
26 
28 
29  virtual ~DtConnectionListInterface();
30 
32  {
33  Stopped = 0,
34  Started = 1,
35  Unavailable = 2
36  };
37 
38 
40  virtual void addDriver(const std::string& driverName,
42  virtual void removeDriver(const std::string& driverName) = 0;
43 
44  virtual void setCurrentDriver(const std::string& name) = 0;
45  virtual void setCurrentDriverState(DriverState state) = 0;
46 
47  virtual void setDriverState(const std::string& driverName,
48  DriverState state) = 0;
49  virtual void setAutoConnectDriver(const std::string& driverName) = 0;
50 
51 
52 
53  boost::signal<void (const std::string&)> signal_currentDriverChanged;
54  boost::signal<void ()> signal_connectCurrentDriver;
55  boost::signal<void ()> signal_setCurrentAsAutoDriver;
56  boost::signal<void (const std::string&)> signal_setDriverAsAutoDriver;
57 
58  };
59 }
60 
61 #endif
62 

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)