/usr/share/doc/libucommon-dev/a00077.html is in libucommon-doc 3.2.0-0ubuntu1.
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 | <!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"/>
<title>UCommon: ucc::mapped_view< T > Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</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>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<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 class="navpath"><a class="el" href="a00214.html">ucc</a>::<a class="el" href="a00077.html">mapped_view</a>
</div>
</div>
<div class="contents">
<h1>ucc::mapped_view< T > Class Template Reference</h1><!-- doxytag: class="ucc::mapped_view" --><!-- doxytag: inherits="ucc::MappedMemory" -->
<p>Class to access a named mapped segment published from another process.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="a00196_source.html">mapped.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for ucc::mapped_view< T >:</div>
<div class="dynsection">
<div class="center"><img src="a00433.png" border="0" usemap="#ucc_1_1mapped__view_3_01_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1mapped__view_3_01_t_01_4_inherit__map" id="ucc_1_1mapped__view_3_01_t_01_4_inherit__map">
<area shape="rect" id="node2" href="a00078.html" title="Construct or access a named section of memory." alt="" coords="16,5,171,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ucc::mapped_view< T >:</div>
<div class="dynsection">
<div class="center"><img src="a00434.png" border="0" usemap="#ucc_1_1mapped__view_3_01_t_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1mapped__view_3_01_t_01_4_coll__map" id="ucc_1_1mapped__view_3_01_t_01_4_coll__map">
<area shape="rect" id="node2" href="a00078.html" title="Construct or access a named section of memory." alt="" coords="16,5,171,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00077.html#a865b3e4aff6956ff94a2aa7029fafd0b">getCount</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get count of typed member objects held in this map. <a href="#a865b3e4aff6956ff94a2aa7029fafd0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00077.html#ae16b403d74737f765f802e025f9daa3a">mapped_view</a> (const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Map existing named memory segment. <a href="#ae16b403d74737f765f802e025f9daa3a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">volatile const T * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00077.html#a508cb83d181e62551f8f1113c8750f30">operator()</a> (unsigned member)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Access typed member object in the mapped segment. <a href="#a508cb83d181e62551f8f1113c8750f30"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">volatile const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00077.html#aa33c0c9930c82f549bc096e85c59c3d1">operator[]</a> (unsigned member)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reference typed member object in the mapped segment. <a href="#aa33c0c9930c82f549bc096e85c59c3d1"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template<class T><br/>
class ucc::mapped_view< T ></h3>
<p>Class to access a named mapped segment published from another process. </p>
<p>This offers a simple typed vector interface to access the shared memory segment in read-only mode. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar <<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>> </dd></dl>
<p>Definition at line <a class="el" href="a00196_source.html#l00454">454</a> of file <a class="el" href="a00196_source.html">mapped.h</a>.</p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="ae16b403d74737f765f802e025f9daa3a"></a><!-- doxytag: member="ucc::mapped_view::mapped_view" ref="ae16b403d74737f765f802e025f9daa3a" args="(const char *name)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00077.html">ucc::mapped_view</a>< T >::<a class="el" href="a00077.html">mapped_view</a> </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>name</em></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Map existing named memory segment. </p>
<p>The size of the map is derived from the existing map alone. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>of memory segment to map. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="a00196_source.html#l00462">462</a> of file <a class="el" href="a00196_source.html">mapped.h</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a865b3e4aff6956ff94a2aa7029fafd0b"></a><!-- doxytag: member="ucc::mapped_view::getCount" ref="a865b3e4aff6956ff94a2aa7029fafd0b" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="a00077.html">ucc::mapped_view</a>< T >::getCount </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get count of typed member objects held in this map. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>count of typed member objects. </dd></dl>
<p>Definition at line <a class="el" href="a00196_source.html#l00485">485</a> of file <a class="el" href="a00196_source.html">mapped.h</a>.</p>
</div>
</div>
<a class="anchor" id="a508cb83d181e62551f8f1113c8750f30"></a><!-- doxytag: member="ucc::mapped_view::operator()" ref="a508cb83d181e62551f8f1113c8750f30" args="(unsigned member)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="memname">
<tr>
<td class="memname">volatile const T* <a class="el" href="a00077.html">ucc::mapped_view</a>< T >::operator() </td>
<td>(</td>
<td class="paramtype">unsigned </td>
<td class="paramname"> <em>member</em></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Access typed member object in the mapped segment. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>member</em> </td><td>to access. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>typed object pointer. </dd></dl>
<p>Definition at line <a class="el" href="a00196_source.html#l00470">470</a> of file <a class="el" href="a00196_source.html">mapped.h</a>.</p>
</div>
</div>
<a class="anchor" id="aa33c0c9930c82f549bc096e85c59c3d1"></a><!-- doxytag: member="ucc::mapped_view::operator[]" ref="aa33c0c9930c82f549bc096e85c59c3d1" args="(unsigned member)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="memname">
<tr>
<td class="memname">volatile const T& <a class="el" href="a00077.html">ucc::mapped_view</a>< T >::operator[] </td>
<td>(</td>
<td class="paramtype">unsigned </td>
<td class="paramname"> <em>member</em></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reference typed member object in the mapped segment. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>member</em> </td><td>to access. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>typed object reference. </dd></dl>
<p>Definition at line <a class="el" href="a00196_source.html#l00478">478</a> of file <a class="el" href="a00196_source.html">mapped.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00196_source.html">mapped.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:34 2010 for UCommon by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
|