![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2010 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: preferencesViewMgr.h,v $ $Revision: 1.19 $ $State: Exp $ 00007 *********************************************************************/ 00008 00009 #ifndef preferencesViewMgr_H_ 00010 #define preferencesViewMgr_H_ 00011 00014 00015 #include "rtiMsConfig.h" 00016 #include "assistantMgr.h" 00017 #include "assistantConnectionInfo.h" 00018 #include "assistantInfo.h" 00019 00020 class DtRtiAssistantServer; 00021 class DtRtiAssistantPeer; 00022 class DtAssistantConfig; 00023 class DtAssistantComponentMgr; 00024 class DtAssistantPreferencesInfoMgr; 00025 class DtAssistantTrayIconMgr; 00026 class DtAssistantConfigDialog; 00027 class DtLatencyTestConfigWidget; 00028 class DtAssistantPreferencesWidget; 00029 class DtNotificationAndLoggingConfigWidget; 00030 class DtAssistantMsgStatsDialog; 00031 class MAKRti::DtString; 00032 class DtFilename; 00033 class DtFileConsoleWidget; 00034 class DtConsoleDialog; 00035 00039 class DT_DLL_ASSISTANTAPP DtAssistantPreferencesViewMgr : public DtAssistantMgr 00040 { 00041 Q_OBJECT 00042 00043 public: 00044 00046 DtAssistantPreferencesViewMgr( DtBoost::shared_ptr<DtRtiAssistantServer> server, 00047 DtBoost::shared_ptr<DtRtiAssistantPeer> peer, 00048 DtBoost::shared_ptr<DtAssistantPreferencesInfoMgr> prefInfoMgr, 00049 DtBoost::shared_ptr<DtAssistantTrayIconMgr> trayMgr ); 00050 00052 virtual ~DtAssistantPreferencesViewMgr(); 00053 00054 private: 00055 00057 DtAssistantPreferencesViewMgr(DtAssistantPreferencesViewMgr const& ); 00058 00060 DtAssistantPreferencesViewMgr& operator= (DtAssistantPreferencesViewMgr const& ); 00061 00062 public: 00063 00065 virtual void initialize(); 00066 00070 virtual unsigned addConfigWidgetMgr( DtAssistantMgr* mgr ); 00071 00073 virtual void tick(); 00074 00076 virtual void setAssistantLogFileName( const MAKRti::DtString& ); 00077 00078 00079 public slots: 00080 00082 void showConfigDialog( int pageNum = -1 ); 00083 00085 void processConfigAccept(); 00086 00088 void showMsgStats(); 00089 00091 void showAssistantLog(); 00092 00094 void deleteAssistantLogs(); 00095 00096 protected: 00097 00099 DtBoost::shared_ptr<DtAssistantPreferencesInfoMgr> myPrefInfoMgr; 00100 00102 DtAssistantConfigDialog* myConfigDialog; 00103 00105 DtLatencyTestConfigWidget* myLatencyTestConfigWidget; 00106 00108 DtAssistantPreferencesWidget* myAssistantConfigWidget; 00109 00112 DtNotificationAndLoggingConfigWidget* myNotificationAndLoggingConfigWidget; 00113 00116 std::vector<DtAssistantMgr*> myConfigWidgetMgrs; 00117 00119 DtAssistantMsgStatsDialog* myMsgStatsDialog; 00120 00122 DtFileConsoleWidget* myAssistantConsoleWidget; 00123 00125 DtConsoleDialog* myAssistantConsoleDialog; 00126 00128 MAKRti::DtString myAssistantLogStringName; 00129 }; 00130 #endif