Audacity 3.2.0
|
Public Types | |
using | Serializer = std::function< std::optional< wxArrayStringEx >(const wxEvent &) > |
using | Deserializer = std::function< std::unique_ptr< wxEvent >(wxEventType, const wxArrayStringEx &) > |
Public Member Functions | |
template<typename Tag , typename SerialFn > | |
Serializer | makeSerializer (SerialFn fn) |
template<typename Tag , typename Fn > | |
Deserializer | checkDeserializer (wxEventTypeTag< Tag > type, Fn fn) |
template<typename Tag , typename SerialFn , typename DeserialFn > | |
Type (wxEventTypeTag< Tag > type, const Code &code, SerialFn serialFn, DeserialFn deserialFn) | |
Public Member Functions inherited from Journal::Events::anonymous_namespace{JournalEvents.cpp}::RegisteredEventType | |
RegisteredEventType (Code code) | |
Public Member Functions inherited from Journal::RegisteredCommand | |
RegisteredCommand (const wxString &name, Dispatcher dispatcher) | |
Public Attributes | |
wxEventType | type |
Just an int! More... | |
Code | code |
Persistent cross-platform name corresponding to the int. More... | |
Serializer | serializer |
Deserializer | deserializer |
Additional Inherited Members | |
Static Public Member Functions inherited from Journal::Events::anonymous_namespace{JournalEvents.cpp}::RegisteredEventType | |
static bool | DispatchEvent (wxArrayStringEx fields) |
An entry in a catalog describing the types of events that are intercepted and recorded, and simulated when playing back.
Definition at line 78 of file JournalEvents.cpp.
using Journal::Events::anonymous_namespace{JournalEvents.cpp}::Type::Deserializer = std::function< std::unique_ptr<wxEvent>( wxEventType, const wxArrayStringEx& ) > |
Definition at line 87 of file JournalEvents.cpp.
using Journal::Events::anonymous_namespace{JournalEvents.cpp}::Type::Serializer = std::function< std::optional<wxArrayStringEx>( const wxEvent& ) > |
Definition at line 83 of file JournalEvents.cpp.
|
inline |
type | such as wxEVT_BUTTON Tag is deduced at compile time, the int value is fixed at runtime |
Definition at line 125 of file JournalEvents.cpp.
|
inline |
Definition at line 106 of file JournalEvents.cpp.
References fn.
|
inline |
Code Journal::Events::anonymous_namespace{JournalEvents.cpp}::Type::code |
Persistent cross-platform name corresponding to the int.
Definition at line 140 of file JournalEvents.cpp.
Deserializer Journal::Events::anonymous_namespace{JournalEvents.cpp}::Type::deserializer |
Definition at line 142 of file JournalEvents.cpp.
Serializer Journal::Events::anonymous_namespace{JournalEvents.cpp}::Type::serializer |
Definition at line 141 of file JournalEvents.cpp.
wxEventType Journal::Events::anonymous_namespace{JournalEvents.cpp}::Type::type |
Just an int!
Definition at line 139 of file JournalEvents.cpp.