ewmscp
..
|
wrapper for inotify_event with nicer interface. More...
Public Member Functions | |
inotify_event_wrapper ()=delete | |
~inotify_event_wrapper ()=delete | |
int | wd () const |
uint32_t | mask () const |
uint32_t | cookie () const |
uint32_t | len () const |
const char * | name () const |
const inotify_event_wrapper * | next () const |
size_t | size () const |
Static Public Member Functions | |
static const inotify_event_wrapper * | fromChar (char *pointer) |
Private Attributes | |
inotify_event | data |
Friends | |
std::ostream & | operator<< (std::ostream &out, const inotify_event_wrapper &aEvent) |
wrapper for inotify_event with nicer interface.
The wrapper is used to provide functions to hide the pointer arithmetics needed to go from a generic buffer to individual events and to go to the next one. Also allows nice << style IO. The original struct is a member and NOT inherited from because that does not properly work due to the variable size name member of the struct. The wrapper has per design exactly the same layout as the struct, that must not be changed!
Definition at line 132 of file inotify_watch.cpp.
|
delete |
|
delete |
|
inline |
Definition at line 143 of file inotify_watch.cpp.
References data.
Referenced by inotify_event_copy::forget(), and inotify_event_copy::getPartner().
|
inlinestatic |
Definition at line 158 of file inotify_watch.cpp.
Referenced by main().
|
inline |
|
inline |
Definition at line 140 of file inotify_watch.cpp.
References data.
|
inline |
Definition at line 149 of file inotify_watch.cpp.
References data.
Referenced by main().
|
inline |
|
inline |
Definition at line 155 of file inotify_watch.cpp.
References len().
|
inline |
Definition at line 137 of file inotify_watch.cpp.
References data.
Referenced by main().
|
friend |
Definition at line 161 of file inotify_watch.cpp.
|
private |