This class provides a broadcasting implementation of the Observer protocol.
Synopsis
Declared in <ball_broadcastobserver.h>
class BroadcastObserver
: public Observer
Description
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.
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. |
|
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 named observer from the registry. |
|
|
|
Return the number of observers registered with this broadcast observer. |
|
|
|
Register the specified |
|
|
Discard any shared reference to a |
Invoke |