MAK RTIspy API Documentation for HLA 1516
logFileMgr.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef logFileMgr_H_
7 #define logFileMgr_H_
8 
11 
12 #include "rtiMsConfig.h"
13 #include "assistantMgr.h"
14 #include "rtiAssistantClient.h"
15 #include <qicon.h>
16 #include <qsystemtrayicon.h>
17 #include <vlutil/vlSmartPointers.h>
18 #include <vlutil/vlPrint.h>
19 #include <map>
20 
22 class DtRtiAssistantPeer;
23 class DtConsoleDialog;
29 
34 {
35  Q_OBJECT
36 
37 public:
38 
40  DtAssistantLogFileMgr( DtBoost::shared_ptr<DtRtiAssistantServer> server,
41  DtBoost::shared_ptr<DtRtiAssistantPeer> peer,
42  DtAssistantSignalRouter& signalRouter,
43  DtBoost::shared_ptr<DtAssistantComponentMgr> compMgr );
44 
46  virtual ~DtAssistantLogFileMgr();
47 
48 private:
49 
52 
55 
56 protected:
57 
59  void enableComponentLog( int id, const MAKRti::DtString& compName,
60  const MAKRti::DtString& logName, MAKRti::DtNotifyLevelType level );
61 
63  void disableComponentLog( int id );
64 
65 public slots:
66 
68  void removeComponent( const DtAssistantComponentInfo* compInfo );
69 
71  void renameComponent( const DtAssistantComponentInfo* compInfo );
72 
74  void processComponentUpdate( const DtAssistantComponentInfo* compInfo );
75 
77  void sendComponentUpdateNotifyLevel( int id, MAKRti::DtNotifyLevelType level );
78 
81  void setLogUpdateInterval( unsigned int interval );
82 
84  void showComponentConsole( int id );
85 
86 protected:
87 
88  typedef std::map< int, DtConsoleDialog*> DtIdToFileConsoleMap;
89 
91  DtBoost::shared_ptr<DtAssistantComponentMgr> myCompMgr;
92 
95 
98  std::set< int > myViewLogCompIds;
99 
101  unsigned int myLogUpdateInterval;
102 
105 
106 };
107 
108 #endif
109 

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)