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

UpperTesterDenmLayer.hh
Go to the documentation of this file.
1 #ifndef UpperTesterDenm_LAYER_H
2 #define UpperTesterDenm_LAYER_H
3
4 #include <memory>
5
6 #include "t_layer.hh"
7 #include "UpperTesterDenmCodec.hh"
8
9 namespace LibItsDenm__TestSystem {
10 class UpperTesterPort;
11 }
12
13 namespace LibItsDenm__TypesAndValues {
14 class UtDenmInitialize;
15 class UtDenmChangePosition;
16 class UtDenmChangePseudonym;
17 class UtDenmTrigger;
18 class UtDenmUpdate;
19 class UtDenmTermination;
20 }
21
22 class UpperTesterDenmLayer : public t_layer<LibItsDenm__TestSystem::UpperTesterPort> {
23 Params _params;
24 UpperTesterDenmCodec _codec;
25
26 public:
27 UpperTesterDenmLayer() : t_layer<LibItsDenm__TestSystem::UpperTesterPort>(), _params(), _codec() {};
28 UpperTesterDenmLayer(const std::string & p_type, const std::string & param);
29 virtual ~UpperTesterDenmLayer() {};
30
31 void sendMsg(const LibItsDenm__TypesAndValues::UtDenmInitialize& send_par, Params& params);
32 void sendMsg(const LibItsDenm__TypesAndValues::UtDenmChangePosition& send_par, Params& params);
33 void sendMsg(const LibItsDenm__TypesAndValues::UtDenmChangePseudonym& send_par, Params& params);
34 void sendMsg(const LibItsDenm__TypesAndValues::UtDenmTrigger& send_par, Params& params);
35 void sendMsg(const LibItsDenm__TypesAndValues::UtDenmUpdate& send_par, Params& params);
36 void sendMsg(const LibItsDenm__TypesAndValues::UtDenmTermination& send_par, Params& params);
37
38 virtual void send_data(OCTETSTRING& data, Params& params);
39 virtual void receive_data(OCTETSTRING& data, Params& info);
40 };
41
42 #endif
UpperTesterDenmLayer::UpperTesterDenmLayer
UpperTesterDenmLayer()
Definition: UpperTesterDenmLayer.hh:27
UpperTesterDenmCodec.hh
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
UpperTesterDenmLayer::_codec
UpperTesterDenmCodec _codec
Definition: UpperTesterDenmLayer.hh:24
LibItsDenm__TestSystem
Definition: DenmPort.cc:14
UpperTesterDenmLayer::_params
Params _params
Definition: UpperTesterDenmLayer.hh:23
UpperTesterDenmLayer
Definition: UpperTesterDenmLayer.hh:22
UpperTesterDenmLayer::~UpperTesterDenmLayer
virtual ~UpperTesterDenmLayer()
Definition: UpperTesterDenmLayer.hh:29
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
LibItsDenm__TypesAndValues
Definition: UpperTesterDenmCodec.hh:14
UpperTesterDenmCodec
Definition: UpperTesterDenmCodec.hh:19
t_layer.hh
Header file for ITS abstract protocol layer definition.