/haiku/src/servers/registrar/ |
H A D | WatchingService.cpp | 37 A watcher is represented by an object of the Watcher or a derived class. 39 more than one watcher with the same target BMessenger at a time. 56 For each registered watcher \code Watcher *watcher \endcode, the map 57 contains an entry \code (watcher->Target(), watcher) \endcode. 87 /*! \brief Registers a new watcher to the watching service. 89 The ownership of \a watcher is transfered to the watching service, that 93 (Watcher::Target()), the old watcher is removed and deleted before the 96 \param watcher Th 101 AddWatcher(Watcher *watcher) argument 146 RemoveWatcher(Watcher *watcher, bool deleteWatcher) argument 212 Watcher *watcher = it->second; local [all...] |
H A D | Clipboard.cpp | 78 /*! \brief Adds a new watcher for this clipboard. 79 \param watcher The messenger referring to the new watcher. 80 \return \c true, if the watcher could be added successfully, 84 Clipboard::AddWatcher(BMessenger watcher) argument 86 return fWatchingService.AddWatcher(watcher); 90 /*! \brief Removes a watcher from this clipboard. 91 \param watcher The watcher to be removed. 92 \return \c true, if the supplied watcher wa 96 RemoveWatcher(BMessenger watcher) argument [all...] |
H A D | EventMaskWatcher.cpp | 36 Each set bit in the watcher's event mask specifies an event the watcher 46 \brief The watcher's event mask. 51 \param target The watcher's message target. 52 \param eventMask the watcher's event mask. 61 /*! \brief Returns the watcher's event mask. 62 \return The watcher's event mask. 105 /*! \brief Returns whether the watcher-message pair satisfies the predicate 108 Returns \c true, if the supplied watcher is an EventMaskWatcher and its 112 \param watcher Th 117 Filter(Watcher *watcher, BMessage *message) argument [all...] |
H A D | Clipboard.h | 22 bool AddWatcher(BMessenger watcher); 23 bool RemoveWatcher(BMessenger watcher);
|
H A D | WatchingService.h | 42 bool AddWatcher(Watcher *watcher); 44 bool RemoveWatcher(Watcher *watcher, bool deleteWatcher = true);
|
H A D | PackageWatchingManager.cpp | 85 Watcher* watcher = new(std::nothrow) EventMaskWatcher(target, eventMask); local 86 if (watcher == NULL || !fWatchingService.AddWatcher(watcher)) { 87 delete watcher;
|
H A D | Watcher.cpp | 45 \brief The watcher's message target. 49 /*! \brief Creates a new watcher with a specified target. 54 \param target The watcher's message target. 69 /*! \brief Returns the watcher's message target. 70 \return The watcher's message target. 79 /*! \brief Sends the supplied message to the watcher's message target. 121 /*! \brief Returns whether the watcher-message pair satisfies the predicate 126 \param watcher The watcher in question. 131 WatcherFilter::Filter(Watcher *watcher, BMessag argument [all...] |
H A D | Watcher.h | 53 virtual bool Filter(Watcher *watcher, BMessage *message);
|
H A D | EventMaskWatcher.h | 50 virtual bool Filter(Watcher *watcher, BMessage *message);
|
H A D | TRoster.h | 80 status_t AddWatcher(Watcher* watcher); 81 void RemoveWatcher(Watcher* watcher);
|
H A D | TRoster.cpp | 884 // add the new watcher 886 Watcher* watcher = new(nothrow) EventMaskWatcher(target, events); local 887 if (watcher) { 888 if (!fWatchingService.AddWatcher(watcher)) { 890 delete watcher; 924 // remove the watcher 1506 TRoster::AddWatcher(Watcher* watcher) argument 1510 if (!watcher) 1513 if (!fWatchingService.AddWatcher(watcher)) 1521 TRoster::RemoveWatcher(Watcher* watcher) argument [all...] |
/haiku/src/servers/index/ |
H A D | IndexServer.cpp | 149 VolumeWatcher* watcher = new VolumeWatcher(volume); local 150 /* if (!watcher->Enabled()) { 151 delete watcher; 154 fVolumeWatcherList.AddItem(watcher); 155 _SetupVolumeWatcher(watcher); 156 watcher->StartWatching(); 163 VolumeWatcher* watcher = NULL; local 167 watcher = current; 172 if (!watcher) 175 watcher 212 VolumeWatcher* watcher = fVolumeWatcherList.ItemAt(i); local 270 VolumeWatcher* watcher = fVolumeWatcherList.ItemAt(i); local 279 _SetupVolumeWatcher(VolumeWatcher* watcher) argument [all...] |
H A D | IndexServer.h | 82 void _SetupVolumeWatcher(VolumeWatcher* watcher);
|
H A D | VolumeWatcher.h | 62 VolumeWorker(VolumeWatcher* watcher); 99 /*! Used to thread safe exchange refs. While the watcher thread file the current 100 list the worker thread can handle the second list. The worker thread gets his entries by calling SwapList while holding the watcher thread lock. */
|
H A D | VolumeWatcher.cpp | 252 VolumeWorker::VolumeWorker(VolumeWatcher* watcher) argument 256 fVolumeWatcher(watcher),
|
/haiku/src/kits/midi2/ |
H A D | MidiRosterLooper.h | 53 void StartWatching(const BMessenger* watcher); 90 // remote endpoints to the watcher. Used when the client 95 // between all registered remote endpoints to the watcher. 99 // Sends a B_MIDI_EVENT notification to the watcher 104 // Sends a B_MIDI_EVENT notification to the watcher
|
/haiku/src/kits/storage/ |
H A D | PathMonitor.cpp | 671 Watcher* watcher = new(std::nothrow) Watcher(target); local 672 if (watcher == NULL || watcher->Init() != B_OK) { 673 delete watcher; 676 return watcher; 1997 Watcher* watcher = sWatchers->Lookup(target); local 1999 if (watcher != NULL) { 2002 if (PathHandler* handler = watcher->Lookup(path)) { 2011 watcher->Remove(handler); 2015 watcher 2052 Watcher* watcher = sWatchers->Lookup(target); local 2080 Watcher* watcher = sWatchers->Lookup(target); local [all...] |
/haiku/src/system/kernel/ |
H A D | team.cpp | 3336 struct team_watcher* watcher; local 3337 while ((watcher = (struct team_watcher*)list_remove_head_item( 3339 watcher->hook(teamID, watcher->data); 3340 free(watcher); 3514 // create the watcher object 3515 team_watcher* watcher = (team_watcher*)malloc(sizeof(team_watcher)); 3516 if (watcher == NULL) 3519 watcher->hook = hook; 3520 watcher [all...] |
/haiku/src/apps/diskprobe/ |
H A D | DataEditor.cpp | 551 StateWatcher watcher(*this); 666 StateWatcher watcher(*this); 782 StateWatcher watcher(*this); 811 StateWatcher watcher(*this);
|