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

Public Member Functions

 GpgAdvancedOperator (int channel=SingletonFunctionObject::GetDefaultChannel())
 Construct a new Basic Operator object. More...
 
bool ClearGpgPasswordCache ()
 
bool ReloadGpgComponents ()
 
bool RestartGpgComponents ()
 
bool ResetConfigures ()
 
bool StartGpgAgent ()
 
bool StartDirmngr ()
 
bool StartKeyBoxd ()
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgAdvancedOperator >
 SingletonFunctionObject (const SingletonFunctionObject< GpgAdvancedOperator > &)=delete
 prohibit copy
 
 SingletonFunctionObject (GpgAdvancedOperator &&)=delete
 Construct a new Singleton Function Object object.
 
 SingletonFunctionObject (const GpgAdvancedOperator &)=delete
 Construct a new Singleton Function Object object.
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgAdvancedOperator > &)=delete
 prohibit copy More...
 
void operator= (const GpgAdvancedOperator &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object.
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Private Attributes

GpgContextctx_
 Corresponding context. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgAdvancedOperator >
static GpgAdvancedOperatorGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgAdvancedOperatorCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgAdvancedOperator >
 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.
 

Constructor & Destructor Documentation

◆ GpgAdvancedOperator()

GpgFrontend::GpgAdvancedOperator::GpgAdvancedOperator ( int  channel = SingletonFunctionObject::GetDefaultChannel())
explicit

Construct a new Basic Operator object.

Parameters
channelChannel corresponding to the context

Member Function Documentation

◆ ClearGpgPasswordCache()

bool GpgFrontend::GpgAdvancedOperator::ClearGpgPasswordCache ( )

◆ ReloadGpgComponents()

bool GpgFrontend::GpgAdvancedOperator::ReloadGpgComponents ( )

◆ ResetConfigures()

bool GpgFrontend::GpgAdvancedOperator::ResetConfigures ( )

◆ RestartGpgComponents()

bool GpgFrontend::GpgAdvancedOperator::RestartGpgComponents ( )

◆ StartDirmngr()

bool GpgFrontend::GpgAdvancedOperator::StartDirmngr ( )

◆ StartGpgAgent()

bool GpgFrontend::GpgAdvancedOperator::StartGpgAgent ( )

◆ StartKeyBoxd()

bool GpgFrontend::GpgAdvancedOperator::StartKeyBoxd ( )

Member Data Documentation

◆ ctx_

GpgContext& GpgFrontend::GpgAdvancedOperator::ctx_
private
Initial value:
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239

Corresponding context.


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