BPathMonitor
class BPathMonitor {
BPathMonitor();
~BPathMonitor();
class BPathMonitor::BWatchingInterface {
using BPrivate::BPathMonitor;
BPrivate::BPathMonitor::StopWatching(BMessenger(this, this));
BPrivate::BPathMonitor::StartWatching(fFileName,
BPrivate::BPathMonitor::StopWatching(BMessenger(this, this));
BPrivate::BPathMonitor::StartWatching(queryPath.Path(),
BPrivate::BPathMonitor::StartWatching(path.Path(),
BPrivate::BPathMonitor::StopWatching(BMessenger(this));
return BPrivate::BPathMonitor::StopWatching(target);
return BPrivate::BPathMonitor::StartWatching(path.Path(), B_WATCH_STAT,
BPathMonitor::BPathMonitor()
BPathMonitor::~BPathMonitor()
BPathMonitor::StartWatching(const char* path, uint32 flags,
BPathMonitor::StopWatching(const char* path, const BMessenger& target)
BPathMonitor::StopWatching(const BMessenger& target)
BPathMonitor::SetWatchingInterface(BWatchingInterface* watchingInterface)
BPathMonitor::_InitIfNeeded()
pthread_once(&sInitOnce, &BPathMonitor::_Init);
BPathMonitor::_Init()
BPathMonitor::BWatchingInterface::BWatchingInterface()
BPathMonitor::BWatchingInterface::~BWatchingInterface()
BPathMonitor::BWatchingInterface::WatchNode(const node_ref* node, uint32 flags,
BPathMonitor::BWatchingInterface::WatchNode(const node_ref* node, uint32 flags,
BPathMonitor::BWatchingInterface::StopWatching(const BMessenger& target)
BPathMonitor::BWatchingInterface::StopWatching(const BHandler* handler,
static BPathMonitor::BWatchingInterface* sDefaultWatchingInterface = NULL;
static BPathMonitor::BWatchingInterface* sWatchingInterface = NULL;
BPathMonitor::StartWatching(path.Path(), B_WATCH_STAT | B_WATCH_FILES_ONLY, this);
class TTracker::WatchingInterface : public BPathMonitor::BWatchingInterface {
BPathMonitor::SetWatchingInterface(fWatchingInterface);
BPathMonitor::SetWatchingInterface(NULL);
BPathMonitor::StartWatching(path, B_WATCH_DIRECTORY | B_WATCH_CHILDREN
BPathMonitor::StopWatching(this);
status = BPathMonitor::StartWatching(path.String(),
BPathMonitor::StopWatching(path.String(), this);
status_t status = BPathMonitor::StartWatching(path.Path(),
BPathMonitor::StopWatching(path.Path(), sWatcher);
return BPathMonitor::StartWatching(kDevicesRoot,
return BPathMonitor::StopWatching(kDevicesRoot, this);
BPrivate::BPathMonitor::StopWatching("/dev/net", this);
BPrivate::BPathMonitor::StartWatching("/dev/net",
using BPrivate::BPathMonitor;
status_t status = BPathMonitor::StartWatching(path, B_WATCH_ALL, this);
status_t status = BPathMonitor::StopWatching(fPath.Path(), this);
using BPrivate::BPathMonitor;
BPathMonitor::StopWatching(this);
FATAL_IF_ERROR(BPathMonitor::StartWatching(absolutePath, fFlags, this),