GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
#include <GpgFunctionObject.h>
Public Member Functions | |
SingletonFunctionObject (const SingletonFunctionObject< T > &)=delete | |
prohibit copy | |
auto | operator= (const SingletonFunctionObject< T > &) -> SingletonFunctionObject &=delete |
prohibit copy More... | |
auto | GetChannel () const -> int |
Get the Channel object. More... | |
SingletonFunctionObject (T &&)=delete | |
Construct a new Singleton Function Object object. | |
SingletonFunctionObject (const T &)=delete | |
Construct a new Singleton Function Object object. | |
void | operator= (const T &)=delete |
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... | |
Static Public Member Functions | |
static auto | GetInstance (int channel=GpgFrontend::kGpgFrontendDefaultChannel) -> T & |
Get the Instance object. More... | |
static auto | CreateInstance (int channel, const std::function< ChannelObjectPtr(void)> &factory) -> T & |
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 | |
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. | |
T |
|
inlineexplicitprotected |
Construct a new Singleton Function Object object.
channel |
|
inlinestatic |
Create a Instance object.
channel | |
factory |
|
inlinestatic |
Get all the channel ids.
References GpgFrontend::SingletonStorageCollection::GetInstance().
|
inline |
|
inlinestatic |
Get the Default Channel object.
References GpgFrontend::ChannelObject::GetDefaultChannel().
|
inlinestatic |
Get the Instance object.
channel |
References GpgFrontend::GetChannelObjectInstance().
|
delete |
prohibit copy
|
inlinestatic |