Searched refs:Watcher (Results 1 - 13 of 13) sorted by relevance

/haiku/src/servers/registrar/
H A DWatcher.cpp22 // File Name: Watcher.cpp
24 // Description: A Watcher represents a target of a watching service.
31 #include "Watcher.h"
33 // Watcher
35 /*! \class Watcher
36 \brief A Watcher represents a target of a watching service.
38 The Watcher base class only has one attribute, a BMessenger which
44 /*! \var Watcher::fTarget
56 Watcher::Watcher(cons function in class:Watcher
[all...]
H A DWatcher.h22 // File Name: Watcher.h
24 // Description: A Watcher represents a target of a watching service.
33 // Watcher
34 class Watcher { class
36 Watcher(const BMessenger &target);
37 virtual ~Watcher();
53 virtual bool Filter(Watcher *watcher, BMessage *message);
H A DWatchingService.h34 class Watcher;
42 bool AddWatcher(Watcher *watcher);
44 bool RemoveWatcher(Watcher *watcher, bool deleteWatcher = true);
50 typedef std::map<BMessenger,Watcher*> watcher_map;
H A DEventMaskWatcher.cpp24 // Description: EventMaskWatcher is a Watcher extended by an event mask.
34 \brief EventMaskWatcher is a Watcher extended by an event mask.
55 : Watcher(target),
117 EventMaskWatcherFilter::Filter(Watcher *watcher, BMessage *message)
H A DEventMaskWatcher.h24 // Description: EventMaskWatcher is a Watcher extended by an event mask.
32 #include "Watcher.h"
35 class EventMaskWatcher : public Watcher {
50 virtual bool Filter(Watcher *watcher, BMessage *message);
H A DWatchingService.cpp29 #include "Watcher.h"
37 A watcher is represented by an object of the Watcher or a derived class.
47 /*! \var typedef map<BMessenger,Watcher*> WatchingService::watcher_map
48 \brief Watcher container type.
56 For each registered watcher \code Watcher *watcher \endcode, the map
92 If the service already contains a Watcher with the same target BMessenger
93 (Watcher::Target()), the old watcher is removed and deleted before the
101 WatchingService::AddWatcher(Watcher *watcher)
114 A new \c Watcher is created with \a target as its target and added to
116 newly created Watcher i
[all...]
H A DPackageWatchingManager.cpp85 Watcher* watcher = new(std::nothrow) EventMaskWatcher(target, eventMask);
H A DTRoster.h80 status_t AddWatcher(Watcher* watcher);
81 void RemoveWatcher(Watcher* watcher);
H A DTRoster.cpp886 Watcher* watcher = new(nothrow) EventMaskWatcher(target, events);
1506 TRoster::AddWatcher(Watcher* watcher)
1521 TRoster::RemoveWatcher(Watcher* watcher)
/haiku/src/tests/kits/app/bhandler/
H A DIsWatchedTest.cpp40 BHandler Watcher; local
41 fHandler.StartWatching(&Watcher, '1234');
44 fHandler.StopWatching(&Watcher, '1234');
/haiku/src/kits/storage/
H A DPathMonitor.cpp665 // #pragma mark - Watcher
668 struct Watcher : public PathHandlerMap { struct in namespace:__anon3
669 static Watcher* Create(const BMessenger& target)
671 Watcher* watcher = new(std::nothrow) Watcher(target);
684 Watcher*& HashNext()
690 Watcher(const BMessenger& target) function in struct:__anon3::Watcher
698 Watcher* fHashNext;
704 typedef Watcher ValueType;
711 size_t Hash(Watcher* valu
[all...]
/haiku/src/add-ons/input_server/devices/virtio/
H A DVirtioInputDevice.h68 static status_t Watcher(void* arg);
H A DVirtioInputDevice.cpp252 fWatcherThread = spawn_thread(Watcher, threadName,
291 VirtioInputHandler::Watcher(void *arg) function in class:VirtioInputHandler

Completed in 132 milliseconds