243 lines
13 KiB
HTML
243 lines
13 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::SingletonStorageCollection::Impl Class 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&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('classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.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> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GpgFrontend::SingletonStorageCollection::Impl Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Collaboration diagram for GpgFrontend::SingletonStorageCollection::Impl:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1SingletonStorageCollection_1_1Impl_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aGpgFrontend_1_1SingletonStorageCollection_1_1Impl_coll__map" id="aGpgFrontend_1_1SingletonStorageCollection_1_1Impl_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="41,455,265,576"/>
|
|
<area shape="rect" title=" " alt="" coords="5,307,148,385"/>
|
|
<area shape="rect" title=" " alt="" coords="172,300,373,392"/>
|
|
<area shape="rect" title=" " alt="" coords="102,145,259,223"/>
|
|
<area shape="rect" title=" " alt="" coords="193,5,232,83"/>
|
|
<area shape="rect" title=" " alt="" coords="284,145,419,223"/>
|
|
<area shape="rect" title=" " alt="" coords="333,5,372,83"/>
|
|
</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:ab57bdb5e019e4c1d0b56931b51347507"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html#ab57bdb5e019e4c1d0b56931b51347507">GetSingletonStorage</a> (const std::type_info &type_id) -> <a class="el" href="classGpgFrontend_1_1SingletonStorage.html">SingletonStorage</a> *</td></tr>
|
|
<tr class="memdesc:ab57bdb5e019e4c1d0b56931b51347507"><td class="mdescLeft"> </td><td class="mdescRight">Get the Singleton Storage object. <a href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html#ab57bdb5e019e4c1d0b56931b51347507">More...</a><br /></td></tr>
|
|
<tr class="separator:ab57bdb5e019e4c1d0b56931b51347507"><td class="memSeparator" colspan="2"> </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:a9cdea3d2b2d2776f241d2a871d233dd5"><td class="memItemLeft" align="right" valign="top">static auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html#a9cdea3d2b2d2776f241d2a871d233dd5">GetInstance</a> (bool force_refresh) -> <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html">SingletonStorageCollection</a> *</td></tr>
|
|
<tr class="memdesc:a9cdea3d2b2d2776f241d2a871d233dd5"><td class="mdescLeft"> </td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html#a9cdea3d2b2d2776f241d2a871d233dd5">More...</a><br /></td></tr>
|
|
<tr class="separator:a9cdea3d2b2d2776f241d2a871d233dd5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac54d39d57fc7e6edd8d3b9d8b715c643"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html#ac54d39d57fc7e6edd8d3b9d8b715c643">Destroy</a> ()</td></tr>
|
|
<tr class="memdesc:ac54d39d57fc7e6edd8d3b9d8b715c643"><td class="mdescLeft"> </td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html#ac54d39d57fc7e6edd8d3b9d8b715c643">More...</a><br /></td></tr>
|
|
<tr class="separator:ac54d39d57fc7e6edd8d3b9d8b715c643"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a10851118e959ef798ae9c534dac74824"><td class="memItemLeft" align="right" valign="top"><a id="a10851118e959ef798ae9c534dac74824"></a>
|
|
std::shared_mutex </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html#a10851118e959ef798ae9c534dac74824">storages_mutex_</a></td></tr>
|
|
<tr class="memdesc:a10851118e959ef798ae9c534dac74824"><td class="mdescLeft"> </td><td class="mdescRight">mutex for storages_map_ <br /></td></tr>
|
|
<tr class="separator:a10851118e959ef798ae9c534dac74824"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a220d0588d590b230b5ca2f641b0076f4"><td class="memItemLeft" align="right" valign="top"><a id="a220d0588d590b230b5ca2f641b0076f4"></a>
|
|
std::map< size_t, SingletonStoragePtr > </td><td class="memItemRight" valign="bottom"><b>storages_map_</b></td></tr>
|
|
<tr class="separator:a220d0588d590b230b5ca2f641b0076f4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="ac54d39d57fc7e6edd8d3b9d8b715c643"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac54d39d57fc7e6edd8d3b9d8b715c643">◆ </a></span>Destroy()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static void GpgFrontend::SingletonStorageCollection::Impl::Destroy </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 Instance object. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>SingletonStorageCollection* </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9cdea3d2b2d2776f241d2a871d233dd5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9cdea3d2b2d2776f241d2a871d233dd5">◆ </a></span>GetInstance()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static auto GpgFrontend::SingletonStorageCollection::Impl::GetInstance </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>force_refresh</em></td><td>)</td>
|
|
<td> -> <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html">SingletonStorageCollection</a>* </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="section return"><dt>Returns</dt><dd>SingletonStorageCollection* </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab57bdb5e019e4c1d0b56931b51347507"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab57bdb5e019e4c1d0b56931b51347507">◆ </a></span>GetSingletonStorage()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto GpgFrontend::SingletonStorageCollection::Impl::GetSingletonStorage </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::type_info & </td>
|
|
<td class="paramname"><em>type_id</em></td><td>)</td>
|
|
<td> -> <a class="el" href="classGpgFrontend_1_1SingletonStorage.html">SingletonStorage</a>* </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 Singleton Storage object. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">singleton_function_object</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>SingletonStorage* </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html#a10851118e959ef798ae9c534dac74824">storages_mutex_</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/core/function/basic/SingletonStorageCollection.cpp</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_1SingletonStorageCollection.html">SingletonStorageCollection</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection_1_1Impl.html">Impl</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>
|