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

UpperTesterSremSsemLayer.hh
Go to the documentation of this file.
1 #ifndef UpperTesterSremSsem_LAYER_H
2 #define UpperTesterSremSsem_LAYER_H
3
4 #include "t_layer.hh"
5 #include "UpperTesterSremSsemCodec.hh"
6
7 namespace LibItsSremSsem__TestSystem {
8 class UpperTesterPort;
9 }
10
11 namespace LibItsSremSsem__TypesAndValues {
12 class UtSremInitialize;
13 class UtSremTrigger;
14 class UtSremUpdate;
15 }
16
17 class UpperTesterSremSsemLayer : public t_layer<LibItsSremSsem__TestSystem::UpperTesterPort> {
18 Params _params;
19 UpperTesterSremSsemCodec _codec;
20
21 public:
22 UpperTesterSremSsemLayer() : t_layer<LibItsSremSsem__TestSystem::UpperTesterPort>(), _params(), _codec() {};
23 UpperTesterSremSsemLayer(const std::string & p_type, const std::string & param);
24 virtual ~UpperTesterSremSsemLayer() {};
25
26 void sendMsg(const LibItsSremSsem__TypesAndValues::UtSremInitialize& send_par, Params& params);
27 void sendMsg(const LibItsSremSsem__TypesAndValues::UtSremTrigger& send_par, Params& params);
28 void sendMsg(const LibItsSremSsem__TypesAndValues::UtSremUpdate& send_par, Params& params);
29
30 virtual void send_data(OCTETSTRING& data, Params& params);
31 virtual void receive_data(OCTETSTRING& data, Params& info);
32 };
33
34 #endif
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
UpperTesterSremSsemLayer::UpperTesterSremSsemLayer
UpperTesterSremSsemLayer()
Definition: UpperTesterSremSsemLayer.hh:22
UpperTesterSremSsemLayer::~UpperTesterSremSsemLayer
virtual ~UpperTesterSremSsemLayer()
Definition: UpperTesterSremSsemLayer.hh:24
UpperTesterSremSsemCodec
Definition: UpperTesterSremSsemCodec.hh:20
UpperTesterSremSsemLayer::_params
Params _params
Definition: UpperTesterSremSsemLayer.hh:18
UpperTesterSremSsemCodec.hh
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
LibItsSremSsem__TypesAndValues
Definition: UpperTesterSremSsemCodec.hh:14
UpperTesterSremSsemLayer::_codec
UpperTesterSremSsemCodec _codec
Definition: UpperTesterSremSsemLayer.hh:19
UpperTesterSremSsemLayer
Definition: UpperTesterSremSsemLayer.hh:17
LibItsSremSsem__TestSystem
Definition: SremSsemPort.cc:14
t_layer.hh
Header file for ITS abstract protocol layer definition.