![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtConnectionSelectorWidgetInterface.h,v $ $Revision: 1.14 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvUtil/signalslib.h> 00016 #include <vrvVrlQt/vrvVrlQt.h> 00017 00018 namespace makVrv 00019 { 00021 class DT_DLL_VRVVRLQT DtConnectionSelectorWidgetInterface 00022 { 00023 public: 00024 00026 virtual ~DtConnectionSelectorWidgetInterface(); 00027 00029 virtual void setConnect(bool) = 0; 00030 00032 virtual void addDriver(const std::string& name, bool connected, bool onDriverSelectionList) = 0; 00033 00035 virtual void removeDriver(const std::string& name)= 0; 00036 00038 virtual void setDriverConnected(const std::string& name, bool connected) = 0; 00039 00041 virtual void setConnected(bool) = 0; 00042 00044 virtual void setDriverOnSelectionList(const std::string& name, bool) = 0; 00045 00047 virtual void setCanConnect(bool) = 0; 00048 00050 virtual bool isConnected() const = 0; 00051 00052 public: 00053 boost::signal<void ()> signal_connect; 00054 boost::signal<void ()> signal_disconnect; 00055 boost::signal<void (std::string, bool)> signal_driverOnSelectionListChanged; 00056 }; 00057 }