btp__layer_8hh_source.html 11.5 KB
Newer Older
garciay's avatar
garciay committed
<!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: /home/vagrant/TriesAndDelete/etsi_its/framework/include/btp_layer.hh Source File</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 id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_dd40116cd1cfebdc77a7c7114b29912e.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">btp_layer.hh</div>  </div>
</div><!--header-->
<div class="contents">
<a href="btp__layer_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="t__layer_8hh.html">t_layer.hh</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="BTPCodec_8hh.html">BTPCodec.hh</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceLibItsBtp____TestSystem.html">LibItsBtp__TestSystem</a> {</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;  <span class="keyword">class </span>BtpPort; </div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;  <span class="keyword">class </span>BtpReq;  </div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <span class="keyword">class </span>BtpInd;  </div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;}</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classbtp__layer.html">   26</a></span>&#160;<span class="keyword">class </span><a class="code" href="classbtp__layer.html">btp_layer</a> : <span class="keyword">public</span> <a class="code" href="classt__layer.html">t_layer</a>&lt;LibItsBtp__TestSystem::BtpPort&gt; {</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classbtp__layer.html#a5064f80e14756cb6e1d624f57bb6c572">   27</a></span>&#160;  <a class="code" href="classParams.html">Params</a> <a class="code" href="classbtp__layer.html#a5064f80e14756cb6e1d624f57bb6c572">_params</a>;    </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classbtp__layer.html#ae22c22db8d08522a22c58967ac875def">   28</a></span>&#160;  <a class="code" href="classBTPCodec.html">BTPCodec</a> <a class="code" href="classbtp__layer.html#ae22c22db8d08522a22c58967ac875def">_codec</a>;   </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classbtp__layer.html#a6c13226584bbf64e9f57d37044ae32b1">   29</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classbtp__layer.html#a6c13226584bbf64e9f57d37044ae32b1">_device_mode</a>; </div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">public</span>: </div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classbtp__layer.html#a11eb391fd695246f74e25da7f28d2b9f">   35</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classbtp__layer.html#a11eb391fd695246f74e25da7f28d2b9f">btp_layer</a>() : <a class="code" href="classt__layer.html">t_layer</a>&lt;<a class="code" href="namespaceLibItsBtp____TestSystem.html">LibItsBtp__TestSystem</a>::BtpPort&gt;(), _params(), _codec(), _device_mode{<span class="keyword">false</span>} {};</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;  <a class="code" href="classbtp__layer.html">btp_layer</a>(<span class="keyword">const</span> std::string&amp; p_type, <span class="keyword">const</span> std::string&amp; param);</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classbtp__layer.html#ad15846cf479a767fb6f05d0678400939">   43</a></span>&#160;  <span class="keyword">virtual</span> <a class="code" href="classbtp__layer.html#ad15846cf479a767fb6f05d0678400939">~btp_layer</a>() {};</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="keywordtype">void</span> sendMsg(<span class="keyword">const</span> LibItsBtp__TestSystem::BtpReq&amp; p_btp_req, <a class="code" href="classParams.html">Params</a>&amp; p_param);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    </div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> send_data(OCTETSTRING&amp; data, <a class="code" href="classParams.html">Params</a>&amp; params);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> receive_data(OCTETSTRING&amp; data, <a class="code" href="classParams.html">Params</a>&amp; info);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;}; <span class="comment">// End of class btp_layer</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="ttc" id="namespaceLibItsBtp____TestSystem_html"><div class="ttname"><a href="namespaceLibItsBtp____TestSystem.html">LibItsBtp__TestSystem</a></div><div class="ttdef"><b>Definition:</b> BtpPort.cc:14</div></div>
garciay's avatar
garciay committed
<div class="ttc" id="classbtp__layer_html_a5064f80e14756cb6e1d624f57bb6c572"><div class="ttname"><a href="classbtp__layer.html#a5064f80e14756cb6e1d624f57bb6c572">btp_layer::_params</a></div><div class="ttdeci">Params _params</div><div class="ttdef"><b>Definition:</b> btp_layer.hh:27</div></div>
<div class="ttc" id="classBTPCodec_html"><div class="ttname"><a href="classBTPCodec.html">BTPCodec</a></div><div class="ttdef"><b>Definition:</b> BTPCodec.hh:20</div></div>
<div class="ttc" id="classt__layer_html"><div class="ttname"><a href="classt__layer.html">t_layer</a></div><div class="ttdoc">This class provides basic description of an ITS port protocol layer. A port protocol layer is the fin...</div><div class="ttdef"><b>Definition:</b> t_layer.hh:21</div></div>
garciay's avatar
garciay committed
<div class="ttc" id="classbtp__layer_html_ad15846cf479a767fb6f05d0678400939"><div class="ttname"><a href="classbtp__layer.html#ad15846cf479a767fb6f05d0678400939">btp_layer::~btp_layer</a></div><div class="ttdeci">virtual ~btp_layer()</div><div class="ttdef"><b>Definition:</b> btp_layer.hh:43</div></div>
<div class="ttc" id="classParams_html"><div class="ttname"><a href="classParams.html">Params</a></div><div class="ttdoc">This class provides basic functionalities for an ITS dictionary. </div><div class="ttdef"><b>Definition:</b> Params.hh:21</div></div>
<div class="ttc" id="classbtp__layer_html_ae22c22db8d08522a22c58967ac875def"><div class="ttname"><a href="classbtp__layer.html#ae22c22db8d08522a22c58967ac875def">btp_layer::_codec</a></div><div class="ttdeci">BTPCodec _codec</div><div class="ttdoc">Layer parameters. </div><div class="ttdef"><b>Definition:</b> btp_layer.hh:28</div></div>
<div class="ttc" id="classbtp__layer_html_a6c13226584bbf64e9f57d37044ae32b1"><div class="ttname"><a href="classbtp__layer.html#a6c13226584bbf64e9f57d37044ae32b1">btp_layer::_device_mode</a></div><div class="ttdeci">bool _device_mode</div><div class="ttdoc">BTP codec. </div><div class="ttdef"><b>Definition:</b> btp_layer.hh:29</div></div>
<div class="ttc" id="BTPCodec_8hh_html"><div class="ttname"><a href="BTPCodec_8hh.html">BTPCodec.hh</a></div></div>
<div class="ttc" id="classbtp__layer_html"><div class="ttname"><a href="classbtp__layer.html">btp_layer</a></div><div class="ttdoc">This class provides description of ITS BTP protocol layer. </div><div class="ttdef"><b>Definition:</b> btp_layer.hh:26</div></div>
<div class="ttc" id="classbtp__layer_html_a11eb391fd695246f74e25da7f28d2b9f"><div class="ttname"><a href="classbtp__layer.html#a11eb391fd695246f74e25da7f28d2b9f">btp_layer::btp_layer</a></div><div class="ttdeci">btp_layer()</div><div class="ttdoc">Set to true if the BTP layer shall encapsulate the upper layer PDU. </div><div class="ttdef"><b>Definition:</b> btp_layer.hh:35</div></div>
<div class="ttc" id="t__layer_8hh_html"><div class="ttname"><a href="t__layer_8hh.html">t_layer.hh</a></div><div class="ttdoc">Header file for ITS abstract protocol layer definition. </div></div>
garciay's avatar
garciay committed
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 4 2018 14:16:23 for ETSI STF525 / Internal Testing test suite by &#160;<a href="http://www.doxygen.org/index.html">
garciay's avatar
garciay committed
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>