Audacity 3.2.0
|
Classes | |
struct | RegisteredEventType |
struct | Type |
struct | Watcher |
Singleton object listens to global wxEvent stream. More... | |
Typedefs | |
using | Types = std::vector< Type > |
using | Code = Identifier |
using | ByTypeMap = std::map< wxEventType, const Type & > |
using | ByCodeMap = std::unordered_map< Code, const Type & > |
Functions | |
static const Types & | TypeCatalog () |
static const ByTypeMap & | ByType () |
static const ByCodeMap & | ByCode () |
wxString | WindowEventName (const wxEvent &event) |
std::optional< wxArrayStringEx > | WindowEventSerialization (const wxEvent &event) |
template<typename Event = wxCommandEvent, typename EventType > | |
static Type | NullaryCommandType (EventType type, const wxString &code) |
template<typename Event = wxCommandEvent, typename EventType > | |
static Type | BooleanCommandType (EventType type, const wxString &code) |
template<typename Event = wxCommandEvent, typename EventType > | |
static Type | NumericalCommandType (EventType type, const wxString &code) |
template<typename Event = wxCommandEvent, typename EventType > | |
static Type | TextualCommandType (EventType type, const wxString &code) |
void | Initialize () |
void | Watch () |
Variables | |
static bool | sWatching { true } |
Whether the event filter is still watching events. More... | |
RegisteredInitializer | initializer |
using Journal::Events::anonymous_namespace{JournalEvents.cpp}::ByCodeMap = typedef std::unordered_map< Code, const Type & > |
Definition at line 60 of file JournalEvents.cpp.
using Journal::Events::anonymous_namespace{JournalEvents.cpp}::ByTypeMap = typedef std::map< wxEventType, const Type& > |
Definition at line 56 of file JournalEvents.cpp.
using Journal::Events::anonymous_namespace{JournalEvents.cpp}::Code = typedef Identifier |
Definition at line 53 of file JournalEvents.cpp.
using Journal::Events::anonymous_namespace{JournalEvents.cpp}::Types = typedef std::vector< Type > |
Definition at line 41 of file JournalEvents.cpp.
|
static |
Definition at line 211 of file JournalEvents.cpp.
References Journal::WindowPaths::FindByPath(), and WindowEventSerialization().
Referenced by TypeCatalog().
|
static |
Definition at line 368 of file JournalEvents.cpp.
References flag, and TypeCatalog().
Referenced by Journal::Events::anonymous_namespace{JournalEvents.cpp}::RegisteredEventType::DispatchEvent().
|
static |
Definition at line 357 of file JournalEvents.cpp.
References flag, and TypeCatalog().
Referenced by Journal::Events::anonymous_namespace{JournalEvents.cpp}::Watcher::FilterEvent().
void Journal::Events::anonymous_namespace{JournalEvents.cpp}::Initialize | ( | ) |
Definition at line 438 of file JournalEvents.cpp.
References TypeCatalog().
Referenced by AudacityApp::Initialize(), and CrashpadConfigurer::Start().
|
static |
Definition at line 193 of file JournalEvents.cpp.
References Journal::WindowPaths::FindByPath(), and WindowEventSerialization().
Referenced by TypeCatalog().
|
static |
Definition at line 250 of file JournalEvents.cpp.
References Journal::WindowPaths::FindByPath(), and WindowEventSerialization().
Referenced by TypeCatalog().
|
static |
Definition at line 290 of file JournalEvents.cpp.
References Journal::WindowPaths::FindByPath(), and WindowEventSerialization().
Referenced by TypeCatalog().
|
static |
Definition at line 332 of file JournalEvents.cpp.
References BooleanCommandType(), NullaryCommandType(), NumericalCommandType(), and TextualCommandType().
Referenced by ByCode(), ByType(), and Initialize().
void Journal::Events::anonymous_namespace{JournalEvents.cpp}::Watch | ( | ) |
Definition at line 443 of file JournalEvents.cpp.
wxString Journal::Events::anonymous_namespace{JournalEvents.cpp}::WindowEventName | ( | const wxEvent & | event | ) |
Definition at line 174 of file JournalEvents.cpp.
References Journal::WindowPaths::FindPath(), and Identifier::GET().
Referenced by WindowEventSerialization().
std::optional< wxArrayStringEx > Journal::Events::anonymous_namespace{JournalEvents.cpp}::WindowEventSerialization | ( | const wxEvent & | event | ) |
Definition at line 182 of file JournalEvents.cpp.
References Journal::Events::FailedEventSerialization(), and WindowEventName().
Referenced by BooleanCommandType(), NullaryCommandType(), NumericalCommandType(), and TextualCommandType().
RegisteredInitializer Journal::Events::anonymous_namespace{JournalEvents.cpp}::initializer |
Definition at line 449 of file JournalEvents.cpp.
Referenced by Journal::Begin(), WaveCacheSampleBlock::GetSummary(), GlobalVariable< Tag, Type, initializer, ScopedOnly >::Instance(), Journal::RegisteredInitializer::RegisteredInitializer(), and GraphicsDataCache< CacheElementType >::setInitializer().
|
static |
Whether the event filter is still watching events.
Definition at line 72 of file JournalEvents.cpp.
Referenced by Journal::Events::FailedEventSerialization(), and Journal::Events::IsWatching().