Public Types | Public Member Functions | List of all members
ihotf::IMonitoringSession Class Referenceabstract

Common interface for a monitoring session for a directory. More...

#include <IMonitoringSession.h>

Inheritance diagram for ihotf::IMonitoringSession:
iser::ISerializable istd::IChangeable istd::IPolymorphic ihotf::CMonitoringSession

Public Types

typedef QMap< QString, QDateTime > FileItems
 Map absolute file path to modification time. More...
 

Public Member Functions

virtual const FileItemsGetFileInfoList () const =0
 Get the list of file items. More...
 
virtual void SetFileInfoList (const FileItems &fileList)=0
 Set the file list. More...
 
virtual void RemoveFile (const QString &filePath)=0
 Remove file item from the session. More...
 

Detailed Description

Common interface for a monitoring session for a directory.

Each directory monitor can persist its monitoring state in a monitoring session, which is provided by IMonitoringSessionManager.

See Also
IMonitoringSessionManager

Definition at line 25 of file IMonitoringSession.h.

Member Typedef Documentation

typedef QMap<QString, QDateTime> ihotf::IMonitoringSession::FileItems

Map absolute file path to modification time.

Definition at line 31 of file IMonitoringSession.h.

Member Function Documentation

virtual const FileItems& ihotf::IMonitoringSession::GetFileInfoList ( ) const
pure virtual

Get the list of file items.

Implemented in ihotf::CMonitoringSession.

virtual void ihotf::IMonitoringSession::RemoveFile ( const QString &  filePath)
pure virtual

Remove file item from the session.

Implemented in ihotf::CMonitoringSession.

virtual void ihotf::IMonitoringSession::SetFileInfoList ( const FileItems fileList)
pure virtual

Set the file list.

Implemented in ihotf::CMonitoringSession.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy