Audacity 3.2.0
|
Additional Inherited Members | |
Public Types inherited from Observer::Publisher< int > | |
using | message_type = int |
using | CallbackReturn = std::conditional_t< true, void, bool > |
using | Callback = std::function< CallbackReturn(const int &) > |
Type of functions that can be connected to the Publisher. More... | |
Public Member Functions inherited from Observer::Publisher< int > | |
Publisher (ExceptionPolicy *pPolicy=nullptr, Alloc a={}) | |
Constructor supporting type-erased custom allocation/deletion. More... | |
Publisher (Publisher &&)=default | |
Publisher & | operator= (Publisher &&)=default |
Subscription | Subscribe (Callback callback) |
Connect a callback to the Publisher; later-connected are called earlier. More... | |
Subscription | Subscribe (Object &obj, Return(Object::*callback)(Args...)) |
Overload of Subscribe takes an object and pointer-to-member-function. More... | |
Static Public Attributes inherited from Observer::Publisher< int > | |
static constexpr bool | notifies_all |
Protected Member Functions inherited from Observer::Publisher< int > | |
CallbackReturn | Publish (const int &message) |
Send a message to connected callbacks. More... | |