ethernet_layer.hh
Go to the documentation of this file.
#pragma once
#include "t_layer.hh"
#include "Params.hh"
class ethernet_layer : public layer {
Params _params;
public:
ethernet_layer(const std::string & p_type, const std::string & param);
virtual ~ethernet_layer() {};
virtual void send_data(OCTETSTRING& data, Params& params);
virtual void receive_data(OCTETSTRING& data, Params& info);
}; // 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.