ETSI STF525 / Internal Testing test suite
This project provides an internal testing test suite and its associated Test Adapter/Codec
denm_layer.hh
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "t_layer.hh"
14 #include "DENMCodec.hh"
15 
16 namespace LibItsDenm__TestSystem {
17  class DenmPort;
18  class DenmReq;
19  class DenmInd;
20 }
21 
26 class denm_layer : public t_layer<LibItsDenm__TestSystem::DenmPort> {
29 public:
30 
34  explicit denm_layer() : t_layer<LibItsDenm__TestSystem::DenmPort>(), _params(), _codec() {};
41  denm_layer(const std::string& p_type, const std::string& param);
45  virtual ~denm_layer() {};
46 
53  void sendMsg(const LibItsDenm__TestSystem::DenmReq& p_denm_req, Params& params);
54 
62  virtual void send_data(OCTETSTRING& data, Params& params);
70  virtual void receive_data(OCTETSTRING& data, Params& info);
71 }; // End of class denm_layer
72 
This class provides basic description of an ITS port protocol layer. A port protocol layer is the fin...
Definition: t_layer.hh:21
DENMCodec _codec
Layer parameters.
Definition: denm_layer.hh:28
Params _params
Definition: denm_layer.hh:27
Definition: DenmPort.cc:14
Definition: DENMCodec.hh:26
denm_layer()
DENM codec.
Definition: denm_layer.hh:34
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
This class provides description of ITS DENM protocol layer.
Definition: denm_layer.hh:26
virtual ~denm_layer()
Default destructor.
Definition: denm_layer.hh:45
Header file for ITS abstract protocol layer definition.