This class provides a broadcasting implementation of the Observer protocol. Other concrete observers may be registered and named with this broadcast observer (registerObserver method), retrieved (findObserver method), and unregistered (deregisterObserver method). The publish method of this class forwards the log records that it receives to the publish method of each registered observer.
Synopsis
Declared in <ball_broadcastobserver.h>
class BroadcastObserver
: public Observer
Base Classes
Name |
Description |
This class provides a protocol for receiving and processing log record output. |
Type Aliases
Name |
Description |
This |
Member Functions
Name |
Description |
|
Create a broadcast observer having no registered observers. Optionally specify a |
|
Destroy this broadcast observer. Note that this method has no effect on the lifetime of observers registered with this observer, if any. |
Remove all observers from the registry of this broadcast observer. |
|
Remove the observer having the specified |
|
|
|
Return the number of observers registered with this broadcast observer. |
|
|
|
Add the specified |
|
|
Discard any shared reference to a |
Invoke the specified |