$search
#include <fam.h>
Public Member Functions | |
virtual void | fam_event (const char *filename, unsigned int mask)=0 |
virtual | ~FamListener () |
Static Public Attributes | |
static const unsigned int | FAM_ACCESS = 0x00000001 |
static const unsigned int | FAM_ALL_EVENTS |
static const unsigned int | FAM_ATTRIB = 0x00000004 |
static const unsigned int | FAM_CLOSE = (FAM_CLOSE_WRITE | FAM_CLOSE_NOWRITE) |
static const unsigned int | FAM_CLOSE_NOWRITE = 0x00000010 |
static const unsigned int | FAM_CLOSE_WRITE = 0x00000008 |
static const unsigned int | FAM_CREATE = 0x00000100 |
static const unsigned int | FAM_DELETE = 0x00000200 |
static const unsigned int | FAM_DELETE_SELF = 0x00000400 |
static const unsigned int | FAM_DONT_FOLLOW = 0x02000000 |
static const unsigned int | FAM_IGNORED = 0x00008000 |
static const unsigned int | FAM_ISDIR = 0x40000000 |
static const unsigned int | FAM_MASK_ADD = 0x20000000 |
static const unsigned int | FAM_MODIFY = 0x00000002 |
static const unsigned int | FAM_MOVE = (FAM_MOVED_FROM | FAM_MOVED_TO) |
static const unsigned int | FAM_MOVE_SELF = 0x00000800 |
static const unsigned int | FAM_MOVED_FROM = 0x00000040 |
static const unsigned int | FAM_MOVED_TO = 0x00000080 |
static const unsigned int | FAM_ONESHOT = 0x80000000 |
static const unsigned int | FAM_ONLYDIR = 0x01000000 |
static const unsigned int | FAM_OPEN = 0x00000020 |
static const unsigned int | FAM_Q_OVERFLOW = 0x00004000 |
static const unsigned int | FAM_UNMOUNT = 0x00002000 |
File Alteration Monitor Listener. Listener called by FileAlterationMonitor for events.
Definition at line 34 of file fam.h.
fawkes::FamListener::~FamListener | ( | ) | [virtual] |
fawkes::FamListener::fam_event | ( | const char * | filename, | |
unsigned int | mask | |||
) | [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.
const unsigned int fawkes::FamListener::FAM_ACCESS = 0x00000001 [static] |
const unsigned int fawkes::FamListener::FAM_ALL_EVENTS [static] |
(FAM_ACCESS | FAM_MODIFY | FAM_ATTRIB | FAM_CLOSE_WRITE | FAM_CLOSE_NOWRITE | FAM_OPEN | FAM_MOVED_FROM | FAM_MOVED_TO | FAM_CREATE | FAM_DELETE | FAM_DELETE_SELF | FAM_MOVE_SELF)
All events which a program can wait on.
const unsigned int fawkes::FamListener::FAM_ATTRIB = 0x00000004 [static] |
const unsigned int fawkes::FamListener::FAM_CLOSE = (FAM_CLOSE_WRITE | FAM_CLOSE_NOWRITE) [static] |
const unsigned int fawkes::FamListener::FAM_CLOSE_NOWRITE = 0x00000010 [static] |
const unsigned int fawkes::FamListener::FAM_CLOSE_WRITE = 0x00000008 [static] |
const unsigned int fawkes::FamListener::FAM_CREATE = 0x00000100 [static] |
const unsigned int fawkes::FamListener::FAM_DELETE = 0x00000200 [static] |
const unsigned int fawkes::FamListener::FAM_DELETE_SELF = 0x00000400 [static] |
const unsigned int fawkes::FamListener::FAM_DONT_FOLLOW = 0x02000000 [static] |
const unsigned int fawkes::FamListener::FAM_IGNORED = 0x00008000 [static] |
const unsigned int fawkes::FamListener::FAM_ISDIR = 0x40000000 [static] |
const unsigned int fawkes::FamListener::FAM_MASK_ADD = 0x20000000 [static] |
const unsigned int fawkes::FamListener::FAM_MODIFY = 0x00000002 [static] |
const unsigned int fawkes::FamListener::FAM_MOVE = (FAM_MOVED_FROM | FAM_MOVED_TO) [static] |
const unsigned int fawkes::FamListener::FAM_MOVE_SELF = 0x00000800 [static] |
const unsigned int fawkes::FamListener::FAM_MOVED_FROM = 0x00000040 [static] |
const unsigned int fawkes::FamListener::FAM_MOVED_TO = 0x00000080 [static] |
const unsigned int fawkes::FamListener::FAM_ONESHOT = 0x80000000 [static] |
const unsigned int fawkes::FamListener::FAM_ONLYDIR = 0x01000000 [static] |
const unsigned int fawkes::FamListener::FAM_OPEN = 0x00000020 [static] |
const unsigned int fawkes::FamListener::FAM_Q_OVERFLOW = 0x00004000 [static] |
const unsigned int fawkes::FamListener::FAM_UNMOUNT = 0x00002000 [static] |