OpendTect
6.6
|
Class for monitoring a file system. More...
Public Member Functions | |
FileSystemWatcher () | |
~FileSystemWatcher () | |
void | addFile (const char *) |
void | addFiles (const BufferStringSet &) |
const BufferString & | changedDir () const |
const BufferString & | changedFile () const |
void | removeFile (const char *) |
void | removeFiles (const BufferStringSet &) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
Public Attributes | |
Notifier< FileSystemWatcher > | directoryChanged |
Notifier< FileSystemWatcher > | fileChanged |
Protected Attributes | |
BufferString | chgddir_ |
BufferString | chgdfile_ |
QFileSystemWatcher * | qfswatcher_ |
QFileSystemWComm * | qfswatchercomm_ |
Friends | |
class | QFileSystemWComm |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Class for monitoring a file system.
<>
FileSystemWatcher::FileSystemWatcher | ( | ) |
FileSystemWatcher::~FileSystemWatcher | ( | ) |
void FileSystemWatcher::addFile | ( | const char * | ) |
void FileSystemWatcher::addFiles | ( | const BufferStringSet & | ) |
|
inline |
|
inline |
void FileSystemWatcher::removeFile | ( | const char * | ) |
void FileSystemWatcher::removeFiles | ( | const BufferStringSet & | ) |
|
friend |
|
protected |
|
protected |
Notifier<FileSystemWatcher> FileSystemWatcher::directoryChanged |
Notifier<FileSystemWatcher> FileSystemWatcher::fileChanged |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022