27 #include <nidas/Config.h>
28 #ifdef HAVE_SYS_INOTIFY_H
41 #ifndef NIDAS_DYNLD_WATCHEDFILESENSOR_H
42 #define NIDAS_DYNLD_WATCHEDFILESENSOR_H
47 namespace nidas {
namespace dynld {
49 using namespace nidas::core;
97 int getWriteFd()
const
111 void close() throw(nidas::util::IOException);
118 bool readSamples() throw(nidas::util::IOException);
125 void getFileStatus() throw(nidas::util::IOException);
133 void getPathStatus(dev_t& dev, ino_t& inode) throw(nidas::util::IOException);
139 bool differentInode() throw(nidas::util::IOException);
150 void reopen() throw(nidas::util::IOException);
205 WatchedFileSensor(const WatchedFileSensor&);
208 WatchedFileSensor& operator=(const WatchedFileSensor&);
215 #endif // HAVE_SYS_INOTIFY_H
Implementation of support for a sensor which generates character output.
Definition: CharacterSensor.h:46
An interface to an IO device.
Definition: IODevice.h:41
Definition: IOException.h:37
Definition: InvalidParameterException.h:35