CMonitoringSessionsManager.h
Go to the documentation of this file.
1  #ifndef ihotf_CMonitoringSessionsManager_included
2 #define ihotf_CMonitoringSessionsManager_included
3 
4 
5 // Qt includes
6 #include <QtCore/QMap>
7 
8 // ACF includes
9 #include "istd/TDelPtr.h"
10 
11 // AcfSln includes
14 
15 
16 namespace ihotf
17 {
18 
19 
21  virtual public iser::ISerializable,
23 {
24 public:
25  // reimplemented (ihotf::IMonitoringSessionManager)
26  virtual void ResetSessions();
27  virtual ihotf::IMonitoringSession* GetSession(const QString& directoryPath) const;
28 
29  // reimplemented (iser::ISerializable)
30  virtual bool Serialize(iser::IArchive& archive);
31 
32 private:
33  typedef QMap<QString, istd::TDelPtr<ihotf::CMonitoringSession> > MonitoringSessionsMap;
34  mutable MonitoringSessionsMap m_monitorSessionsMap;
35 };
36 
37 
38 } // namespace ihotf
39 
40 
41 #endif // !ihotf_CMonitoringSessionsManager_included
42 
43 
Common interface for a monitoring session's manager.
virtual ihotf::IMonitoringSession * GetSession(const QString &directoryPath) const
Get monitoring session for the given monitor and directory path.
Common interface for a monitoring session for a directory.
virtual bool Serialize(iser::IArchive &archive)
virtual void ResetSessions()
Clear all session data.

© 2007-2011 Witold Gantzke and Kirill Lepskiy