OpendTect  6.3
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
File::Monitor Class Reference

Monitors files and directories for changes. More...

Inheritance diagram for File::Monitor:
[legend]

Public Member Functions

 Monitor ()
 
 ~Monitor ()
 
void watch (const char *)
 
void watch (const BufferStringSet &)
 
void forget (const char *)
 
- 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 

Public Attributes

CNotifier< Monitor, BufferStringdirChanged
 
CNotifier< Monitor, BufferStringfileChanged
 

Protected Attributes

::i_QFileSystemWatcherwatcher_
 

Friends

class ::i_QFileSystemWatcher
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Detailed Description

Monitors files and directories for changes.

Constructor & Destructor Documentation

File::Monitor::Monitor ( )
File::Monitor::~Monitor ( )

Member Function Documentation

void File::Monitor::forget ( const char *  )
void File::Monitor::watch ( const char *  )
void File::Monitor::watch ( const BufferStringSet )

Friends And Related Function Documentation

friend class ::i_QFileSystemWatcher
friend

Member Data Documentation

CNotifier<Monitor,BufferString> File::Monitor::dirChanged
CNotifier<Monitor,BufferString> File::Monitor::fileChanged
:: i_QFileSystemWatcher& File::Monitor::watcher_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017