![]() |
MuseScore
3.4
Music composition and notation
|
#include <notifier.hpp>
Public Member Functions | |
| Listener ()=default | |
| Listener (Notifier< Data > *n) | |
| Listener (const Listener< Data > &) | |
| Listener (Listener< Data > &&) | |
| Listener & | operator= (const Listener< Data > &) |
| Listener & | operator= (Listener &&) |
| ~Listener () | |
| void | setNotifier (Notifier< Data > *n) |
| void | detachNotifier (Notifier< Data > *n) |
| Notifier< Data > * | notifier () |
| const Notifier< Data > * | notifier () const |
| virtual void | receive (Data d)=0 |
Private Attributes | |
| Notifier< Data > * | _notifier = nullptr |
Friends | |
| template<typename T > | |
| void | swap (Listener< T > &l1, Listener< T > &l2) |
|
default |
|
inline |
|
inline |
| Ms::Listener< Data >::Listener | ( | Listener< Data > && | other | ) |
| Ms::Listener< Data >::~Listener | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| Listener< Data > & Ms::Listener< Data >::operator= | ( | Listener< Data > && | other | ) |
|
pure virtual |
Implemented in Ms::ChannelListener.
| void Ms::Listener< Data >::setNotifier | ( | Notifier< Data > * | n | ) |
|
friend |
|
private |
1.8.13