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

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