Public Types | Signals | Public Member Functions | Protected Member Functions | List of all members
ihotfgui::CDirectoryMonitorComp Class Reference

Component for monitoring of the file folder. More...

#include <CDirectoryMonitorComp.h>

Inheritance diagram for ihotfgui::CDirectoryMonitorComp:
ilog::TLoggerCompWrap< Base > ihotf::IDirectoryMonitor ilog::CLoggerBase istd::IPolymorphic ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

enum  ProcessingFlags { PF_MANUAL_FOLDER_OBSERVATION = 1 }
typedef ilog::CLoggerComponentBase BaseClass
typedef QThread BaseClass2


void FolderChanged (const istd::IChangeable::ChangeSet &changeSet)
 Signal is emitted from observing thread to notifiy the main thread about changes in a directory. More...

Public Member Functions

 CDirectoryMonitorComp ()
virtual bool IsRunning () const
 Checks if the folder monitoring is active. More...
virtual bool StartObserving (const iprm::IParamsSet *paramsSetPtr=NULL)
 Start observing process. More...
virtual void StopObserving ()
 Stop observing process. More...
- Public Member Functions inherited from ilog::ILoggable
virtual void SetLogPtr (IMessageConsumer *logPtr)=0
virtual IMessageConsumerGetLogPtr () const =0
virtual void SetTracingEnabled (bool trace)=0
virtual bool IsTracingEnabled () const =0

Protected Member Functions

virtual void OnComponentCreated ()
virtual void OnComponentDestroyed ()
virtual void run ()
- Protected Member Functions inherited from ilog::CLoggerBase
virtual void DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const

Detailed Description

Component for monitoring of the file folder.

Definition at line 34 of file CDirectoryMonitorComp.h.

Member Typedef Documentation

Definition at line 42 of file CDirectoryMonitorComp.h.

Definition at line 43 of file CDirectoryMonitorComp.h.

Member Enumeration Documentation


For the case that, the number of file descriptors was running out the manual folder observation will be activated.

Definition at line 45 of file CDirectoryMonitorComp.h.

Constructor & Destructor Documentation

ihotfgui::CDirectoryMonitorComp::CDirectoryMonitorComp ( )

Member Function Documentation

void ihotfgui::CDirectoryMonitorComp::FolderChanged ( const istd::IChangeable::ChangeSet changeSet)

Signal is emitted from observing thread to notifiy the main thread about changes in a directory.

virtual bool ihotfgui::CDirectoryMonitorComp::IsRunning ( ) const

Checks if the folder monitoring is active.

Implements ihotf::IDirectoryMonitor.

virtual void ihotfgui::CDirectoryMonitorComp::OnComponentCreated ( )
virtual void ihotfgui::CDirectoryMonitorComp::OnComponentDestroyed ( )
virtual void ihotfgui::CDirectoryMonitorComp::run ( )
virtual bool ihotfgui::CDirectoryMonitorComp::StartObserving ( const iprm::IParamsSet paramsSetPtr = NULL)

Start observing process.

If the paramsSetPtr is not equal NULL, the observing parameter are get from this params set, otherwise, default parameters are using.

Implements ihotf::IDirectoryMonitor.

virtual void ihotfgui::CDirectoryMonitorComp::StopObserving ( )

Stop observing process.

Implements ihotf::IDirectoryMonitor.

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy