1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml">
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
---|
5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
---|
6 | <meta name="generator" content="Doxygen 1.8.7"/>
|
---|
7 | <title>Flair: flair::core::SharedMem Class Reference</title>
|
---|
8 | <link href="tabs.css" rel="stylesheet" type="text/css"/>
|
---|
9 | <script type="text/javascript" src="jquery.js"></script>
|
---|
10 | <script type="text/javascript" src="dynsections.js"></script>
|
---|
11 | <link href="navtree.css" rel="stylesheet" type="text/css"/>
|
---|
12 | <script type="text/javascript" src="resize.js"></script>
|
---|
13 | <script type="text/javascript" src="navtree.js"></script>
|
---|
14 | <script type="text/javascript">
|
---|
15 | $(document).ready(initResizable);
|
---|
16 | $(window).load(resizeHeight);
|
---|
17 | </script>
|
---|
18 | <link href="search/search.css" rel="stylesheet" type="text/css"/>
|
---|
19 | <script type="text/javascript" src="search/search.js"></script>
|
---|
20 | <script type="text/javascript">
|
---|
21 | $(document).ready(function() { searchBox.OnSelectItem(0); });
|
---|
22 | </script>
|
---|
23 | <link href="doxygen.css" rel="stylesheet" type="text/css" />
|
---|
24 | </head>
|
---|
25 | <body>
|
---|
26 | <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
---|
27 | <div id="titlearea">
|
---|
28 | <table cellspacing="0" cellpadding="0">
|
---|
29 | <tbody>
|
---|
30 | <tr style="height: 56px;">
|
---|
31 | <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
|
---|
32 | <td style="padding-left: 0.5em;">
|
---|
33 | <div id="projectname">Flair
|
---|
34 | </div>
|
---|
35 | <div id="projectbrief">Framework Libre Air</div>
|
---|
36 | </td>
|
---|
37 | </tr>
|
---|
38 | </tbody>
|
---|
39 | </table>
|
---|
40 | </div>
|
---|
41 | <!-- end header part -->
|
---|
42 | <!-- Generated by Doxygen 1.8.7 -->
|
---|
43 | <script type="text/javascript">
|
---|
44 | var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
---|
45 | </script>
|
---|
46 | <div id="navrow1" class="tabs">
|
---|
47 | <ul class="tablist">
|
---|
48 | <li><a href="index.html"><span>Main Page</span></a></li>
|
---|
49 | <li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
---|
50 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
---|
51 | <li><a href="files.html"><span>Files</span></a></li>
|
---|
52 | <li>
|
---|
53 | <div id="MSearchBox" class="MSearchBoxInactive">
|
---|
54 | <span class="left">
|
---|
55 | <img id="MSearchSelect" src="search/mag_sel.png"
|
---|
56 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
57 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
58 | alt=""/>
|
---|
59 | <input type="text" id="MSearchField" value="Search" accesskey="S"
|
---|
60 | onfocus="searchBox.OnSearchFieldFocus(true)"
|
---|
61 | onblur="searchBox.OnSearchFieldFocus(false)"
|
---|
62 | onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
---|
63 | </span><span class="right">
|
---|
64 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
---|
65 | </span>
|
---|
66 | </div>
|
---|
67 | </li>
|
---|
68 | </ul>
|
---|
69 | </div>
|
---|
70 | <div id="navrow2" class="tabs2">
|
---|
71 | <ul class="tablist">
|
---|
72 | <li><a href="annotated.html"><span>Class List</span></a></li>
|
---|
73 | <li><a href="classes.html"><span>Class Index</span></a></li>
|
---|
74 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
---|
75 | <li><a href="functions.html"><span>Class Members</span></a></li>
|
---|
76 | </ul>
|
---|
77 | </div>
|
---|
78 | </div><!-- top -->
|
---|
79 | <div id="side-nav" class="ui-resizable side-nav-resizable">
|
---|
80 | <div id="nav-tree">
|
---|
81 | <div id="nav-tree-contents">
|
---|
82 | <div id="nav-sync" class="sync"></div>
|
---|
83 | </div>
|
---|
84 | </div>
|
---|
85 | <div id="splitbar" style="-moz-user-select:none;"
|
---|
86 | class="ui-resizable-handle">
|
---|
87 | </div>
|
---|
88 | </div>
|
---|
89 | <script type="text/javascript">
|
---|
90 | $(document).ready(function(){initNavTree('classflair_1_1core_1_1_shared_mem.html','');});
|
---|
91 | </script>
|
---|
92 | <div id="doc-content">
|
---|
93 | <!-- window showing the filter options -->
|
---|
94 | <div id="MSearchSelectWindow"
|
---|
95 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
96 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
97 | onkeydown="return searchBox.OnSearchSelectKey(event)">
|
---|
98 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Properties</a></div>
|
---|
99 |
|
---|
100 | <!-- iframe showing the search results (closed by default) -->
|
---|
101 | <div id="MSearchResultsWindow">
|
---|
102 | <iframe src="javascript:void(0)" frameborder="0"
|
---|
103 | name="MSearchResults" id="MSearchResults">
|
---|
104 | </iframe>
|
---|
105 | </div>
|
---|
106 |
|
---|
107 | <div class="header">
|
---|
108 | <div class="summary">
|
---|
109 | <a href="#pub-methods">Public Member Functions</a> |
|
---|
110 | <a href="classflair_1_1core_1_1_shared_mem-members.html">List of all members</a> </div>
|
---|
111 | <div class="headertitle">
|
---|
112 | <div class="title">flair::core::SharedMem Class Reference</div> </div>
|
---|
113 | </div><!--header-->
|
---|
114 | <div class="contents">
|
---|
115 |
|
---|
116 | <p>Class defining a shared memory.
|
---|
117 | <a href="classflair_1_1core_1_1_shared_mem.html#details">More...</a></p>
|
---|
118 |
|
---|
119 | <p><code>#include <<a class="el" href="_shared_mem_8h_source.html">SharedMem.h</a>></code></p>
|
---|
120 | <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
|
---|
121 | <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for flair::core::SharedMem:</div>
|
---|
122 | <div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
---|
123 | </div>
|
---|
124 | <div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
---|
125 | <div class="center">
|
---|
126 | <img src="classflair_1_1core_1_1_shared_mem.png" usemap="#flair::core::SharedMem_map" alt=""/>
|
---|
127 | <map id="flair::core::SharedMem_map" name="flair::core::SharedMem_map">
|
---|
128 | <area href="classflair_1_1core_1_1_object.html" title="Base class for all Framework's classes. " alt="flair::core::Object" shape="rect" coords="0,0,140,24"/>
|
---|
129 | </map>
|
---|
130 | </div></div>
|
---|
131 | <table class="memberdecls">
|
---|
132 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
---|
133 | Public Member Functions</h2></td></tr>
|
---|
134 | <tr class="memitem:aebdd64cb4a190b25d710a3d069fee033"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_shared_mem.html#aebdd64cb4a190b25d710a3d069fee033">SharedMem</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent, std::string name, size_t size)</td></tr>
|
---|
135 | <tr class="memdesc:aebdd64cb4a190b25d710a3d069fee033"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#aebdd64cb4a190b25d710a3d069fee033">More...</a><br /></td></tr>
|
---|
136 | <tr class="separator:aebdd64cb4a190b25d710a3d069fee033"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
137 | <tr class="memitem:af3f51c01e679a8dd1f6f7c64cee55ed7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_shared_mem.html#af3f51c01e679a8dd1f6f7c64cee55ed7">~SharedMem</a> ()</td></tr>
|
---|
138 | <tr class="memdesc:af3f51c01e679a8dd1f6f7c64cee55ed7"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#af3f51c01e679a8dd1f6f7c64cee55ed7">More...</a><br /></td></tr>
|
---|
139 | <tr class="separator:af3f51c01e679a8dd1f6f7c64cee55ed7"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
140 | <tr class="memitem:a7609d68ab9155055bea84cafaf741392"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_shared_mem.html#a7609d68ab9155055bea84cafaf741392">Write</a> (const char *buf, size_t size)</td></tr>
|
---|
141 | <tr class="memdesc:a7609d68ab9155055bea84cafaf741392"><td class="mdescLeft"> </td><td class="mdescRight">Write. <a href="#a7609d68ab9155055bea84cafaf741392">More...</a><br /></td></tr>
|
---|
142 | <tr class="separator:a7609d68ab9155055bea84cafaf741392"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
143 | <tr class="memitem:a9b3efaf91b3a62a58d4466bcaa03b590"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_shared_mem.html#a9b3efaf91b3a62a58d4466bcaa03b590">Read</a> (char *buf, size_t size) const </td></tr>
|
---|
144 | <tr class="memdesc:a9b3efaf91b3a62a58d4466bcaa03b590"><td class="mdescLeft"> </td><td class="mdescRight">Read. <a href="#a9b3efaf91b3a62a58d4466bcaa03b590">More...</a><br /></td></tr>
|
---|
145 | <tr class="separator:a9b3efaf91b3a62a58d4466bcaa03b590"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
146 | <tr class="inherit_header pub_methods_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
|
---|
147 | <tr class="memitem:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aec92383fd5bf68d9df10414862b7e95c">Object</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent=NULL, std::string name="", std::string type="")</td></tr>
|
---|
148 | <tr class="memdesc:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#aec92383fd5bf68d9df10414862b7e95c">More...</a><br /></td></tr>
|
---|
149 | <tr class="separator:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
150 | <tr class="memitem:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aa2bde0e6677bbef705c96c93cb06ad09">~Object</a> ()</td></tr>
|
---|
151 | <tr class="memdesc:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aa2bde0e6677bbef705c96c93cb06ad09">More...</a><br /></td></tr>
|
---|
152 | <tr class="separator:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
153 | <tr class="memitem:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a9b0344dff7e1c05424d9152c8274523a">ObjectName</a> (void) const </td></tr>
|
---|
154 | <tr class="memdesc:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Name. <a href="#a9b0344dff7e1c05424d9152c8274523a">More...</a><br /></td></tr>
|
---|
155 | <tr class="separator:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
156 | <tr class="memitem:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a609a250ec037fbcaf8957c8f1dcbfc53">ObjectType</a> (void) const </td></tr>
|
---|
157 | <tr class="memdesc:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Type. <a href="#a609a250ec037fbcaf8957c8f1dcbfc53">More...</a><br /></td></tr>
|
---|
158 | <tr class="separator:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
159 | <tr class="memitem:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a360c112cc3017a5152ebf6e84d2efa70">Parent</a> (void) const </td></tr>
|
---|
160 | <tr class="memdesc:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Parent. <a href="#a360c112cc3017a5152ebf6e84d2efa70">More...</a><br /></td></tr>
|
---|
161 | <tr class="separator:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
162 | <tr class="memitem:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#ae22db4d723ec2d50b3ba48f26a6a770c">TypeChilds</a> (void) const </td></tr>
|
---|
163 | <tr class="memdesc:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Childs of the same type. <a href="#ae22db4d723ec2d50b3ba48f26a6a770c">More...</a><br /></td></tr>
|
---|
164 | <tr class="separator:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
165 | <tr class="memitem:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a344f81cd35805a9501098bf727ac1a10">Childs</a> (void) const </td></tr>
|
---|
166 | <tr class="memdesc:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Childs. <a href="#a344f81cd35805a9501098bf727ac1a10">More...</a><br /></td></tr>
|
---|
167 | <tr class="separator:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
168 | <tr class="memitem:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#af001feba14fc053aa778e61080a0b4cf">Information</a> (const char *function, int line, const char *format,...) const </td></tr>
|
---|
169 | <tr class="memdesc:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Formatted information. <a href="#af001feba14fc053aa778e61080a0b4cf">More...</a><br /></td></tr>
|
---|
170 | <tr class="separator:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
171 | <tr class="memitem:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a168b18451b2ee6126e1e81d452005ff6">Warning</a> (const char *function, const char *format,...) const </td></tr>
|
---|
172 | <tr class="memdesc:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Formatted warning. <a href="#a168b18451b2ee6126e1e81d452005ff6">More...</a><br /></td></tr>
|
---|
173 | <tr class="separator:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
174 | <tr class="memitem:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a3ca9694d29ec2b0491739879685df5ca">Error</a> (const char *function, const char *format,...) const </td></tr>
|
---|
175 | <tr class="memdesc:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Formatted error. <a href="#a3ca9694d29ec2b0491739879685df5ca">More...</a><br /></td></tr>
|
---|
176 | <tr class="separator:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
177 | <tr class="memitem:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a36cdd7f556e78b1bddd1d1fe4264bb85">ErrorOccured</a> (bool recursive=true) const </td></tr>
|
---|
178 | <tr class="memdesc:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft"> </td><td class="mdescRight">Has an errror occured? <a href="#a36cdd7f556e78b1bddd1d1fe4264bb85">More...</a><br /></td></tr>
|
---|
179 | <tr class="separator:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
180 | </table><table class="memberdecls">
|
---|
181 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
---|
182 | Additional Inherited Members</h2></td></tr>
|
---|
183 | <tr class="inherit_header pub_types_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
|
---|
184 | <tr class="memitem:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed5fccda511f97487040fed29f4efc97"></a>enum  </td><td class="memItemRight" valign="bottom"><b>color_t</b> { <b>Auto</b> = 0,
|
---|
185 | <b>Red</b> = 31,
|
---|
186 | <b>Green</b> = 32,
|
---|
187 | <b>Orange</b> = 33
|
---|
188 | }</td></tr>
|
---|
189 | <tr class="separator:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
190 | </table>
|
---|
191 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
---|
192 | <div class="textblock"><p>Class defining a shared memory. </p>
|
---|
193 | <p>Shared memory is identified by its name so it can be accessed by another processus using its name. </p>
|
---|
194 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
---|
195 | <a class="anchor" id="aebdd64cb4a190b25d710a3d069fee033"></a>
|
---|
196 | <div class="memitem">
|
---|
197 | <div class="memproto">
|
---|
198 | <table class="memname">
|
---|
199 | <tr>
|
---|
200 | <td class="memname">flair::core::SharedMem::SharedMem </td>
|
---|
201 | <td>(</td>
|
---|
202 | <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * </td>
|
---|
203 | <td class="paramname"><em>parent</em>, </td>
|
---|
204 | </tr>
|
---|
205 | <tr>
|
---|
206 | <td class="paramkey"></td>
|
---|
207 | <td></td>
|
---|
208 | <td class="paramtype">std::string </td>
|
---|
209 | <td class="paramname"><em>name</em>, </td>
|
---|
210 | </tr>
|
---|
211 | <tr>
|
---|
212 | <td class="paramkey"></td>
|
---|
213 | <td></td>
|
---|
214 | <td class="paramtype">size_t </td>
|
---|
215 | <td class="paramname"><em>size</em> </td>
|
---|
216 | </tr>
|
---|
217 | <tr>
|
---|
218 | <td></td>
|
---|
219 | <td>)</td>
|
---|
220 | <td></td><td></td>
|
---|
221 | </tr>
|
---|
222 | </table>
|
---|
223 | </div><div class="memdoc">
|
---|
224 |
|
---|
225 | <p>Constructor. </p>
|
---|
226 | <p>Construct a shared memory object</p>
|
---|
227 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
228 | <table class="params">
|
---|
229 | <tr><td class="paramname">parent</td><td>parent </td></tr>
|
---|
230 | <tr><td class="paramname">name</td><td>name </td></tr>
|
---|
231 | <tr><td class="paramname">size</td><td>size of the shared memory </td></tr>
|
---|
232 | </table>
|
---|
233 | </dd>
|
---|
234 | </dl>
|
---|
235 |
|
---|
236 | </div>
|
---|
237 | </div>
|
---|
238 | <a class="anchor" id="af3f51c01e679a8dd1f6f7c64cee55ed7"></a>
|
---|
239 | <div class="memitem">
|
---|
240 | <div class="memproto">
|
---|
241 | <table class="memname">
|
---|
242 | <tr>
|
---|
243 | <td class="memname">flair::core::SharedMem::~SharedMem </td>
|
---|
244 | <td>(</td>
|
---|
245 | <td class="paramname"></td><td>)</td>
|
---|
246 | <td></td>
|
---|
247 | </tr>
|
---|
248 | </table>
|
---|
249 | </div><div class="memdoc">
|
---|
250 |
|
---|
251 | <p>Destructor. </p>
|
---|
252 |
|
---|
253 | </div>
|
---|
254 | </div>
|
---|
255 | <h2 class="groupheader">Member Function Documentation</h2>
|
---|
256 | <a class="anchor" id="a7609d68ab9155055bea84cafaf741392"></a>
|
---|
257 | <div class="memitem">
|
---|
258 | <div class="memproto">
|
---|
259 | <table class="memname">
|
---|
260 | <tr>
|
---|
261 | <td class="memname">void flair::core::SharedMem::Write </td>
|
---|
262 | <td>(</td>
|
---|
263 | <td class="paramtype">const char * </td>
|
---|
264 | <td class="paramname"><em>buf</em>, </td>
|
---|
265 | </tr>
|
---|
266 | <tr>
|
---|
267 | <td class="paramkey"></td>
|
---|
268 | <td></td>
|
---|
269 | <td class="paramtype">size_t </td>
|
---|
270 | <td class="paramname"><em>size</em> </td>
|
---|
271 | </tr>
|
---|
272 | <tr>
|
---|
273 | <td></td>
|
---|
274 | <td>)</td>
|
---|
275 | <td></td><td></td>
|
---|
276 | </tr>
|
---|
277 | </table>
|
---|
278 | </div><div class="memdoc">
|
---|
279 |
|
---|
280 | <p>Write. </p>
|
---|
281 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
282 | <table class="params">
|
---|
283 | <tr><td class="paramname">buf</td><td>input buffer to write to memory </td></tr>
|
---|
284 | <tr><td class="paramname">size</td><td>buffer size </td></tr>
|
---|
285 | </table>
|
---|
286 | </dd>
|
---|
287 | </dl>
|
---|
288 |
|
---|
289 | </div>
|
---|
290 | </div>
|
---|
291 | <a class="anchor" id="a9b3efaf91b3a62a58d4466bcaa03b590"></a>
|
---|
292 | <div class="memitem">
|
---|
293 | <div class="memproto">
|
---|
294 | <table class="memname">
|
---|
295 | <tr>
|
---|
296 | <td class="memname">void flair::core::SharedMem::Read </td>
|
---|
297 | <td>(</td>
|
---|
298 | <td class="paramtype">char * </td>
|
---|
299 | <td class="paramname"><em>buf</em>, </td>
|
---|
300 | </tr>
|
---|
301 | <tr>
|
---|
302 | <td class="paramkey"></td>
|
---|
303 | <td></td>
|
---|
304 | <td class="paramtype">size_t </td>
|
---|
305 | <td class="paramname"><em>size</em> </td>
|
---|
306 | </tr>
|
---|
307 | <tr>
|
---|
308 | <td></td>
|
---|
309 | <td>)</td>
|
---|
310 | <td></td><td> const</td>
|
---|
311 | </tr>
|
---|
312 | </table>
|
---|
313 | </div><div class="memdoc">
|
---|
314 |
|
---|
315 | <p>Read. </p>
|
---|
316 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
317 | <table class="params">
|
---|
318 | <tr><td class="paramname">buf</td><td>output buffer to write from memory </td></tr>
|
---|
319 | <tr><td class="paramname">size</td><td>buffer size </td></tr>
|
---|
320 | </table>
|
---|
321 | </dd>
|
---|
322 | </dl>
|
---|
323 |
|
---|
324 | </div>
|
---|
325 | </div>
|
---|
326 | </div><!-- contents -->
|
---|
327 | </div><!-- doc-content -->
|
---|
328 | <!-- start footer part -->
|
---|
329 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
---|
330 | <ul>
|
---|
331 | <li class="navelem"><a class="el" href="namespaceflair.html">flair</a></li><li class="navelem"><a class="el" href="namespaceflair_1_1core.html">core</a></li><li class="navelem"><a class="el" href="classflair_1_1core_1_1_shared_mem.html">SharedMem</a></li>
|
---|
332 | <li class="footer">Generated on Thu Apr 21 2016 11:41:04 for Flair by
|
---|
333 | <a href="http://www.doxygen.org/index.html">
|
---|
334 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
|
---|
335 | </ul>
|
---|
336 | </div>
|
---|
337 | </body>
|
---|
338 | </html>
|
---|