2022-05-08 19:59:26 +00:00
<!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" / >
2022-05-08 22:01:23 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2022-11-26 18:19:17 +00:00
< meta name = "generator" content = "Doxygen 1.9.1" / >
2022-05-08 19:59:26 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2024-01-23 07:22:33 +00:00
< title > GpgFrontend Project: src/core/function/basic/GpgFunctionObject.h Source File< / title >
2022-05-08 19:59:26 +00:00
< 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 >
2022-05-08 22:01:23 +00:00
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
2022-05-08 19:59:26 +00:00
< 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 -->
2022-11-26 18:19:17 +00:00
<!-- Generated by Doxygen 1.9.1 -->
2022-05-08 19:59:26 +00:00
< script type = "text/javascript" >
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2022-11-26 18:19:17 +00:00
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
2022-05-08 19:59:26 +00:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-05-08 22:01:23 +00:00
/* @license-end */< / script >
2022-05-08 19:59:26 +00:00
< 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" >
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(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" >
2022-05-08 22:01:23 +00:00
< div class = "headertitle" >
< div class = "title" > GpgFunctionObject.h< / div > < / div >
2022-05-08 19:59:26 +00:00
< / div > <!-- header -->
< div class = "contents" >
2022-05-08 22:01:23 +00:00
< div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < / div >
2024-01-23 07:22:33 +00:00
< 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 >
2024-04-21 19:50:14 +00:00
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   < / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   < span class = "preprocessor" > #include " core/GpgFrontendCoreExport.h" < / span > < / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < span class = "preprocessor" > #include " core/function/basic/ChannelObject.h" < / span > < / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   < span class = "preprocessor" > #include " core/function/basic/SingletonStorage.h" < / span > < / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   < span class = "preprocessor" > #include " core/function/basic/SingletonStorageCollection.h" < / span > < / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < span class = "preprocessor" > #include " core/utils/MemoryUtils.h" < / span > < / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "keyword" > namespace < / span > < a class = "code" href = "namespaceGpgFrontend.html" > GpgFrontend< / a > {< / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   < span class = "keyword" > auto< / span > GPGFRONTEND_CORE_EXPORT < a class = "code" href = "namespaceGpgFrontend.html#a0f6c508ed7db841c0eaf5907c7612ff6" > GetChannelObjectInstance< / a > (< / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   < span class = "keyword" > const< / span > std::type_info& type, < span class = "keywordtype" > int< / span > channel) -> ChannelObject*;< / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   < span class = "keyword" > auto< / span > GPGFRONTEND_CORE_EXPORT CreateChannelObjectInstance(< / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > 45< / span >   < span class = "keyword" > const< / span > std::type_info& type, < span class = "keywordtype" > int< / span > channel,< / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > 46< / span >   SecureUniquePtr< ChannelObject> channel_object) -> ChannelObject*;< / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   < / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   < span class = "keyword" > auto< / span > GPGFRONTEND_CORE_EXPORT< / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   GetGlobalFunctionObjectTypeLock(< span class = "keyword" > const< / span > std::type_info& type) -> std::mutex& ;< / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   < / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T> < / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html" > 57< / 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 = "l00058" > < / a > < span class = "lineno" > 58< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61" > 63< / 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 = "l00064" > < / a > < span class = "lineno" > 64< / span >   < / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7" > 70< / 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 = "l00071" > < / a > < span class = "lineno" > 71< / span >   -> < a class = "code" href = "classGpgFrontend_1_1SingletonFunctionObject.html" > SingletonFunctionObject< / a > & = < span class = "keyword" > delete< / span > ;< / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > 72< / span >   < / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f" > 79< / 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 = "l00080" > < / a > < span class = "lineno" > 80< / span >   -> T& {< / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / 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 = "l00082" > < / a > < span class = "lineno" > 82< / span >   < span class = "stringliteral" > " T not derived from SingletonFunctionObject< T> " < / span > );< / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > 83< / span >   < / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > auto< / span > & type = < span class = "keyword" > typeid< / span > (T);< / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > 85< / span >   std::lock_guard< std::mutex> guard(GetGlobalFunctionObjectTypeLock(type));< / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / 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 = "l00087" > < / a > < span class = "lineno" > 87< / span >   < span class = "keywordflow" > if< / span > (channel_object == < span class = "keyword" > nullptr< / span > ) {< / div >
< div class = "line" > < a name = "l00088" > < / a > < span class = "lineno" > 88< / span >   channel_object = CreateChannelObjectInstance(< / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > 89< / span >   type, channel,< / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   ConvertToChannelObjectPtr(SecureCreateUniqueObject< T> (channel)));< / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   }< / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > 92< / 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 = "l00093" > < / a > < span class = "lineno" > 93< / span >   }< / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   < / div >
< div class = "line" > < a name = "l00102" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#adff3ff15fc67b7e9cdeeb2577541fbc4" > 102< / 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 = "l00103" > < / a > < span class = "lineno" > 103< / 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 = "l00104" > < / a > < span class = "lineno" > 104< / 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 = "l00105" > < / a > < span class = "lineno" > 105< / span >   < span class = "stringliteral" > " T not derived from SingletonFunctionObject< T> " < / span > );< / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / span >   < / div >
< div class = "line" > < a name = "l00107" > < / a > < span class = "lineno" > 107< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > auto< / span > & type = < span class = "keyword" > typeid< / span > (T);< / div >
< div class = "line" > < a name = "l00108" > < / a > < span class = "lineno" > 108< / span >   std::lock_guard< std::mutex> guard(GetGlobalFunctionObjectTypeLock(type));< / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   < span class = "keywordflow" > return< / span > *< span class = "keyword" > static_cast< < / span > T*< span class = "keyword" > > < / span > (< / div >
< div class = "line" > < a name = "l00110" > < / a > < span class = "lineno" > 110< / span >   CreateChannelObjectInstance(type, channel, factory()));< / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   }< / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   < / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106" > 119< / 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 = "l00120" > < / a > < span class = "lineno" > 120< / span >   < a class = "code" href = "classGpgFrontend_1_1SingletonStorageCollection.html#a4bba0f1f2880648909af6824bcef9568" > SingletonStorageCollection::GetInstance< / a > (< span class = "keyword" > false< / span > )< / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / span >   -> GetSingletonStorage(< span class = "keyword" > typeid< / span > (T))< / div >
< div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   -> ReleaseChannel(channel);< / div >
< div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / span >   }< / div >
< div class = "line" > < a name = "l00124" > < / a > < span class = "lineno" > 124< / span >   < / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc" > 130< / 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 = "l00131" > < / a > < span class = "lineno" > 131< / span >   < span class = "keywordflow" > return< / span > < a class = "code" href = "classGpgFrontend_1_1ChannelObject.html#a6a3672c8ff3d4fb5ef6bc1bda202bbb8" > ChannelObject::GetDefaultChannel< / a > ();< / div >
< div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > 132< / span >   }< / div >
< div class = "line" > < a name = "l00133" > < / a > < span class = "lineno" > 133< / span >   < / div >
< div class = "line" > < a name = "l00139" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5" > 139< / 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 = "l00140" > < / a > < span class = "lineno" > 140< / span >   < span class = "keywordflow" > return< / span > < a class = "code" href = "classGpgFrontend_1_1ChannelObject.html#a085b36517fcc46916279b9d633da2d26" > ChannelObject::GetChannel< / a > ();< / div >
< div class = "line" > < a name = "l00141" > < / a > < span class = "lineno" > 141< / span >   }< / div >
< div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   < / div >
< div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#aa7b5db19f3a130886f43607a345a0e1d" > 148< / 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 = "l00149" > < / a > < span class = "lineno" > 149< / 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 = "l00150" > < / a > < span class = "lineno" > 150< / span >   -> GetSingletonStorage(< span class = "keyword" > typeid< / span > (T))< / div >
< div class = "line" > < a name = "l00151" > < / a > < span class = "lineno" > 151< / span >   -> GetAllChannelId();< / div >
< div class = "line" > < a name = "l00152" > < / a > < span class = "lineno" > 152< / span >   }< / div >
< div class = "line" > < a name = "l00153" > < / a > < span class = "lineno" > 153< / span >   < / div >
< div class = "line" > < a name = "l00158" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a" > 158< / 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 = "l00159" > < / a > < span class = "lineno" > 159< / span >   < / div >
< div class = "line" > < a name = "l00164" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645" > 164< / 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 = "l00165" > < / a > < span class = "lineno" > 165< / span >   < / div >
< div class = "line" > < a name = "l00170" > < / a > < span class = "lineno" > 170< / 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 = "l00171" > < / a > < span class = "lineno" > 171< / span >   < / div >
< div class = "line" > < a name = "l00172" > < / a > < span class = "lineno" > 172< / span >   < span class = "keyword" > protected< / span > :< / div >
< div class = "line" > < a name = "l00177" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258" > 177< / a > < / span >   < a class = "code" href = "classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258" > SingletonFunctionObject< / a > () = < span class = "keywordflow" > default< / span > ;< / div >
< div class = "line" > < a name = "l00178" > < / a > < span class = "lineno" > 178< / span >   < / div >
< div class = "line" > < a name = "l00184" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251" > 184< / 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 = "l00185" > < / a > < span class = "lineno" > 185< / span >   : < a class = "code" href = "classGpgFrontend_1_1ChannelObject.html" > ChannelObject< / a > (channel, typeid(T).name()) {}< / div >
< div class = "line" > < a name = "l00186" > < / a > < span class = "lineno" > 186< / span >   < / div >
< div class = "line" > < a name = "l00191" > < / a > < span class = "lineno" > < a class = "line" href = "classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc" > 191< / 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 = "l00192" > < / a > < span class = "lineno" > 192< / span >   };< / div >
< div class = "line" > < a name = "l00193" > < / a > < span class = "lineno" > 193< / span >   } < span class = "comment" > // namespace GpgFrontend< / span > < / div >
2024-01-23 07:22:33 +00:00
< 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 >
2024-04-21 19:50:14 +00:00
< 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:57< / div > < / div >
2022-11-26 18:19:17 +00:00
< 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 >
2024-04-21 19:50:14 +00:00
< 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:184< / div > < / div >
2022-11-26 18:19:17 +00:00
< 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 >
2022-05-08 22:01:23 +00:00
< 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 >
2024-04-21 19:50:14 +00:00
< 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:139< / div > < / div >
2024-01-23 07:22:33 +00:00
< 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 >
2024-04-21 19:50:14 +00:00
< 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:148< / div > < / div >
2022-11-26 18:19:17 +00:00
< 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 >
2024-04-21 19:50:14 +00:00
< 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:119< / 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:79< / 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:130< / 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:102< / div > < / div >
2024-01-23 07:22:33 +00:00
< 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 >
2024-01-30 05:39:43 +00:00
< 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 >
2024-01-23 07:22:33 +00:00
< 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 >
2022-11-26 18:19:17 +00:00
< / div > <!-- fragment --> < / div > <!-- contents -->
< / div > <!-- doc - content -->
2022-05-08 19:59:26 +00:00
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
2024-01-23 07:22:33 +00:00
< 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 >
2022-11-26 18:19:17 +00:00
< 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 >
2022-05-08 19:59:26 +00:00
< / ul >
< / div >
< / body >
< / html >