/usr/share/doc/mia-2.0/libdoc/classTHandlerSingleton.html is in libmia-2.0-doc 2.0.13-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6"/>
<title>THandlerSingleton< T > Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-static-attribs">Static Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">THandlerSingleton< T > Class Template Reference<div class="ingroups"><a class="el" href="group__plugin.html">Plug-in handling</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>the singleton that a plug-in handler really is
<a href="classTHandlerSingleton.html#details">More...</a></p>
<p><code>#include <<a class="el" href="handler_8hh_source.html">mia/core/handler.hh</a>></code></p>
<div class="dynheader">
Inheritance diagram for THandlerSingleton< T >:</div>
<div class="dyncontent">
<div class="center">
<img src="classTHandlerSingleton.png" usemap="#THandlerSingleton< T >_map" alt=""/>
<map id="THandlerSingleton< T >_map" name="THandlerSingleton< T >_map">
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a988ab98d885b7d4ec2ed47117075012f"><td class="memItemLeft" align="right" valign="top">typedef T::const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHandlerSingleton.html#a988ab98d885b7d4ec2ed47117075012f">const_iterator</a></td></tr>
<tr class="memdesc:a988ab98d885b7d4ec2ed47117075012f"><td class="mdescLeft"> </td><td class="mdescRight">iterator to iterator over the actual plug-ins <a href="#a988ab98d885b7d4ec2ed47117075012f">More...</a><br/></td></tr>
<tr class="separator:a988ab98d885b7d4ec2ed47117075012f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af5d7f5b9fd933d049a9c2fab3aee50df"><td class="memItemLeft" align="right" valign="top">typedef T </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHandlerSingleton.html#af5d7f5b9fd933d049a9c2fab3aee50df">Instance</a></td></tr>
<tr class="memdesc:af5d7f5b9fd933d049a9c2fab3aee50df"><td class="mdescLeft"> </td><td class="mdescRight">The instance of the plugin handler. <a href="#af5d7f5b9fd933d049a9c2fab3aee50df">More...</a><br/></td></tr>
<tr class="separator:af5d7f5b9fd933d049a9c2fab3aee50df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a848d8620ac08ca1288f58177fe66639a"><td class="memItemLeft" align="right" valign="top">typedef T::CPluginMap::value_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHandlerSingleton.html#a848d8620ac08ca1288f58177fe66639a">value_type</a></td></tr>
<tr class="memdesc:a848d8620ac08ca1288f58177fe66639a"><td class="mdescLeft"> </td><td class="mdescRight">the name,plug-in pair <a href="#a848d8620ac08ca1288f58177fe66639a">More...</a><br/></td></tr>
<tr class="separator:a848d8620ac08ca1288f58177fe66639a"><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:a842cda5715550fbc87a7a5f180e5a651"><td class="memItemLeft" align="right" valign="top">static const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHandlerSingleton.html#a842cda5715550fbc87a7a5f180e5a651">instance</a> ()</td></tr>
<tr class="separator:a842cda5715550fbc87a7a5f180e5a651"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea2ada118daa84f8e419119555d88c8b"><td class="memItemLeft" align="right" valign="top">static const T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHandlerSingleton.html#aea2ada118daa84f8e419119555d88c8b">pointer</a> ()</td></tr>
<tr class="separator:aea2ada118daa84f8e419119555d88c8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a98407dc7945db996f6c254b36b6ee9d9"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHandlerSingleton.html#a98407dc7945db996f6c254b36b6ee9d9">set_search_path</a> (const <a class="el" href="filetools_8hh.html#a2a1a4db9b9c02a2685770eeaabac7a50">CPathNameArray</a> &searchpath)</td></tr>
<tr class="separator:a98407dc7945db996f6c254b36b6ee9d9"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a74179310eac6776a2e9aca0f65eabe1f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="defines_8hh.html#a1faa4cba88340ffda2db99a710898302">CMutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTHandlerSingleton.html#a74179310eac6776a2e9aca0f65eabe1f">m_creation_mutex</a></td></tr>
<tr class="separator:a74179310eac6776a2e9aca0f65eabe1f"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<typename T><br/>
class THandlerSingleton< T ></h3>
<p>the singleton that a plug-in handler really is </p>
<p>Class to make a singleton out of a plugin handler by deriving from it. </p>
<p>Definition at line <a class="el" href="handler_8hh_source.html#l00143">143</a> of file <a class="el" href="handler_8hh_source.html">handler.hh</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a988ab98d885b7d4ec2ed47117075012f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="memname">
<tr>
<td class="memname">typedef T::const_iterator <a class="el" href="classTHandlerSingleton.html">THandlerSingleton</a>< T >::<a class="el" href="classTHandlerSingleton.html#a988ab98d885b7d4ec2ed47117075012f">const_iterator</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>iterator to iterator over the actual plug-ins </p>
<p>Definition at line <a class="el" href="handler_8hh_source.html#l00156">156</a> of file <a class="el" href="handler_8hh_source.html">handler.hh</a>.</p>
</div>
</div>
<a class="anchor" id="af5d7f5b9fd933d049a9c2fab3aee50df"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="memname">
<tr>
<td class="memname">typedef T <a class="el" href="classTHandlerSingleton.html">THandlerSingleton</a>< T >::<a class="el" href="classTHandlerSingleton.html#af5d7f5b9fd933d049a9c2fab3aee50df">Instance</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The instance of the plugin handler. </p>
<p>Definition at line <a class="el" href="handler_8hh_source.html#l00153">153</a> of file <a class="el" href="handler_8hh_source.html">handler.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a848d8620ac08ca1288f58177fe66639a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="memname">
<tr>
<td class="memname">typedef T::CPluginMap::value_type <a class="el" href="classTHandlerSingleton.html">THandlerSingleton</a>< T >::<a class="el" href="classTHandlerSingleton.html#a848d8620ac08ca1288f58177fe66639a">value_type</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>the name,plug-in pair </p>
<dl class="section remark"><dt>Remarks</dt><dd>why do I need this </dd></dl>
<p>Definition at line <a class="el" href="handler_8hh_source.html#l00159">159</a> of file <a class="el" href="handler_8hh_source.html">handler.hh</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a842cda5715550fbc87a7a5f180e5a651"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static const T& <a class="el" href="classTHandlerSingleton.html">THandlerSingleton</a>< T >::instance </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">
<dl class="section return"><dt>Returns</dt><dd>a reference to the only instance of the plugin handler </dd></dl>
<p>Referenced by <a class="el" href="3d_2filter_8hh_source.html#l00121">create_filter_chain()</a>, <a class="el" href="2d_2transformio_8hh_source.html#l00059">load_2dtransform()</a>, <a class="el" href="3d_2transformio_8hh_source.html#l00055">load_3dtransform()</a>, <a class="el" href="2d_2shape_8hh_source.html#l00060">produce_2d_shape()</a>, <a class="el" href="2d_2fullcost_8hh_source.html#l00054">produce_2dfullcost()</a>, <a class="el" href="2d_2filter_8hh_source.html#l00071">produce_2dimage_filter()</a>, <a class="el" href="2d_2transformfactory_8hh_source.html#l00059">produce_2dtransform_factory()</a>, <a class="el" href="3d_2filter_8hh_source.html#l00149">produce_3dimage_filter()</a>, <a class="el" href="3d_2transformfactory_8hh_source.html#l00062">produce_3dtransform_factory()</a>, <a class="el" href="mesh_2filter_8hh_source.html#l00070">produce_mesh_filter()</a>, <a class="el" href="minimizer_8hh_source.html#l00236">produce_minimizer()</a>, <a class="el" href="spacial__kernel_8hh_source.html#l00171">produce_spacial_kernel()</a>, <a class="el" href="boundary__conditions_8hh_source.html#l00206">produce_spline_boundary_condition()</a>, <a class="el" href="splinekernel_8hh_source.html#l00308">produce_spline_kernel()</a>, and <a class="el" href="2d_2transformio_8hh_source.html#l00083">save_transform()</a>.</p>
</div>
</div>
<a class="anchor" id="aea2ada118daa84f8e419119555d88c8b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static const T* <a class="el" href="classTHandlerSingleton.html">THandlerSingleton</a>< T >::pointer </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">
<dl class="section return"><dt>Returns</dt><dd>a pointer to the only instance of the plugin handler, it is possible that this instance is not yet initialized. </dd></dl>
</div>
</div>
<a class="anchor" id="a98407dc7945db996f6c254b36b6ee9d9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void <a class="el" href="classTHandlerSingleton.html">THandlerSingleton</a>< T >::set_search_path </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="filetools_8hh.html#a2a1a4db9b9c02a2685770eeaabac7a50">CPathNameArray</a> & </td>
<td class="paramname"><em>searchpath</em></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>Set the plugin search path for the plug-in - throws "runtime_error" if the plugin handler is already instanciated. </p>
</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a74179310eac6776a2e9aca0f65eabe1f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="defines_8hh.html#a1faa4cba88340ffda2db99a710898302">CMutex</a> <a class="el" href="classTHandlerSingleton.html">THandlerSingleton</a>< T >::m_creation_mutex</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This mutex ensures that each Singleton is indeed only created once and no race condition happens within a multi-threaded environmnet </p>
<p>Definition at line <a class="el" href="handler_8hh_source.html#l00175">175</a> of file <a class="el" href="handler_8hh_source.html">handler.hh</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="handler_8hh_source.html">handler.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 25 2014 23:52:10 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
|