This class represents an observable subject that will notify all of its registered observers.
More...
|
| notifyObservers (string event_id, hash< auto > data_) |
| The method notifies all subscribed observers. More...
|
|
| log (int level, string fmt) |
| Logs to the main process log file.
|
|
This class represents an observable subject that will notify all of its registered observers.
◆ notifyObservers()
OMQ::Observable::notifyObservers |
( |
string |
event_id, |
|
|
hash< auto > |
data_ |
|
) |
| |
|
private:internal |
The method notifies all subscribed observers.
- Parameters
-
event_id | unique ID identifying an event |
data_ | hash representing new data to be passed to observers' update() methods |
The documentation for this class was generated from the following file: