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

Classes

class  Impl
 

Public Member Functions

 ModuleManager (int channel)
 
auto LoadModule (QString, bool) -> void
 
auto SearchModule (ModuleIdentifier) -> ModulePtr
 
auto ListAllRegisteredModuleID () -> QList< ModuleIdentifier >
 
void RegisterModule (ModulePtr)
 
auto IsModuleActivated (ModuleIdentifier) -> bool
 
auto IsIntegratedModule (ModuleIdentifier) -> bool
 
void ListenEvent (ModuleIdentifier, EventIdentifier)
 
void TriggerEvent (EventReference)
 
auto SearchEvent (EventTriggerIdentifier) -> std::optional< EventReference >
 
auto GetModuleListening (ModuleIdentifier) -> QList< EventIdentifier >
 
void ActiveModule (ModuleIdentifier)
 
void DeactiveModule (ModuleIdentifier)
 
auto GetTaskRunner (ModuleIdentifier) -> std::optional< TaskRunnerPtr >
 
auto UpsertRTValue (Namespace, Key, std::any) -> bool
 
auto RetrieveRTValue (Namespace, Key) -> std::optional< std::any >
 
auto ListenRTPublish (QObject *, Namespace, Key, LPCallback) -> bool
 
auto ListRTChildKeys (const QString &, const QString &) -> std::vector< Key >
 
auto GRT () -> GlobalRegisterTable *
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< ModuleManager >
 SingletonFunctionObject (const SingletonFunctionObject< ModuleManager > &)=delete
 prohibit copy
 
 SingletonFunctionObject (ModuleManager &&)=delete
 Construct a new Singleton Function Object object.
 
 SingletonFunctionObject (const ModuleManager &)=delete
 Construct a new Singleton Function Object object.
 
auto operator= (const SingletonFunctionObject< ModuleManager > &) -> SingletonFunctionObject &=delete
 prohibit copy More...
 
void operator= (const ModuleManager &)=delete
 
auto GetChannel () const -> int
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object.
 
virtual ~ChannelObject () noexcept
 Destroy the Channel Object object.
 
 ChannelObject (int channel, QString type)
 Construct a new Channel Object object. More...
 
auto GetChannel () const -> int
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Private Attributes

SecureUniquePtr< Implp_
 

Additional Inherited Members

- Static Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< ModuleManager >
static auto GetInstance (int channel=GpgFrontend::kGpgFrontendDefaultChannel) -> ModuleManager &
 Get the Instance object. More...
 
static auto CreateInstance (int channel, const std::function< ChannelObjectPtr(void)> &factory) -> ModuleManager &
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static auto GetDefaultChannel () -> int
 Get the Default Channel object. More...
 
static auto GetAllChannelId () -> std::vector< int >
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static auto GetDefaultChannel () -> int
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< ModuleManager >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object.
 
 SingletonFunctionObject (int channel)
 Construct a new Singleton Function Object object. More...
 
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object.
 

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