Lines Matching refs:Watcher
29 #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 is owned by the watching service.
118 If the service already contains a Watcher with the same target BMessenger
119 (Watcher::Target()), the old watcher is removed and deleted before the
122 \param target The target BMessenger a Watcher shall be registered for.
123 \return \c true, if a new Watcher could be created and added successfully,
129 return AddWatcher(new(nothrow) Watcher(target));
146 WatchingService::RemoveWatcher(Watcher *watcher, bool deleteWatcher)
212 Watcher *watcher = it->second;
223 Watcher *watcher = (Watcher*)staleWatchers.ItemAt(i);