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

MapemSpatemLayer.hh
Go to the documentation of this file.
1
11 #pragma once
12
13 #include "t_layer.hh"
14 #include "MapemCodec.hh"
15 #include "SpatemCodec.hh"
16
17 namespace LibItsMapemSpatem__TestSystem {
18 class MapemSpatemPort;
19 class MapemReq;
20 class MapemInd;
21 class SpatemReq;
22 class SpatemInd;
23 }
24
25 class MapemSpatemLayer : public t_layer<LibItsMapemSpatem__TestSystem::MapemSpatemPort> {
26 Params _params;
27 MapemCodec _mapem_codec;
28 SpatemCodec _spatem_codec;
29 public:
30 MapemSpatemLayer() : t_layer<LibItsMapemSpatem__TestSystem::MapemSpatemPort>(), _params(), _mapem_codec(), _spatem_codec() {};
31 MapemSpatemLayer(const std::string& p_type, const std::string& param);
32 virtual ~MapemSpatemLayer() {};
33
34 void sendMsg(const LibItsMapemSpatem__TestSystem::MapemReq&, Params& params);
35 void sendMsg(const LibItsMapemSpatem__TestSystem::SpatemReq&, 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 MapemSpatemLayer
40
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
MapemSpatemLayer::_params
Params _params
Definition: MapemSpatemLayer.hh:26
LibItsMapemSpatem__TestSystem
Definition: MapemSpatemPort.cc:14
SpatemCodec.hh
MapemSpatemLayer::MapemSpatemLayer
MapemSpatemLayer()
Definition: MapemSpatemLayer.hh:30
MapemSpatemLayer
Definition: MapemSpatemLayer.hh:25
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
MapemSpatemLayer::~MapemSpatemLayer
virtual ~MapemSpatemLayer()
Definition: MapemSpatemLayer.hh:32
MapemCodec.hh
MapemCodec
Definition: MapemCodec.hh:18
MapemSpatemLayer::_spatem_codec
SpatemCodec _spatem_codec
Definition: MapemSpatemLayer.hh:28
MapemSpatemLayer::_mapem_codec
MapemCodec _mapem_codec
Definition: MapemSpatemLayer.hh:27
SpatemCodec
Definition: SpatemCodec.hh:18
t_layer.hh
Header file for ITS abstract protocol layer definition.