CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
file_watcher_inotify.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_FILE_WATCHER_INOTIFY_H_
6 #define CVMFS_FILE_WATCHER_INOTIFY_H_
7 
8 #include "file_watcher.h"
9 
10 #include <map>
11 #include <string>
12 
13 namespace file_watcher {
14 
16  public:
18  virtual ~FileWatcherInotify();
19 
20  protected:
21  virtual bool RunEventLoop(const FileWatcher::HandlerMap& handler,
22  int read_pipe, int write_pipe);
23 
24  virtual int TryRegisterFilter(const std::string& file_path);
25 
26  private:
28 };
29 
30 } // namespace file_watcher
31 
32 #endif // CVMFS_FILE_WATCHER_INOTIFY_H_
virtual int TryRegisterFilter(const std::string &file_path)
std::map< std::string, EventHandler * > HandlerMap
Definition: file_watcher.h:64
virtual bool RunEventLoop(const FileWatcher::HandlerMap &handler, int read_pipe, int write_pipe)