Public Member Functions | List of all members
ihotf::CDirectoryMonitorParams Class Reference

Implementation of the IDirectoryMonitorParams interface. More...

#include <CDirectoryMonitorParams.h>

Inheritance diagram for ihotf::CDirectoryMonitorParams:
ihotf::IDirectoryMonitorParams iser::ISerializable istd::IChangeable istd::IPolymorphic ihotf::CDirectoryMonitorParamsComp

Public Member Functions

 CDirectoryMonitorParams ()
 
virtual double GetPoolingIntervall () const
 Get pooling intervall for directory changes in seconds. More...
 
virtual void SetPoolingIntervall (double poolingIntervall)
 Set pooling intervall for directory changes in seconds. More...
 
virtual int GetMinLastModificationTimeDifference () const
 Get the minimal time to wait since last modification of the file before operating with this (e.g. More...
 
virtual void SetMinLastModificationTimeDifference (int minLastModificationTimeDifference)
 Set the minimal time to wait since last modification of the file before operating with this. More...
 
virtual int GetObservedItemTypes () const
 Get the group of items to be observed. More...
 
virtual void SetObservedItemTypes (int observedItemTypes)
 Set the group of items to be observed. More...
 
virtual int GetObservedChanges () const
 Get the group of changes to be observed. More...
 
virtual void SetObservedChanges (int observedChanges)
 Set the changes to be observed. More...
 
virtual QStringList GetAcceptPatterns () const
 Get accept file filters, given as the list of regular expressions. More...
 
virtual void SetAcceptPatterns (const QStringList &acceptPatterns)
 Set the accept file filters. More...
 
virtual QStringList GetIgnorePatterns () const
 Get ignore file filters, given as the list of regular expressions. More...
 
virtual void SetIgnorePatterns (const QStringList &acceptPatterns)
 Set the ignore file filters. More...
 
virtual int GetFolderDepth () const
 Get depth of the folder monitoring. More...
 
virtual void SetFolderDepth (int folderDepth)
 Set depth of the folder monitoring. More...
 
virtual int GetFileTimeStampMode () const
 Get timestamp mode used for file detection and access check. More...
 
virtual void SetFileTimeStampMode (int fileTimeStampMode)
 Set timestamp mode used for file detection and access check. More...
 
virtual bool Serialize (iser::IArchive &archive)
 
- Public Member Functions inherited from ihotf::IDirectoryMonitorParams
 I_DECLARE_FLAGS (FileTimeStampMode, FTM_MODIFIED, FTM_CREATED)
 

Additional Inherited Members

- Public Types inherited from ihotf::IDirectoryMonitorParams
enum  ObserveItems { OI_DIR = 0x1, OI_FILES = 0x2, OI_DRIVES = 0x4, OI_ALL = OI_DIR | OI_FILES | OI_DRIVES }
 
enum  ObserveChanges {
  OC_ADD = 0x1, OC_REMOVE = 0x2, OC_MODIFIED = 0x4, OC_ATTR_CHANGED = 0x8,
  OC_ALL = OC_ADD | OC_REMOVE | OC_MODIFIED | OC_ATTR_CHANGED
}
 
enum  FileTimeStampMode { FTM_MODIFIED = 0x1, FTM_CREATED = 0x2 }
 

Detailed Description

Implementation of the IDirectoryMonitorParams interface.

Definition at line 20 of file CDirectoryMonitorParams.h.

Constructor & Destructor Documentation

ihotf::CDirectoryMonitorParams::CDirectoryMonitorParams ( )

Member Function Documentation

virtual QStringList ihotf::CDirectoryMonitorParams::GetAcceptPatterns ( ) const
virtual

Get accept file filters, given as the list of regular expressions.

Implements ihotf::IDirectoryMonitorParams.

virtual int ihotf::CDirectoryMonitorParams::GetFileTimeStampMode ( ) const
virtual

Get timestamp mode used for file detection and access check.

See Also
FileTimestampMode

Implements ihotf::IDirectoryMonitorParams.

virtual int ihotf::CDirectoryMonitorParams::GetFolderDepth ( ) const
virtual

Get depth of the folder monitoring.

This value defines the depth of the folder tree to be monitored. A negative value means no limitation, 0 - defined root folder only and any other positive number - Number of sub-folders to be traversed.

Implements ihotf::IDirectoryMonitorParams.

virtual QStringList ihotf::CDirectoryMonitorParams::GetIgnorePatterns ( ) const
virtual

Get ignore file filters, given as the list of regular expressions.

Implements ihotf::IDirectoryMonitorParams.

virtual int ihotf::CDirectoryMonitorParams::GetMinLastModificationTimeDifference ( ) const
virtual

Get the minimal time to wait since last modification of the file before operating with this (e.g.

to add the file to the list of observed files).

Implements ihotf::IDirectoryMonitorParams.

virtual int ihotf::CDirectoryMonitorParams::GetObservedChanges ( ) const
virtual

Get the group of changes to be observed.

Implements ihotf::IDirectoryMonitorParams.

virtual int ihotf::CDirectoryMonitorParams::GetObservedItemTypes ( ) const
virtual

Get the group of items to be observed.

Implements ihotf::IDirectoryMonitorParams.

virtual double ihotf::CDirectoryMonitorParams::GetPoolingIntervall ( ) const
virtual

Get pooling intervall for directory changes in seconds.

Implements ihotf::IDirectoryMonitorParams.

virtual bool ihotf::CDirectoryMonitorParams::Serialize ( iser::IArchive archive)
virtual
virtual void ihotf::CDirectoryMonitorParams::SetAcceptPatterns ( const QStringList &  acceptPatterns)
virtual

Set the accept file filters.

Only file system items, that match the specified filters will be observed.

Implements ihotf::IDirectoryMonitorParams.

virtual void ihotf::CDirectoryMonitorParams::SetFileTimeStampMode ( int  fileTimeStampMode)
virtual

Set timestamp mode used for file detection and access check.

See Also
FileTimestampMode

Implements ihotf::IDirectoryMonitorParams.

virtual void ihotf::CDirectoryMonitorParams::SetFolderDepth ( int  folderDepth)
virtual

Set depth of the folder monitoring.

See Also
GetFolderDepth

Implements ihotf::IDirectoryMonitorParams.

virtual void ihotf::CDirectoryMonitorParams::SetIgnorePatterns ( const QStringList &  acceptPatterns)
virtual

Set the ignore file filters.

The file system items, that match the specified filters will be ignored.

Implements ihotf::IDirectoryMonitorParams.

virtual void ihotf::CDirectoryMonitorParams::SetMinLastModificationTimeDifference ( int  minLastModificationTimeDifference)
virtual

Set the minimal time to wait since last modification of the file before operating with this.

Implements ihotf::IDirectoryMonitorParams.

virtual void ihotf::CDirectoryMonitorParams::SetObservedChanges ( int  observedChanges)
virtual

Set the changes to be observed.

Implements ihotf::IDirectoryMonitorParams.

virtual void ihotf::CDirectoryMonitorParams::SetObservedItemTypes ( int  observedItemTypes)
virtual

Set the group of items to be observed.

Implements ihotf::IDirectoryMonitorParams.

virtual void ihotf::CDirectoryMonitorParams::SetPoolingIntervall ( double  poolingIntervall)
virtual

Set pooling intervall for directory changes in seconds.

Implements ihotf::IDirectoryMonitorParams.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy