GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1SingletonFunctionObject.html

529 lines
36 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::SingletonFunctionObject&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classGpgFrontend_1_1SingletonFunctionObject.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classGpgFrontend_1_1SingletonFunctionObject-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">GpgFrontend::SingletonFunctionObject&lt; T &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="GpgFunctionObject_8h_source.html">GpgFunctionObject.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for GpgFrontend::SingletonFunctionObject&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1SingletonFunctionObject_3_01T_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="aGpgFrontend_1_1SingletonFunctionObject_3_01T_01_4_inherit__map" id="aGpgFrontend_1_1SingletonFunctionObject_3_01T_01_4_inherit__map">
<area shape="rect" title=" " alt="" coords="1552,205,1781,488"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,551,235,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="259,551,488,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="512,551,741,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="765,551,1008,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="1032,551,1275,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="1299,551,1528,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="1552,551,1781,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="1805,551,2035,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="2059,551,2288,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="2312,551,2541,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="2565,551,2795,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="2821,551,3053,833"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="3080,551,3309,833"/>
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system" alt="" coords="1563,5,1771,156"/>
<area shape="rect" href="classGpgFrontend_1_1GpgUIDOperator.html" title=" " alt="" coords="10,1022,230,1158"/>
<area shape="rect" href="classGpgFrontend_1_1GpgKeyManager.html" title=" " alt="" coords="263,1029,483,1151"/>
<area shape="rect" href="classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html" title=" " alt="" coords="545,1037,708,1143"/>
<area shape="rect" href="classGpgFrontend_1_1GpgKeyImportExporter.html" title=" " alt="" coords="783,993,991,1187"/>
<area shape="rect" href="classGpgFrontend_1_1GpgCommandExecutor.html" title="Extra commands related to GPG." alt="" coords="1022,1044,1285,1136"/>
<area shape="rect" href="classGpgFrontend_1_1GpgKeyOpera.html" title=" " alt="" coords="1312,993,1515,1187"/>
<area shape="rect" href="classGpgFrontend_1_1GpgFileOpera.html" title=" " alt="" coords="1566,1000,1767,1180"/>
<area shape="rect" href="classGpgFrontend_1_1GpgKeyGetter.html" title=" " alt="" coords="1818,971,2022,1209"/>
<area shape="rect" href="classGpgFrontend_1_1GpgBasicOperator.html" title="Basic operation collection." alt="" coords="2055,985,2286,1195"/>
<area shape="rect" href="classGpgFrontend_1_1GlobalSettingStation.html" title=" " alt="" coords="2311,883,2535,1297"/>
<area shape="rect" href="classGpgFrontend_1_1DataObjectOperator.html" title=" " alt="" coords="2559,978,2801,1202"/>
<area shape="rect" href="classGpgFrontend_1_1PassphraseGenerator.html" title="The PassphraseGenerator class." alt="" coords="2825,1037,3076,1143"/>
<area shape="rect" href="classGpgFrontend_1_1GpgContext.html" title=" " alt="" coords="3101,963,3291,1217"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::SingletonFunctionObject&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1SingletonFunctionObject__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1SingletonFunctionObject_3_01T_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="aGpgFrontend_1_1SingletonFunctionObject_3_01T_01_4_coll__map" id="aGpgFrontend_1_1SingletonFunctionObject_3_01T_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="5,204,235,487"/>
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system" alt="" coords="16,5,224,156"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a194e49b07d46345bdad386505d743a61"><td class="memItemLeft" align="right" valign="top"><a id="a194e49b07d46345bdad386505d743a61"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61">SingletonFunctionObject</a> (const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&lt; T &gt; &amp;)=delete</td></tr>
<tr class="memdesc:a194e49b07d46345bdad386505d743a61"><td class="mdescLeft">&#160;</td><td class="mdescRight">prohibit copy <br /></td></tr>
<tr class="separator:a194e49b07d46345bdad386505d743a61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabb190a60f7a5d4ded43cae16ab8f59e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabb190a60f7a5d4ded43cae16ab8f59e">operator=</a> (const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&lt; T &gt; &amp;)=delete</td></tr>
<tr class="memdesc:aabb190a60f7a5d4ded43cae16ab8f59e"><td class="mdescLeft">&#160;</td><td class="mdescRight">prohibit copy <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aabb190a60f7a5d4ded43cae16ab8f59e">More...</a><br /></td></tr>
<tr class="separator:aabb190a60f7a5d4ded43cae16ab8f59e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa99440b9177f5d0c18840f08a40d64b7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">GetChannel</a> () const</td></tr>
<tr class="memdesc:aa99440b9177f5d0c18840f08a40d64b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">More...</a><br /></td></tr>
<tr class="separator:aa99440b9177f5d0c18840f08a40d64b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabc5fe8e5a372ac276a265286457cb9a"><td class="memItemLeft" align="right" valign="top"><a id="aabc5fe8e5a372ac276a265286457cb9a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">SingletonFunctionObject</a> (T &amp;&amp;)=delete</td></tr>
<tr class="memdesc:aabc5fe8e5a372ac276a265286457cb9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <br /></td></tr>
<tr class="separator:aabc5fe8e5a372ac276a265286457cb9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7090636bed6f4bad5b99f28f6872c645"><td class="memItemLeft" align="right" valign="top"><a id="a7090636bed6f4bad5b99f28f6872c645"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">SingletonFunctionObject</a> (const T &amp;)=delete</td></tr>
<tr class="memdesc:a7090636bed6f4bad5b99f28f6872c645"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <br /></td></tr>
<tr class="separator:a7090636bed6f4bad5b99f28f6872c645"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03ce3095a745ecbf5e6a032e7da4bc97"><td class="memItemLeft" align="right" valign="top"><a id="a03ce3095a745ecbf5e6a032e7da4bc97"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const T &amp;)=delete</td></tr>
<tr class="separator:a03ce3095a745ecbf5e6a032e7da4bc97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGpgFrontend_1_1ChannelObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGpgFrontend_1_1ChannelObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1ChannelObject.html">GpgFrontend::ChannelObject</a></td></tr>
<tr class="memitem:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top"><a id="aedbf32eddc701e521bd8e790ef208da0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aedbf32eddc701e521bd8e790ef208da0">ChannelObject</a> () noexcept</td></tr>
<tr class="memdesc:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Default Channel Object object. <br /></td></tr>
<tr class="separator:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a68ad2a19339e3cd50626fe0eaad17ccd">ChannelObject</a> (int channel)</td></tr>
<tr class="memdesc:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Channel Object object. <a href="classGpgFrontend_1_1ChannelObject.html#a68ad2a19339e3cd50626fe0eaad17ccd">More...</a><br /></td></tr>
<tr class="separator:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a0e13a4bff1cfb679f68a3a2590a3b1b8">GetChannel</a> () const</td></tr>
<tr class="memdesc:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#a0e13a4bff1cfb679f68a3a2590a3b1b8">More...</a><br /></td></tr>
<tr class="separator:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aa3b19cad6d873b314bba32a3dae85f09">SetChannel</a> (int channel)</td></tr>
<tr class="memdesc:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#aa3b19cad6d873b314bba32a3dae85f09">More...</a><br /></td></tr>
<tr class="separator:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a70484d7cfe9f9dcbcd5f8bb749250f36"><td class="memItemLeft" align="right" valign="top">static T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GetInstance</a> (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
<tr class="memdesc:a70484d7cfe9f9dcbcd5f8bb749250f36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">More...</a><br /></td></tr>
<tr class="separator:a70484d7cfe9f9dcbcd5f8bb749250f36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a083807ff8cec58dc0aa732844edaf518"><td class="memItemLeft" align="right" valign="top">static T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518">CreateInstance</a> (int channel, std::function&lt; std::unique_ptr&lt; <a class="el" href="classGpgFrontend_1_1ChannelObject.html">ChannelObject</a> &gt;(void)&gt; factory)</td></tr>
<tr class="memdesc:a083807ff8cec58dc0aa732844edaf518"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518">More...</a><br /></td></tr>
<tr class="separator:a083807ff8cec58dc0aa732844edaf518"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab49b1d50252e1934691a9483a6df2106"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106">ReleaseChannel</a> (int channel)</td></tr>
<tr class="separator:ab49b1d50252e1934691a9483a6df2106"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50e2b3794d6553f4231eaec72d9d0a50"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">GetDefaultChannel</a> ()</td></tr>
<tr class="memdesc:a50e2b3794d6553f4231eaec72d9d0a50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Default Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">More...</a><br /></td></tr>
<tr class="separator:a50e2b3794d6553f4231eaec72d9d0a50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f2f0474871971f86ff91fb6a2408621"><td class="memItemLeft" align="right" valign="top">static std::vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">GetAllChannelId</a> ()</td></tr>
<tr class="memdesc:a5f2f0474871971f86ff91fb6a2408621"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get all the channel ids. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">More...</a><br /></td></tr>
<tr class="separator:a5f2f0474871971f86ff91fb6a2408621"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classGpgFrontend_1_1ChannelObject"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classGpgFrontend_1_1ChannelObject')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1ChannelObject.html">GpgFrontend::ChannelObject</a></td></tr>
<tr class="memitem:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aece9c525c49900734bc1bebf85b644ef">GetDefaultChannel</a> ()</td></tr>
<tr class="memdesc:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Default Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#aece9c525c49900734bc1bebf85b644ef">More...</a><br /></td></tr>
<tr class="separator:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a02e76b42ab51d77588b01c7508bed258"><td class="memItemLeft" align="right" valign="top"><a id="a02e76b42ab51d77588b01c7508bed258"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258">SingletonFunctionObject</a> ()=default</td></tr>
<tr class="memdesc:a02e76b42ab51d77588b01c7508bed258"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <br /></td></tr>
<tr class="separator:a02e76b42ab51d77588b01c7508bed258"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa7f1eb1d3281bb1fccfcbb1b416251"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251">SingletonFunctionObject</a> (int channel)</td></tr>
<tr class="memdesc:a4aa7f1eb1d3281bb1fccfcbb1b416251"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251">More...</a><br /></td></tr>
<tr class="separator:a4aa7f1eb1d3281bb1fccfcbb1b416251"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8296be8c449f88175285186831b995bc"><td class="memItemLeft" align="right" valign="top"><a id="a8296be8c449f88175285186831b995bc"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc">~SingletonFunctionObject</a> ()=default</td></tr>
<tr class="memdesc:a8296be8c449f88175285186831b995bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the Singleton Function Object object. <br /></td></tr>
<tr class="separator:a8296be8c449f88175285186831b995bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class GpgFrontend::SingletonFunctionObject&lt; T &gt;</h3>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">T</td><td></td></tr>
</table>
</dd>
</dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4aa7f1eb1d3281bb1fccfcbb1b416251"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4aa7f1eb1d3281bb1fccfcbb1b416251">&#9670;&nbsp;</a></span>SingletonFunctionObject()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a>&lt; T &gt;::<a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a> </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>channel</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Singleton Function Object object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">channel</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a083807ff8cec58dc0aa732844edaf518"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a083807ff8cec58dc0aa732844edaf518">&#9670;&nbsp;</a></span>CreateInstance()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static T&amp; <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a>&lt; T &gt;::CreateInstance </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>channel</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::function&lt; std::unique_ptr&lt; <a class="el" href="classGpgFrontend_1_1ChannelObject.html">ChannelObject</a> &gt;(void)&gt;&#160;</td>
<td class="paramname"><em>factory</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a Instance object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">channel</td><td></td></tr>
<tr><td class="paramname">factory</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>T&amp; </dd></dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#ac56d19e0d4b99e7b8a86a017721f3db1">GpgFrontend::SingletonStorageCollection::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#a6f933390c54b7f55d5ffb4624074725f">GpgFrontend::SingletonStorageCollection::GetSingletonStorage()</a>.</p>
</div>
</div>
<a id="a5f2f0474871971f86ff91fb6a2408621"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f2f0474871971f86ff91fb6a2408621">&#9670;&nbsp;</a></span>GetAllChannelId()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static std::vector&lt;int&gt; <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a>&lt; T &gt;::GetAllChannelId </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get all the channel ids. </p>
<dl class="section return"><dt>Returns</dt><dd>std::vector&lt;int&gt; </dd></dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonStorage.html#a3f09424ebdc097fbdab77564a7d723ea">GpgFrontend::SingletonStorage::GetAllChannelId()</a>, <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#ac56d19e0d4b99e7b8a86a017721f3db1">GpgFrontend::SingletonStorageCollection::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#a6f933390c54b7f55d5ffb4624074725f">GpgFrontend::SingletonStorageCollection::GetSingletonStorage()</a>.</p>
</div>
</div>
<a id="aa99440b9177f5d0c18840f08a40d64b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa99440b9177f5d0c18840f08a40d64b7">&#9670;&nbsp;</a></span>GetChannel()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a>&lt; T &gt;::GetChannel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Channel object. </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1ChannelObject.html#a0e13a4bff1cfb679f68a3a2590a3b1b8">GpgFrontend::ChannelObject::GetChannel()</a>.</p>
</div>
</div>
<a id="a50e2b3794d6553f4231eaec72d9d0a50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50e2b3794d6553f4231eaec72d9d0a50">&#9670;&nbsp;</a></span>GetDefaultChannel()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a>&lt; T &gt;::GetDefaultChannel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Default Channel object. </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1ChannelObject.html#aece9c525c49900734bc1bebf85b644ef">GpgFrontend::ChannelObject::GetDefaultChannel()</a>.</p>
</div>
</div>
<a id="a70484d7cfe9f9dcbcd5f8bb749250f36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70484d7cfe9f9dcbcd5f8bb749250f36">&#9670;&nbsp;</a></span>GetInstance()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static T&amp; <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a>&lt; T &gt;::GetInstance </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>channel</em> = <code>GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Instance object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">channel</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>T&amp; </dd></dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#ac56d19e0d4b99e7b8a86a017721f3db1">GpgFrontend::SingletonStorageCollection::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#a6f933390c54b7f55d5ffb4624074725f">GpgFrontend::SingletonStorageCollection::GetSingletonStorage()</a>.</p>
</div>
</div>
<a id="aabb190a60f7a5d4ded43cae16ab8f59e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabb190a60f7a5d4ded43cae16ab8f59e">&#9670;&nbsp;</a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&amp; <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a>&lt; T &gt;::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&lt; T &gt; &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>prohibit copy </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&amp; </dd></dl>
</div>
</div>
<a id="ab49b1d50252e1934691a9483a6df2106"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab49b1d50252e1934691a9483a6df2106">&#9670;&nbsp;</a></span>ReleaseChannel()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a>&lt; T &gt;::ReleaseChannel </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>channel</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">channel</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>T&amp; </dd></dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#ac56d19e0d4b99e7b8a86a017721f3db1">GpgFrontend::SingletonStorageCollection::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#a6f933390c54b7f55d5ffb4624074725f">GpgFrontend::SingletonStorageCollection::GetSingletonStorage()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonStorage.html#adb22cc80a1ab040b6e4bce962625edfd">GpgFrontend::SingletonStorage::ReleaseChannel()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/core/<a class="el" href="GpgFunctionObject_8h_source.html">GpgFunctionObject.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>