The documentation for this class was generated from the following file:
|
| | WaitFreeListeners ()=default |
| void | add (Listener &r) |
| | Registers a receiver, not wait-free.
|
| void | remove (Listener &l) |
| | Removes a listener, not wait-free.
|
| template<typename Callback> |
| void | call (Callback &&callback) const |
| | Notifies all registered receivers, wait-free, may be called concurrently with add/remove, but may not be called concurrently with itself.
|
◆ WaitFreeListeners()
template<typename Listener>
◆ add()
template<typename Listener>
Registers a receiver, not wait-free.
References jassert.
◆ remove()
template<typename Listener>
Removes a listener, not wait-free.
◆ call()
template<typename Listener>
template<typename Callback>