H::FileWatchee Class Reference

Structure to hold information about file watchees. More...

#include <FileEventWatcher.hpp>

Inheritance diagram for H::FileWatchee:

Inheritance graph
[legend]
Collaboration diagram for H::FileWatchee:

Collaboration graph
[legend]

List of all members.

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).


Detailed Description

Structure to hold information about file watchees.

Definition at line 132 of file FileEventWatcher.hpp.


Constructor & Destructor Documentation

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.


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 10:07:16 2007 for gizmod by  doxygen 1.5.3