ETSI STF525 / Internal Testing test suite This project provides an internal testing test suite and its associated Test Adapter/Codec

SremSsemLayer.hh
Go to the documentation of this file.
1
11 #pragma once
12
13 #include "t_layer.hh"
14 #include "SremCodec.hh"
15 #include "SsemCodec.hh"
16
17 namespace LibItsSremSsem__TestSystem {
18 class SremSsemPort;
19 class SremReq;
20 class SremInd;
21 class SsemReq;
22 class SsemInd;
23 }
24
25 class SremSsemLayer : public t_layer<LibItsSremSsem__TestSystem::SremSsemPort> {
26 Params _params;
27 SremCodec _srem_codec;
28 SsemCodec _ssem_codec;
29 public:
30 SremSsemLayer() : t_layer<LibItsSremSsem__TestSystem::SremSsemPort>(), _params(), _srem_codec(), _ssem_codec() {};
31 SremSsemLayer(const std::string& p_type, const std::string& param);
32 virtual ~SremSsemLayer() {};
33
34 void sendMsg(const LibItsSremSsem__TestSystem::SremReq&, Params& params);
35 void sendMsg(const LibItsSremSsem__TestSystem::SsemReq&, Params& params);
36
37 virtual void send_data(OCTETSTRING& data, Params& params);
38 virtual void receive_data(OCTETSTRING& data, Params& info);
39 }; // End of class SremSsemLayer
40
SsemCodec
Definition: SsemCodec.hh:18
t_layer
This class provides basic description of an ITS port protocol layer. A port protocol layer is the fin...
Definition: t_layer.hh:21
SremSsemLayer::_ssem_codec
SsemCodec _ssem_codec
Definition: SremSsemLayer.hh:28
SremCodec.hh
SremSsemLayer
Definition: SremSsemLayer.hh:25
SremSsemLayer::~SremSsemLayer
virtual ~SremSsemLayer()
Definition: SremSsemLayer.hh:32
SremSsemLayer::_srem_codec
SremCodec _srem_codec
Definition: SremSsemLayer.hh:27
SremSsemLayer::SremSsemLayer
SremSsemLayer()
Definition: SremSsemLayer.hh:30
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
SremCodec
Definition: SremCodec.hh:18
SremSsemLayer::_params
Params _params
Definition: SremSsemLayer.hh:26
LibItsSremSsem__TestSystem
Definition: SremSsemPort.cc:14
SsemCodec.hh
t_layer.hh
Header file for ITS abstract protocol layer definition.