VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtConnectionListInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtConnectionListInterface_H_
11 #define DtConnectionListInterface_H_
12 
13 #include <vrvVrlQt/vrvVrlQt.h>
14 #include <vrvUtil/signalslib.h>
15 
16 namespace makVrv
17 {
21  {
22  public:
23 
25 
26  virtual ~DtConnectionListInterface();
27 
29  {
30  Stopped = 0,
31  Started = 1,
32  Unavailable = 2
33  };
34 
35 
37  virtual void addDriver(const std::string& driverName,
39  virtual void removeDriver(const std::string& driverName) = 0;
40 
41  virtual void setCurrentDriver(const std::string& name) = 0;
42  virtual void setCurrentDriverState(DriverState state) = 0;
43 
44  virtual void setDriverState(const std::string& driverName,
45  DriverState state) = 0;
46  virtual void setAutoConnectDriver(const std::string& driverName) = 0;
47 
48 
49 
50  boost::signalslib::signal<void (const std::string&)> signal_currentDriverChanged;
51  boost::signalslib::signal<void ()> signal_connectCurrentDriver;
52  boost::signalslib::signal<void ()> signal_setCurrentAsAutoDriver;
53  boost::signalslib::signal<void (const std::string&)> signal_setDriverAsAutoDriver;
54 
55  };
56 }
57 
58 #endif
59 
boost::signalslib::signal< void(const std::string &)> signal_currentDriverChanged
Definition: DtConnectionListInterface.h:50
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
Contains DLL export macros.
DriverState
Definition: DtConnectionListInterface.h:28
boost::signalslib::signal< void()> signal_connectCurrentDriver
Definition: DtConnectionListInterface.h:51
boost::signalslib::signal< void(const std::string &)> signal_setDriverAsAutoDriver
Definition: DtConnectionListInterface.h:53
boost::signalslib::signal< void()> signal_setCurrentAsAutoDriver
Definition: DtConnectionListInterface.h:52
The interface to the connection list.
Definition: DtConnectionListInterface.h:20

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)