![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtConnectionSelectorWidgetLogic.h,v $ $Revision: 1.23 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00013 00014 #pragma once 00015 00016 #include <vrvVrlQt/vrvVrlQt.h> 00017 00018 namespace makVrv 00019 { 00020 class DtDe; 00021 class DtConnectionSelectorWidgetInterface; 00022 class DtDriver; 00023 00026 class DT_DLL_VRVVRLQT DtConnectionSelectorWidgetLogic 00027 { 00028 00029 public: 00030 DtConnectionSelectorWidgetLogic(DtDe& de, DtConnectionSelectorWidgetInterface& iFace); 00031 00033 virtual ~DtConnectionSelectorWidgetLogic(); 00034 00035 protected: 00036 00038 virtual void connect(); 00039 00041 virtual void disconnect(); 00042 00044 void onDriverCreated(DtDriver& con); 00045 00047 void onDriverDestroyed(DtDriver& con); 00048 00050 void onDriverStopped(DtDriver& con); 00051 00053 void onDriverStarted(DtDriver& con); 00054 00056 virtual void initialize(); 00057 00060 virtual void onDriverSelectionListChanged(std::string& driver, bool on); 00061 00063 virtual void updateConnectionStatus(); 00064 00066 virtual void onAutoDriverChanaged(const std::string&); 00067 00068 protected: 00069 00071 void updateInterface(); 00072 00073 protected: 00074 00075 DtDe& myDe; 00076 DtConnectionSelectorWidgetInterface& myInterface; 00077 }; 00078 }