CGR Localization
 All Classes Namespaces Files Functions Variables Macros Pages
WatchFiles Class Reference

Classes

class  Watch
 

Public Member Functions

bool init ()
 
void reset ()
 
bool isInited ()
 
bool addWatch (Watch &w, const char *filename)
 
bool removeWatch (Watch &w)
 
uint32_t calcEventMask (Watch &w)
 
int getEvents ()
 
int getNumEvents ()
 
void clearEvents ()
 

Protected Attributes

std::vector< inotify_event > events
 
int inotify_fd
 
int num_watches
 

Static Protected Attributes

static const uint32_t ModEvents = IN_CLOSE_WRITE|IN_MOVE_SELF
 

Detailed Description

Definition at line 38 of file watch_files.h.


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