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 
8  class UpperTesterPort;
9 }
10 
12  class UtGnInitialize;
13  class UtGnChangePosition;
14  class UtGnTrigger;
15  class UtAutoInteropTrigger;
16 }
17 
18 class UpperTesterGnLayer : public t_layer<LibItsGeoNetworking__TestSystem::UpperTesterPort> {
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
This class provides basic description of an ITS port protocol layer. A port protocol layer is the fin...
Definition: t_layer.hh:21
virtual ~UpperTesterGnLayer()
Definition: UpperTesterGnLayer.hh:25
UpperTesterGnLayer()
Definition: UpperTesterGnLayer.hh:23
UpperTesterGnCodec _codec
Definition: UpperTesterGnLayer.hh:20
Definition: geonetworking_layer.hh:32
Params _params
Definition: UpperTesterGnLayer.hh:19
Definition: UpperTesterGnCodec.hh:19
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
Definition: UpperTesterGnLayer.hh:18
Forward declaration of TITAN class.
Definition: GeoNetworkingPort.cc:14
Header file for ITS abstract protocol layer definition.