![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSlaveConnectionLogic.h,v $ $Revision: 1.20 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00012 #pragma once 00013 #include <vrvCoreQt/vrvCoreQt.h> 00014 #include <vrvCore/DtSubjectObserver.h> 00015 00016 namespace makVrv 00017 { 00018 class DtDe; 00019 class DtSlaveConnectionInterface; 00020 00024 class DT_DLL_VRVCOREQT DtSlaveConnectionLogic : public DtDeCommunicatorObserver 00025 { 00026 00027 public: 00028 00031 static DtSlaveConnectionLogic* create(DtDe& de, DtSlaveConnectionInterface* iFace); 00032 00033 virtual ~DtSlaveConnectionLogic(); 00034 00036 virtual void setupWidget(); 00037 00039 virtual void connect(); 00040 00042 virtual void restoreDefaultPort(); 00043 00045 virtual void slot_activate(DtDeCommunicator* igComm); 00046 00048 virtual void slot_deactivate(DtDeCommunicator* igComm); 00049 00050 protected: 00051 00053 DtSlaveConnectionLogic(DtDe& de, DtSlaveConnectionInterface* rcInterface); 00054 00056 void createDefaultDisplayEngineConfiguration(const std::string& igName); 00057 00058 protected: 00059 00060 DtDe* myDe; 00061 DtSlaveConnectionInterface* myInterface; 00062 00063 }; 00064 }