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 {
17 Params _params;
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
ethernet_layer
Definition: ethernet_layer.hh:16
layer
Forward declaration of TITAN class.
Definition: layer.hh:29
ethernet_layer::_params
Params _params
Definition: ethernet_layer.hh:17
ethernet_layer::~ethernet_layer
virtual ~ethernet_layer()
Default destructor.
Definition: ethernet_layer.hh:30
Params.hh
Header file for the parameter dictionary.
ethernet_layer::send_data
virtual void send_data(OCTETSTRING &data, Params &params)
Send bytes formated data to the lower layers.
Definition: ethernet_layer.hh:30
ethernet_layer::receive_data
virtual void receive_data(OCTETSTRING &data, Params &info)
Receive bytes formated data from the lower layers.
Definition: ethernet_layer.cc:53
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
ethernet_layer::ethernet_layer
ethernet_layer(const std::string &p_type, const std::string &param)
Layer parameters.
Definition: ethernet_layer.cc:5
t_layer.hh
Header file for ITS abstract protocol layer definition.