Nebula
Loading...
Searching...
No Matches
filewatcher.h File Reference
#include "core/types.h"
#include "core/refcounted.h"
#include "core/singleton.h"
#include "core/ptr.h"
#include "util/stringatom.h"
#include "util/dictionary.h"
#include "io/uri.h"
#include "io/ioserver.h"
#include "threading/thread.h"
#include "threading/safequeue.h"
#include <functional>

Go to the source code of this file.

Classes

struct  IO::WatchEvent
 
struct  IO::EventHandlerData
 
class  IO::FileWatcher
 For registering callbacks for file modification events. More...
 

Namespaces

namespace  IO
 Instances of wrapped stream classes.
 

Typedefs

using IO::WatchDelegate = std::function<void(WatchEvent const&)>
 

Enumerations

enum  IO::WatchEventType { IO::Created , IO::Deleted , IO::NameChange , IO::Modified }
 
enum  IO::WatchFlags {
  IO::NameChanged = N_BIT(0) , IO::SizeChanged = N_BIT(1) , IO::Write = N_BIT(2) , IO::Access = N_BIT(3) ,
  IO::Creation = N_BIT(4)
}