VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtConnectionSelectorWidgetInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtConnectionSelectorWidgetInterface.h,v $ $Revision: 1.14 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvUtil/signalslib.h>
16 #include <vrvVrlQt/vrvVrlQt.h>
17 
18 namespace makVrv
19 {
22  {
23  public:
24 
27 
29  virtual void setConnect(bool) = 0;
30 
32  virtual void addDriver(const std::string& name, bool connected, bool onDriverSelectionList) = 0;
33 
35  virtual void removeDriver(const std::string& name)= 0;
36 
38  virtual void setDriverConnected(const std::string& name, bool connected) = 0;
39 
41  virtual void setConnected(bool) = 0;
42 
44  virtual void setDriverOnSelectionList(const std::string& name, bool) = 0;
45 
47  virtual void setCanConnect(bool) = 0;
48 
50  virtual bool isConnected() const = 0;
51 
52  public:
53  boost::signal<void ()> signal_connect;
54  boost::signal<void ()> signal_disconnect;
55  boost::signal<void (std::string, bool)> signal_driverOnSelectionListChanged;
56  };
57 }

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)