214 lines
30 KiB
HTML
214 lines
30 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: src/core/function/basic/GpgFunctionObject.h Source File</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&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&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&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('GpgFunctionObject_8h_source.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="headertitle">
|
|
<div class="title">GpgFunctionObject.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>  </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <mutex></span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <stdexcept></span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "core/GpgFrontendCoreExport.h"</span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "core/function/basic/ChannelObject.h"</span></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "core/function/basic/SingletonStorage.h"</span></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "core/function/basic/SingletonStorageCollection.h"</span></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "core/utils/MemoryUtils.h"</span></div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">auto</span> GPGFRONTEND_CORE_EXPORT <a class="code" href="namespaceGpgFrontend.html#a0f6c508ed7db841c0eaf5907c7612ff6">GetChannelObjectInstance</a>(</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">const</span> std::type_info& type, <span class="keywordtype">int</span> channel) -> ChannelObject*;</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">auto</span> GPGFRONTEND_CORE_EXPORT CreateChannelObjectInstance(</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">const</span> std::type_info& type, <span class="keywordtype">int</span> channel,</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  SecureUniquePtr<ChannelObject> channel_object) -> ChannelObject*;</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">auto</span> GPGFRONTEND_CORE_EXPORT</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> GetGlobalFunctionObjectTypeLock(<span class="keyword">const</span> std::type_info& type) -> std::mutex&;</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html"> 58</a></span> <span class="keyword">class </span><a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a> : <span class="keyword">public</span> <a class="code" href="classGpgFrontend_1_1ChannelObject.html">ChannelObject</a> {</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61"> 64</a></span>  <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61">SingletonFunctionObject</a>(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject<T></a>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7"> 71</a></span>  <span class="keyword">auto</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject<T></a>&)</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  -> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>& = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f"> 80</a></span>  <span class="keyword">static</span> <span class="keyword">auto</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GetInstance</a>(<span class="keywordtype">int</span> channel = GpgFrontend::kGpgFrontendDefaultChannel)</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  -> T& {</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  static_assert(std::is_base_of_v<<a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject<T></a>, T>,</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="stringliteral">"T not derived from SingletonFunctionObject<T>"</span>);</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">const</span> <span class="keyword">auto</span>& type = <span class="keyword">typeid</span>(T);</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  std::lock_guard<std::mutex> guard(GetGlobalFunctionObjectTypeLock(type));</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">auto</span>* channel_object = <a class="code" href="namespaceGpgFrontend.html#a0f6c508ed7db841c0eaf5907c7612ff6">GetChannelObjectInstance</a>(type, channel);</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">if</span> (channel_object == <span class="keyword">nullptr</span>) {</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  channel_object = CreateChannelObjectInstance(</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  type, channel,</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  ConvertToChannelObjectPtr(SecureCreateUniqueObject<T>(channel)));</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span> *<span class="keyword">static_cast<</span>T*<span class="keyword">></span>(channel_object);</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#adff3ff15fc67b7e9cdeeb2577541fbc4"> 103</a></span>  <span class="keyword">static</span> <span class="keyword">auto</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#adff3ff15fc67b7e9cdeeb2577541fbc4">CreateInstance</a>(</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordtype">int</span> channel, <span class="keyword">const</span> std::function<ChannelObjectPtr(<span class="keywordtype">void</span>)>& factory) -> T& {</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  static_assert(std::is_base_of_v<<a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject<T></a>, T>,</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="stringliteral">"T not derived from SingletonFunctionObject<T>"</span>);</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  </div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">const</span> <span class="keyword">auto</span>& type = <span class="keyword">typeid</span>(T);</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  std::lock_guard<std::mutex> guard(GetGlobalFunctionObjectTypeLock(type));</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> *<span class="keyword">static_cast<</span>T*<span class="keyword">></span>(</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  CreateChannelObjectInstance(type, channel, factory()));</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106"> 120</a></span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106">ReleaseChannel</a>(<span class="keywordtype">int</span> channel) {</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="classGpgFrontend_1_1SingletonStorageCollection.html#a4bba0f1f2880648909af6824bcef9568">SingletonStorageCollection::GetInstance</a>(<span class="keyword">false</span>)</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  ->GetSingletonStorage(<span class="keyword">typeid</span>(T))</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  ->ReleaseChannel(channel);</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc"> 131</a></span>  <span class="keyword">static</span> <span class="keyword">auto</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc">GetDefaultChannel</a>() -> <span class="keywordtype">int</span> {</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> <a class="code" href="classGpgFrontend_1_1ChannelObject.html#a6a3672c8ff3d4fb5ef6bc1bda202bbb8">ChannelObject::GetDefaultChannel</a>();</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5"> 140</a></span>  [[nodiscard]] <span class="keyword">auto</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">GetChannel</a>() const -> <span class="keywordtype">int</span> {</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">return</span> <a class="code" href="classGpgFrontend_1_1ChannelObject.html#a085b36517fcc46916279b9d633da2d26">ChannelObject::GetChannel</a>();</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  }</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa7b5db19f3a130886f43607a345a0e1d"> 149</a></span>  <span class="keyword">static</span> <span class="keyword">auto</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa7b5db19f3a130886f43607a345a0e1d">GetAllChannelId</a>() -> std::vector<int> {</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">return</span> <a class="code" href="classGpgFrontend_1_1SingletonStorageCollection.html#a4bba0f1f2880648909af6824bcef9568">SingletonStorageCollection::GetInstance</a>(<span class="keyword">false</span>)</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  ->GetSingletonStorage(<span class="keyword">typeid</span>(T))</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  ->GetAllChannelId();</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  }</div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a"> 159</a></span>  <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">SingletonFunctionObject</a>(T&&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645"> 165</a></span>  <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">SingletonFunctionObject</a>(<span class="keyword">const</span> T&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7">operator=</a>(<span class="keyword">const</span> T&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keyword">protected</span>:</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258"> 178</a></span>  <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258">SingletonFunctionObject</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251"> 185</a></span>  <span class="keyword">explicit</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251">SingletonFunctionObject</a>(<span class="keywordtype">int</span> channel)</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  : <a class="code" href="classGpgFrontend_1_1ChannelObject.html">ChannelObject</a>(channel, typeid(T).name()) {}</div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  </div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc"> 192</a></span>  <span class="keyword">virtual</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc">~SingletonFunctionObject</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> };</div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> } <span class="comment">// namespace GpgFrontend</span></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1ChannelObject_html"><div class="ttname"><a href="classGpgFrontend_1_1ChannelObject.html">GpgFrontend::ChannelObject</a></div><div class="ttdoc">object which in channel system is called "channel"</div><div class="ttdef"><b>Definition:</b> ChannelObject.h:39</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1ChannelObject_html_a085b36517fcc46916279b9d633da2d26"><div class="ttname"><a href="classGpgFrontend_1_1ChannelObject.html#a085b36517fcc46916279b9d633da2d26">GpgFrontend::ChannelObject::GetChannel</a></div><div class="ttdeci">auto GetChannel() const -> int</div><div class="ttdoc">Get the Channel object.</div><div class="ttdef"><b>Definition:</b> ChannelObject.cpp:53</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1ChannelObject_html_a6a3672c8ff3d4fb5ef6bc1bda202bbb8"><div class="ttname"><a href="classGpgFrontend_1_1ChannelObject.html#a6a3672c8ff3d4fb5ef6bc1bda202bbb8">GpgFrontend::ChannelObject::GetDefaultChannel</a></div><div class="ttdeci">static auto GetDefaultChannel() -> int</div><div class="ttdoc">Get the Default Channel object.</div><div class="ttdef"><b>Definition:</b> ChannelObject.cpp:55</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a></div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:58</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a02e76b42ab51d77588b01c7508bed258"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258">GpgFrontend::SingletonFunctionObject::SingletonFunctionObject</a></div><div class="ttdeci">SingletonFunctionObject()=default</div><div class="ttdoc">Construct a new Singleton Function Object object.</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a194e49b07d46345bdad386505d743a61"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61">GpgFrontend::SingletonFunctionObject::SingletonFunctionObject</a></div><div class="ttdeci">SingletonFunctionObject(const SingletonFunctionObject< T > &)=delete</div><div class="ttdoc">prohibit copy</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a4aa7f1eb1d3281bb1fccfcbb1b416251"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251">GpgFrontend::SingletonFunctionObject::SingletonFunctionObject</a></div><div class="ttdeci">SingletonFunctionObject(int channel)</div><div class="ttdoc">Construct a new Singleton Function Object object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:185</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a7090636bed6f4bad5b99f28f6872c645"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">GpgFrontend::SingletonFunctionObject::SingletonFunctionObject</a></div><div class="ttdeci">SingletonFunctionObject(const T &)=delete</div><div class="ttdoc">Construct a new Singleton Function Object object.</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a8296be8c449f88175285186831b995bc"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc">GpgFrontend::SingletonFunctionObject::~SingletonFunctionObject</a></div><div class="ttdeci">virtual ~SingletonFunctionObject()=default</div><div class="ttdoc">Destroy the Singleton Function Object object.</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a94ee1e1251023610590e675ae3de8bd5"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">GpgFrontend::SingletonFunctionObject::GetChannel</a></div><div class="ttdeci">auto GetChannel() const -> int</div><div class="ttdoc">Get the Channel object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:140</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a99eb547639a63e7c2f467ebb611c95b7"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7">GpgFrontend::SingletonFunctionObject::operator=</a></div><div class="ttdeci">auto operator=(const SingletonFunctionObject< T > &) -> SingletonFunctionObject &=delete</div><div class="ttdoc">prohibit copy</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_aa7b5db19f3a130886f43607a345a0e1d"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#aa7b5db19f3a130886f43607a345a0e1d">GpgFrontend::SingletonFunctionObject::GetAllChannelId</a></div><div class="ttdeci">static auto GetAllChannelId() -> std::vector< int ></div><div class="ttdoc">Get all the channel ids.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:149</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_aabc5fe8e5a372ac276a265286457cb9a"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">GpgFrontend::SingletonFunctionObject::SingletonFunctionObject</a></div><div class="ttdeci">SingletonFunctionObject(T &&)=delete</div><div class="ttdoc">Construct a new Singleton Function Object object.</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_ab49b1d50252e1934691a9483a6df2106"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106">GpgFrontend::SingletonFunctionObject::ReleaseChannel</a></div><div class="ttdeci">static void ReleaseChannel(int channel)</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:120</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_ac963fee992753970bfb5c81608d4070f"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgFrontend::SingletonFunctionObject::GetInstance</a></div><div class="ttdeci">static auto GetInstance(int channel=GpgFrontend::kGpgFrontendDefaultChannel) -> T &</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:80</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_ad983153cbe3a0c32c123c506e04f31fc"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc">GpgFrontend::SingletonFunctionObject::GetDefaultChannel</a></div><div class="ttdeci">static auto GetDefaultChannel() -> int</div><div class="ttdoc">Get the Default Channel object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:131</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_adff3ff15fc67b7e9cdeeb2577541fbc4"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#adff3ff15fc67b7e9cdeeb2577541fbc4">GpgFrontend::SingletonFunctionObject::CreateInstance</a></div><div class="ttdeci">static auto CreateInstance(int channel, const std::function< ChannelObjectPtr(void)> &factory) -> T &</div><div class="ttdoc">Create a Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:103</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonStorageCollection_html_a4bba0f1f2880648909af6824bcef9568"><div class="ttname"><a href="classGpgFrontend_1_1SingletonStorageCollection.html#a4bba0f1f2880648909af6824bcef9568">GpgFrontend::SingletonStorageCollection::GetInstance</a></div><div class="ttdeci">static auto GetInstance(bool force_refresh) -> SingletonStorageCollection *</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> SingletonStorageCollection.cpp:107</div></div>
|
|
<div class="ttc" id="anamespaceGpgFrontend_html"><div class="ttname"><a href="namespaceGpgFrontend.html">GpgFrontend</a></div><div class="ttdef"><b>Definition:</b> app.cpp:39</div></div>
|
|
<div class="ttc" id="anamespaceGpgFrontend_html_a0f6c508ed7db841c0eaf5907c7612ff6"><div class="ttname"><a href="namespaceGpgFrontend.html#a0f6c508ed7db841c0eaf5907c7612ff6">GpgFrontend::GetChannelObjectInstance</a></div><div class="ttdeci">auto GetChannelObjectInstance(const std::type_info &type, int channel) -> ChannelObject *</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.cpp:67</div></div>
|
|
</div><!-- fragment --></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="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><a class="el" href="dir_f8a0abd6d3586538a5b71803e0ab7ffa.html">function</a></li><li class="navelem"><a class="el" href="dir_349f63dde462615a894f6d883b92d19c.html">basic</a></li><li class="navelem"><b>GpgFunctionObject.h</b></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>
|