213 lines
12 KiB
HTML
213 lines
12 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.8.17"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>GpgFrontend Project: GpgFrontend::SingletonStorageCollection 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.8.17 -->
|
||
|
<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');
|
||
|
/* @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.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-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">GpgFrontend::SingletonStorageCollection Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for GpgFrontend::SingletonStorageCollection:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><img src="classGpgFrontend_1_1SingletonStorageCollection__coll__graph.png" border="0" usemap="#GpgFrontend_1_1SingletonStorageCollection_coll__map" alt="Collaboration graph"/></div>
|
||
|
<map name="GpgFrontend_1_1SingletonStorageCollection_coll__map" id="GpgFrontend_1_1SingletonStorageCollection_coll__map">
|
||
|
<area shape="rect" title=" " alt="" coords="5,1220,229,1327"/>
|
||
|
<area shape="rect" title="STL class." alt="" coords="47,557,190,635"/>
|
||
|
<area shape="rect" href="classGpgFrontend_1_1SingletonStorage.html" title=" " alt="" coords="505,712,729,833"/>
|
||
|
<area shape="rect" title=" " alt="" coords="189,1051,387,1157"/>
|
||
|
<area shape="rect" title=" " alt="" coords="509,896,726,988"/>
|
||
|
<area shape="rect" title=" " alt="" coords="449,543,647,649"/>
|
||
|
<area shape="rect" title=" " alt="" coords="427,359,645,451"/>
|
||
|
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system" alt="" coords="368,145,576,296"/>
|
||
|
<area shape="rect" title="STL class." alt="" coords="600,182,757,259"/>
|
||
|
<area shape="rect" title=" " alt="" coords="205,5,243,83"/>
|
||
|
<area shape="rect" title="STL class." alt="" coords="245,366,379,443"/>
|
||
|
<area shape="rect" title=" " alt="" coords="305,182,343,259"/>
|
||
|
</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:a6f933390c54b7f55d5ffb4624074725f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1SingletonStorage.html">SingletonStorage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#a6f933390c54b7f55d5ffb4624074725f">GetSingletonStorage</a> (const std::type_info &)</td></tr>
|
||
|
<tr class="memdesc:a6f933390c54b7f55d5ffb4624074725f"><td class="mdescLeft"> </td><td class="mdescRight">Get the Singleton Storage object. <a href="classGpgFrontend_1_1SingletonStorageCollection.html#a6f933390c54b7f55d5ffb4624074725f">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a6f933390c54b7f55d5ffb4624074725f"><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:a16b4729ca79dcdccc794df70aa2a5aaf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html">SingletonStorageCollection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#a16b4729ca79dcdccc794df70aa2a5aaf">GetInstance</a> ()</td></tr>
|
||
|
<tr class="memdesc:a16b4729ca79dcdccc794df70aa2a5aaf"><td class="mdescLeft"> </td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonStorageCollection.html#a16b4729ca79dcdccc794df70aa2a5aaf">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a16b4729ca79dcdccc794df70aa2a5aaf"><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:ab648cb257beb2475eb5fca6453c331f9"><td class="memItemLeft" align="right" valign="top"><a id="ab648cb257beb2475eb5fca6453c331f9"></a>
|
||
|
std::shared_mutex </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html#ab648cb257beb2475eb5fca6453c331f9">storages_mutex_</a></td></tr>
|
||
|
<tr class="memdesc:ab648cb257beb2475eb5fca6453c331f9"><td class="mdescLeft"> </td><td class="mdescRight">mutex for storages_map_ <br /></td></tr>
|
||
|
<tr class="separator:ab648cb257beb2475eb5fca6453c331f9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae28930630a2dce804cff5589155aadfc"><td class="memItemLeft" align="right" valign="top"><a id="ae28930630a2dce804cff5589155aadfc"></a>
|
||
|
std::map< size_t, std::unique_ptr< <a class="el" href="classGpgFrontend_1_1SingletonStorage.html">SingletonStorage</a> > > </td><td class="memItemRight" valign="bottom"><b>storages_map_</b></td></tr>
|
||
|
<tr class="separator:ae28930630a2dce804cff5589155aadfc"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a id="a16b4729ca79dcdccc794df70aa2a5aaf"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a16b4729ca79dcdccc794df70aa2a5aaf">◆ </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"><a class="el" href="classGpgFrontend_1_1SingletonStorageCollection.html">GpgFrontend::SingletonStorageCollection</a> * GpgFrontend::SingletonStorageCollection::GetInstance </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><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>
|
||
|
|
||
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518">GpgFrontend::SingletonFunctionObject< GpgContext >::CreateInstance()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">GpgFrontend::SingletonFunctionObject< GpgContext >::GetAllChannelId()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106">GpgFrontend::SingletonFunctionObject< GpgContext >::ReleaseChannel()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a6f933390c54b7f55d5ffb4624074725f"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a6f933390c54b7f55d5ffb4624074725f">◆ </a></span>GetSingletonStorage()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classGpgFrontend_1_1SingletonStorage.html">GpgFrontend::SingletonStorage</a> * GpgFrontend::SingletonStorageCollection::GetSingletonStorage </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::type_info & </td>
|
||
|
<td class="paramname"><em>type_id</em></td><td>)</td>
|
||
|
<td></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">Referenced by <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518">GpgFrontend::SingletonFunctionObject< GpgContext >::CreateInstance()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">GpgFrontend::SingletonFunctionObject< GpgContext >::GetAllChannelId()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106">GpgFrontend::SingletonFunctionObject< GpgContext >::ReleaseChannel()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
||
|
<li>src/core/<a class="el" href="GpgFunctionObject_8h_source.html">GpgFunctionObject.h</a></li>
|
||
|
<li>src/core/GpgFunctionObject.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="footer">Generated by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|