CDirectoryMonitorParams.h
Go to the documentation of this file.
1 #ifndef ihotf_CDirectoryMonitorParams_included
2 #define ihotf_CDirectoryMonitorParams_included
3 
4 
5 // Qt includes
6 #include <QtCore/QStringList>
7 
8 
9 // AcfSln includes
11 
12 
13 namespace ihotf
14 {
15 
16 
21 {
22 public:
24 
25  // reimüplemented (ihotf::IDirectoryMonitorParams)
26  virtual double GetPoolingIntervall() const;
27  virtual void SetPoolingIntervall(double poolingIntervall);
28  virtual int GetObservedItemTypes() const;
29  virtual void SetObservedItemTypes(int observedItemTypes);
30  virtual int GetObservedChanges() const;
31  virtual void SetObservedChanges(int ovservedChanges);
32  virtual QStringList GetAcceptPatterns() const;
33  virtual void SetAcceptPatterns(const QStringList& acceptPatterns);
34  virtual QStringList GetIgnorePatterns() const;
35  virtual void SetIgnorePatterns(const QStringList& acceptPatterns);
36 
37  // reimplemented (iser::ISerializable)
38  virtual bool Serialize(iser::IArchive& archive);
39 
40 private:
41  double m_poolingIntervall;
42  int m_observedItemTypes;
43  int m_observedChanges;
44 
45  QStringList m_acceptPatterns;
46  QStringList m_ignorePatterns;
47 };
48 
49 
50 } // namespace ihotf
51 
52 
53 #endif // !ihotf_CDirectoryMonitorParams_included
54 
55 
virtual double GetPoolingIntervall() const
Get pooling intervall for directory changes in seconds.
virtual QStringList GetAcceptPatterns() const
Get accept file filters, given as the list of regular expressions.
Interface for a folder monitor parameters.
virtual int GetObservedChanges() const
Get the group of changes to be observed.
virtual void SetPoolingIntervall(double poolingIntervall)
Set pooling intervall for directory changes in seconds.
virtual bool Serialize(iser::IArchive &archive)
virtual QStringList GetIgnorePatterns() const
Get ignore file filters, given as the list of regular expressions.
virtual void SetObservedItemTypes(int observedItemTypes)
Set the group of items to be observed.
virtual int GetObservedItemTypes() const
Get the group of items to be observed.
virtual void SetAcceptPatterns(const QStringList &acceptPatterns)
Set the accept file filters.
virtual void SetObservedChanges(int ovservedChanges)
Set the changes to be observed.
Implementation of the IDirectoryMonitorParams interface.
virtual void SetIgnorePatterns(const QStringList &acceptPatterns)
Set the ignore file filters.

© 2007-2011 Witold Gantzke and Kirill Lepskiy