|
Fawkes API
Fawkes Development Version
|
File Alteration Monitor Listener. More...
#include <>>

Public Member Functions | |
| virtual | ~FamListener () |
| Virtual empty destructor. More... | |
| virtual void | fam_event (const char *filename, unsigned int mask)=0 |
| Event has been raised. More... | |
Static Public Attributes | |
| static const unsigned int | FAM_ACCESS = 0x00000001 |
| File was accessed. More... | |
| static const unsigned int | FAM_MODIFY = 0x00000002 |
| File was modified. More... | |
| static const unsigned int | FAM_ATTRIB = 0x00000004 |
| Metadata changed. More... | |
| static const unsigned int | FAM_CLOSE_WRITE = 0x00000008 |
| Writtable file was closed. More... | |
| static const unsigned int | FAM_CLOSE_NOWRITE = 0x00000010 |
| Unwrittable file closed. More... | |
| static const unsigned int | FAM_CLOSE = (FAM_CLOSE_WRITE | FAM_CLOSE_NOWRITE) |
| Close. More... | |
| static const unsigned int | FAM_OPEN = 0x00000020 |
| File was opened. More... | |
| static const unsigned int | FAM_MOVED_FROM = 0x00000040 |
| File was moved from X. More... | |
| static const unsigned int | FAM_MOVED_TO = 0x00000080 |
| File was moved to Y. More... | |
| static const unsigned int | FAM_MOVE = (FAM_MOVED_FROM | FAM_MOVED_TO) |
| Moves. More... | |
| static const unsigned int | FAM_CREATE = 0x00000100 |
| Subfile was created. More... | |
| static const unsigned int | FAM_DELETE = 0x00000200 |
| Subfile was deleted. More... | |
| static const unsigned int | FAM_DELETE_SELF = 0x00000400 |
| Self was deleted. More... | |
| static const unsigned int | FAM_MOVE_SELF = 0x00000800 |
| Self was moved. More... | |
| static const unsigned int | FAM_UNMOUNT = 0x00002000 |
| Backing fs was unmounted. More... | |
| static const unsigned int | FAM_Q_OVERFLOW = 0x00004000 |
| Event queued overflowed. More... | |
| static const unsigned int | FAM_IGNORED = 0x00008000 |
| File was ignored. More... | |
| static const unsigned int | FAM_ONLYDIR = 0x01000000 |
| Only watch the path if it is a directory. More... | |
| static const unsigned int | FAM_DONT_FOLLOW = 0x02000000 |
| Do not follow a sym link. More... | |
| static const unsigned int | FAM_MASK_ADD = 0x20000000 |
| Add to the mask of an already existing watch. More... | |
| static const unsigned int | FAM_ISDIR = 0x40000000 |
| Event occurred against dir. More... | |
| static const unsigned int | FAM_ONESHOT = 0x80000000 |
| Only send event once. More... | |
| static const unsigned int | FAM_ALL_EVENTS |
| All events which a program can wait on. More... | |
File Alteration Monitor Listener.
Listener called by FileAlterationMonitor for events.
|
virtual |
|
pure virtual |
Event has been raised.
| filename | name of the file that triggered the event |
| mask | mask indicating the event. Currently inotify event flags are used, see inotify.h. |
Implemented in fawkes::LuaContext, fawkes::PluginManager, and LuaAgentContinuousExecutionThread.
|
static |
|
static |
All events which a program can wait on.
|
static |
|
static |
|
static |
|
static |
|
static |
Subfile was created.
Definition at line 50 of file fam.h.
Referenced by fawkes::PluginManager::fam_event().
|
static |
Subfile was deleted.
Definition at line 51 of file fam.h.
Referenced by fawkes::PluginManager::fam_event().
|
static |
|
static |
|
static |
|
static |
Event occurred against dir.
Definition at line 62 of file fam.h.
Referenced by fawkes::PluginManager::fam_event().
|
static |
|
static |
File was modified.
Definition at line 41 of file fam.h.
Referenced by fawkes::PluginManager::fam_event().
|
static |
|
static |
|
static |
File was moved from X.
Definition at line 47 of file fam.h.
Referenced by fawkes::PluginManager::fam_event().
|
static |
File was moved to Y.
Definition at line 48 of file fam.h.
Referenced by fawkes::PluginManager::fam_event().
|
static |
|
static |
|
static |
|
static |
|
static |