GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::Module::Event::Impl Class Reference
Collaboration diagram for GpgFrontend::Module::Event::Impl:
Collaboration graph

Public Member Functions

 Impl (QString event_id, std::initializer_list< ParameterInitializer > params, EventCallback callback)
 
auto operator[] (const QString &key) const -> std::optional< ParameterValue >
 
auto operator== (const Event &other) const -> bool
 
auto operator!= (const Event &other) const -> bool
 
auto operator< (const Event &other) const -> bool
 
 operator QString () const
 
auto GetIdentifier () -> EventIdentifier
 
auto GetTriggerIdentifier () -> EventTriggerIdentifier
 
void AddParameter (const QString &key, const QString &value)
 
void AddParameter (const ParameterInitializer &param)
 
void ExecuteCallback (ListenerIdentifier listener_id, const DataObjectPtr &data_object)
 
auto ToModuleEvent () -> GFModuleEvent *
 

Private Attributes

EventIdentifier event_identifier_
 
EventTriggerIdentifier trigger_uuid_ = QUuid::createUuid().toString()
 
std::map< QString, QString > data_
 
EventCallback callback_
 
QThread * callback_thread_ = nullptr
 

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