#include <inotify-cxx.h>
Public Member Functions | |
InotifyEvent () | |
Constructor. | |
InotifyEvent (const struct inotify_event *pEvt) | |
Constructor. | |
~InotifyEvent () | |
Destructor. | |
int32_t | GetDescriptor () const |
Returns the event watch descriptor. | |
uint32_t | GetMask () const |
Returns the event mask. | |
bool | IsType (uint32_t uType) const |
Checks for the event type. | |
uint32_t | GetCookie () const |
Returns the event cookie. | |
uint32_t | GetLength () const |
Returns the event name length. | |
const std::string & | GetName () const |
Returns the event name. | |
void | GetName (std::string &rName) const |
Extracts the event name. | |
void | GetData (struct inotify_event *pEvt) |
Returns the event raw data. | |
void | GetData (struct inotify_event &rEvt) |
Returns the event raw data. | |
void | DumpTypes (std::string &rStr) const |
Fills the string with all types contained in the event mask. |
It holds all information about inotify event and provides access to its particular values.
|
Constructor. Creates a plain event. |
|
Constructor. Creates an event based on inotify event data. For NULL pointer it works the same way as InotifyEvent().
|
|
Destructor.
|
|
Fills the string with all types contained in the event mask.
|
|
Returns the event cookie.
|
|
Returns the event raw data.
|
|
Returns the event raw data. For NULL pointer it does nothing.
|
|
Returns the event watch descriptor.
|
|
Returns the event name length.
|
|
Returns the event mask.
|
|
Extracts the event name.
|
|
Returns the event name.
|
|
Checks for the event type.
|