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

UpperTesterGnLayer.hh
Go to the documentation of this file.
1 #ifndef UpperTesterGn_LAYER_H
2 #define UpperTesterGn_LAYER_H
3
4 #include "t_layer.hh"
5 #include "UpperTesterGnCodec.hh"
6
7 namespace LibItsGeoNetworking__TestSystem {
8 class UpperTesterPort;
9 }
10
11 namespace LibItsGeoNetworking__TypesAndValues {
12 class UtGnInitialize;
13 class UtGnChangePosition;
14 class UtGnTrigger;
15 class UtAutoInteropTrigger;
16 }
17
18 class UpperTesterGnLayer : public t_layer<LibItsGeoNetworking__TestSystem::UpperTesterPort> {
19 Params _params;
20 UpperTesterGnCodec _codec;
21
22 public:
23 UpperTesterGnLayer() : t_layer<LibItsGeoNetworking__TestSystem::UpperTesterPort>(), _params(), _codec() {};
24 UpperTesterGnLayer(const std::string & p_type, const std::string & param);
25 virtual ~UpperTesterGnLayer() {};
26
27 void sendMsg(const LibItsGeoNetworking__TypesAndValues::UtGnInitialize& send_par, Params& params);
28 void sendMsg(const LibItsGeoNetworking__TypesAndValues::UtGnChangePosition& send_par, Params& params);
29 void sendMsg(const LibItsGeoNetworking__TypesAndValues::UtGnTrigger& send_par, Params& params);
30 void sendMsg(const LibItsGeoNetworking__TypesAndValues::UtAutoInteropTrigger& 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
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
UpperTesterGnLayer::~UpperTesterGnLayer
virtual ~UpperTesterGnLayer()
Definition: UpperTesterGnLayer.hh:25
UpperTesterGnLayer::UpperTesterGnLayer
UpperTesterGnLayer()
Definition: UpperTesterGnLayer.hh:23
UpperTesterGnLayer::_codec
UpperTesterGnCodec _codec
Definition: UpperTesterGnLayer.hh:20
LibItsGeoNetworking__TypesAndValues
Definition: geonetworking_layer.hh:32
UpperTesterGnLayer::_params
Params _params
Definition: UpperTesterGnLayer.hh:19
UpperTesterGnCodec
Definition: UpperTesterGnCodec.hh:19
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
UpperTesterGnLayer
Definition: UpperTesterGnLayer.hh:18
LibItsGeoNetworking__TestSystem
Forward declaration of TITAN class.
Definition: GeoNetworkingPort.cc:14
UpperTesterGnCodec.hh
t_layer.hh
Header file for ITS abstract protocol layer definition.