Audacity 3.2.0
Public Attributes | List of all members
AppEvents::anonymous_namespace{AppEvents.cpp}::EventHandlers Struct Referencefinal
Inheritance diagram for AppEvents::anonymous_namespace{AppEvents.cpp}::EventHandlers:
[legend]
Collaboration diagram for AppEvents::anonymous_namespace{AppEvents.cpp}::EventHandlers:
[legend]

Public Attributes

std::vector< std::function< void()> > appInitialized
 
std::vector< std::function< void()> > appClosing
 
bool AppInitializedCalled {}
 
bool AppClosingCalled {}
 

Additional Inherited Members

- Public Types inherited from Observer::Publisher< IdleEvent >
using message_type = IdleEvent
 
using CallbackReturn = std::conditional_t< true, void, bool >
 
using Callback = std::function< CallbackReturn(const IdleEvent &) >
 Type of functions that can be connected to the Publisher. More...
 
- Public Member Functions inherited from Observer::Publisher< IdleEvent >
 Publisher (ExceptionPolicy *pPolicy=nullptr, Alloc a={})
 Constructor supporting type-erased custom allocation/deletion. More...
 
 Publisher (Publisher &&)=default
 
Publisheroperator= (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< IdleEvent >
static constexpr bool notifies_all
 
- Protected Member Functions inherited from Observer::Publisher< IdleEvent >
CallbackReturn Publish (const IdleEvent &message)
 Send a message to connected callbacks. More...
 

Detailed Description

Definition at line 22 of file AppEvents.cpp.

Member Data Documentation

◆ appClosing

std::vector<std::function<void()> > AppEvents::anonymous_namespace{AppEvents.cpp}::EventHandlers::appClosing

Definition at line 25 of file AppEvents.cpp.

◆ AppClosingCalled

bool AppEvents::anonymous_namespace{AppEvents.cpp}::EventHandlers::AppClosingCalled {}

Definition at line 28 of file AppEvents.cpp.

◆ appInitialized

std::vector<std::function<void()> > AppEvents::anonymous_namespace{AppEvents.cpp}::EventHandlers::appInitialized

Definition at line 24 of file AppEvents.cpp.

◆ AppInitializedCalled

bool AppEvents::anonymous_namespace{AppEvents.cpp}::EventHandlers::AppInitializedCalled {}

Definition at line 27 of file AppEvents.cpp.


The documentation for this struct was generated from the following file: