#include <FileEventWatcher.hpp>


Public Member Functions | |
| FileWatchee () | |
| Default Constructor. | |
| FileWatchee (std::string fileName, FileWatchType watchType, short events, int fileDescriptor, int watchDescriptor, std::string deviceName, int deviceIDBusType, int deviceIDVendor, int deviceIDProduct, int deviceIDVersion) | |
| Init Constructor. | |
| virtual | ~FileWatchee () |
| Destructor. | |
Public Attributes | |
| FileDeviceType | DeviceType |
| Type of the device. | |
| short | Events |
| Raw event flag bitmask. | |
| int | fd |
| File Descriptor of the opened file (poll). | |
| FileWatchType | WatchType |
| Method to watch the file with. | |
| int | wd |
| Watch descriptor of the device (inotify). | |
Definition at line 132 of file FileEventWatcher.hpp.
| FileWatchee::FileWatchee | ( | ) |
Default Constructor.
FileWatchee Default Constructor.
Definition at line 165 of file FileEventWatcher.cpp.
References Events, fd, H::WATCH_IN, and WatchType.
| FileWatchee::FileWatchee | ( | std::string | fileName, | |
| FileWatchType | watchType, | |||
| short | events, | |||
| int | fileDescriptor, | |||
| int | watchDescriptor, | |||
| std::string | deviceName, | |||
| int | deviceIDBusType, | |||
| int | deviceIDVendor, | |||
| int | deviceIDProduct, | |||
| int | deviceIDVersion | |||
| ) |
Init Constructor.
FileWatchee Init Constructor.
Definition at line 174 of file FileEventWatcher.cpp.
References DeviceType, Events, fd, H::WATCH_INOTIFY, H::WATCH_POLL, WatchType, and wd.
| FileWatchee::~FileWatchee | ( | ) | [virtual] |
Destructor.
FileWatchee Destructor.
Definition at line 190 of file FileEventWatcher.cpp.
References fd.
1.5.3