Newer
Older
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
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ETSI STF525 / Internal Testing test suite: location_table 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="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">ETSI STF525 / Internal Testing test suite
</div>
<div id="projectbrief">This project provides an internal testing test suite and its associated Test Adapter/Codec</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- 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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pri-attribs">Private Attributes</a> |
<a href="classlocation__table-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">location_table Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This class provides description of GeoNetworking table.
<a href="classlocation__table.html#details">More...</a></p>
<p><code>#include <<a class="el" href="location__table_8hh_source.html">location_table.hh</a>></code></p>
<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:a5741938d15d192c0d68d0e8b2dbedc34"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#a5741938d15d192c0d68d0e8b2dbedc34">location_table</a> ()</td></tr>
<tr class="memdesc:a5741938d15d192c0d68d0e8b2dbedc34"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a5741938d15d192c0d68d0e8b2dbedc34">More...</a><br /></td></tr>
<tr class="separator:a5741938d15d192c0d68d0e8b2dbedc34"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0980f4cb9e594b06d92516e9f760628e"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#a0980f4cb9e594b06d92516e9f760628e">~location_table</a> ()</td></tr>
<tr class="memdesc:a0980f4cb9e594b06d92516e9f760628e"><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#a0980f4cb9e594b06d92516e9f760628e">More...</a><br /></td></tr>
<tr class="separator:a0980f4cb9e594b06d92516e9f760628e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa9a651d5503c2aa4f398d011f1825eee"><td class="memItemLeft" align="right" valign="top">const bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#aa9a651d5503c2aa4f398d011f1825eee">has_entry</a> (const OCTETSTRING &p_mid) const</td></tr>
<tr class="memdesc:aa9a651d5503c2aa4f398d011f1825eee"><td class="mdescLeft"> </td><td class="mdescRight">Indicates if the GeoNetworking MID is present in the table. <a href="#aa9a651d5503c2aa4f398d011f1825eee">More...</a><br /></td></tr>
<tr class="separator:aa9a651d5503c2aa4f398d011f1825eee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7c979a2a025039cda281392849ecbaf7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#a7c979a2a025039cda281392849ecbaf7">add_entry</a> (const LibItsGeoNetworking__TypesAndValues::LongPosVector &p_long_pos_vector)</td></tr>
<tr class="memdesc:a7c979a2a025039cda281392849ecbaf7"><td class="mdescLeft"> </td><td class="mdescRight">Add a new item in the location table. <a href="#a7c979a2a025039cda281392849ecbaf7">More...</a><br /></td></tr>
<tr class="separator:a7c979a2a025039cda281392849ecbaf7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad65a8b70b1f699bb70df86ca56616bbb"><td class="memItemLeft" align="right" valign="top">const LibItsGeoNetworking__TypesAndValues::LongPosVector * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#ad65a8b70b1f699bb70df86ca56616bbb">get_entry</a> (const OCTETSTRING &p_mid) const</td></tr>
<tr class="memdesc:ad65a8b70b1f699bb70df86ca56616bbb"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve an item from the location table based on the GeoNetworking MID. <a href="#ad65a8b70b1f699bb70df86ca56616bbb">More...</a><br /></td></tr>
<tr class="separator:ad65a8b70b1f699bb70df86ca56616bbb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6453ec438f79427d251f500c9b6a92a"><td class="memItemLeft" align="right" valign="top">const bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#ac6453ec438f79427d251f500c9b6a92a">empty</a> () const</td></tr>
<tr class="memdesc:ac6453ec438f79427d251f500c9b6a92a"><td class="mdescLeft"> </td><td class="mdescRight">Indicates if the table is empty. <a href="#ac6453ec438f79427d251f500c9b6a92a">More...</a><br /></td></tr>
<tr class="separator:ac6453ec438f79427d251f500c9b6a92a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a346324a7e626919232625743cade8d57"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#a346324a7e626919232625743cade8d57">reset</a> ()</td></tr>
<tr class="memdesc:a346324a7e626919232625743cade8d57"><td class="mdescLeft"> </td><td class="mdescRight">Purge the location table. <a href="#a346324a7e626919232625743cade8d57">More...</a><br /></td></tr>
<tr class="separator:a346324a7e626919232625743cade8d57"><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:a67078ead032a6fa8ff4049e35462bae0"><td class="memItemLeft" align="right" valign="top">std::map< const unsigned long, std::shared_ptr< LibItsGeoNetworking__TypesAndValues::LongPosVector > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#a67078ead032a6fa8ff4049e35462bae0">_entries_by_times</a></td></tr>
<tr class="separator:a67078ead032a6fa8ff4049e35462bae0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac22fe53a353073d7fd09ea24eaabd25f"><td class="memItemLeft" align="right" valign="top">std::map< const std::string, std::shared_ptr< LibItsGeoNetworking__TypesAndValues::LongPosVector > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classlocation__table.html#ac22fe53a353073d7fd09ea24eaabd25f">_entries_by_mids</a></td></tr>
<tr class="separator:ac22fe53a353073d7fd09ea24eaabd25f"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class provides description of GeoNetworking table. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000025">Todo:</a></b></dt><dd><p class="startdd">Add time expired removal procedure </p>
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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
<p class="enddd">Add reference to the GeoNetworking ETSI standard </p>
</dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a5741938d15d192c0d68d0e8b2dbedc34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5741938d15d192c0d68d0e8b2dbedc34">◆ </a></span>location_table()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">location_table::location_table </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">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<a id="a0980f4cb9e594b06d92516e9f760628e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0980f4cb9e594b06d92516e9f760628e">◆ </a></span>~location_table()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual location_table::~location_table </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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7c979a2a025039cda281392849ecbaf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c979a2a025039cda281392849ecbaf7">◆ </a></span>add_entry()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void location_table::add_entry </td>
<td>(</td>
<td class="paramtype">const LibItsGeoNetworking__TypesAndValues::LongPosVector & </td>
<td class="paramname"><em>p_long_pos_vector</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a new item in the location table. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">p_long_pos_vector</td><td>The new long position vector to add </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ac6453ec438f79427d251f500c9b6a92a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6453ec438f79427d251f500c9b6a92a">◆ </a></span>empty()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const bool location_table::empty </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Indicates if the table is empty. </p>
<dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise </dd></dl>
</div>
</div>
<a id="ad65a8b70b1f699bb70df86ca56616bbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad65a8b70b1f699bb70df86ca56616bbb">◆ </a></span>get_entry()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const LibItsGeoNetworking__TypesAndValues::LongPosVector * location_table::get_entry </td>
<td>(</td>
<td class="paramtype">const OCTETSTRING & </td>
<td class="paramname"><em>p_mid</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve an item from the location table based on the GeoNetworking MID. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">p_mid</td><td>The GeoNetworking MID </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa9a651d5503c2aa4f398d011f1825eee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9a651d5503c2aa4f398d011f1825eee">◆ </a></span>has_entry()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const bool location_table::has_entry </td>
<td>(</td>
<td class="paramtype">const OCTETSTRING & </td>
<td class="paramname"><em>p_mid</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates if the GeoNetworking MID is present in the table. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">p_mid</td><td>The GeoNetworking MID </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise </dd></dl>
</div>
</div>
<a id="a346324a7e626919232625743cade8d57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a346324a7e626919232625743cade8d57">◆ </a></span>reset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void location_table::reset </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> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Purge the location table. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac22fe53a353073d7fd09ea24eaabd25f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac22fe53a353073d7fd09ea24eaabd25f">◆ </a></span>_entries_by_mids</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::map<const std::string, std::shared_ptr<LibItsGeoNetworking__TypesAndValues::LongPosVector> > location_table::_entries_by_mids</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a67078ead032a6fa8ff4049e35462bae0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67078ead032a6fa8ff4049e35462bae0">◆ </a></span>_entries_by_times</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::map<const unsigned long, std::shared_ptr<LibItsGeoNetworking__TypesAndValues::LongPosVector> > location_table::_entries_by_times</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/vagrant/TriesAndDelete/etsi_its/framework/include/<a class="el" href="location__table_8hh_source.html">location_table.hh</a></li>
<li>/home/vagrant/TriesAndDelete/etsi_its/framework/src/<a class="el" href="location__table_8cc.html">location_table.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 4 2018 14:16:33 for ETSI STF525 / Internal Testing test suite by  <a href="http://www.doxygen.org/index.html">