ETSI STF525 / Internal Testing test suite
This project provides an internal testing test suite and its associated Test Adapter/Codec
ethernet_layer.hh
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "t_layer.hh"
14 #include "Params.hh"
15 
16 class ethernet_layer : public layer {
18 
19 public:
20 
26  ethernet_layer(const std::string & p_type, const std::string & param);
30  virtual ~ethernet_layer() {};
31 
39  virtual void send_data(OCTETSTRING& data, Params& params);
47  virtual void receive_data(OCTETSTRING& data, Params& info);
48 }; // End of class ethernet_layer
Definition: ethernet_layer.hh:16
Forward declaration of TITAN class.
Definition: layer.hh:29
Params _params
Definition: ethernet_layer.hh:17
virtual ~ethernet_layer()
Default destructor.
Definition: ethernet_layer.hh:30
Header file for the parameter dictionary.
virtual void send_data(OCTETSTRING &data, Params &params)
Send bytes formated data to the lower layers.
Definition: ethernet_layer.hh:30
virtual void receive_data(OCTETSTRING &data, Params &info)
Receive bytes formated data from the lower layers.
Definition: ethernet_layer.cc:53
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
ethernet_layer(const std::string &p_type, const std::string &param)
Layer parameters.
Definition: ethernet_layer.cc:5
Header file for ITS abstract protocol layer definition.