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

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