denm_layer.hh
Go to the documentation of this file.
#pragma once
#include "t_layer.hh"
#include "DENMCodec.hh"
namespace LibItsDenm__TestSystem {
class DenmPort;
class DenmReq;
class DenmInd;
}
class denm_layer : public t_layer<LibItsDenm__TestSystem::DenmPort> {
Params _params;
DENMCodec _codec;
public:
explicit denm_layer() : t_layer<LibItsDenm__TestSystem::DenmPort>(), _params(), _codec() {};
denm_layer(const std::string& p_type, const std::string& param);
virtual ~denm_layer() {};
void sendMsg(const LibItsDenm__TestSystem::DenmReq& p_denm_req, Params& params);
virtual void send_data(OCTETSTRING& data, Params& params);
virtual void receive_data(OCTETSTRING& data, Params& info);
}; // End of class denm_layer
t_layer
This class provides basic description of an ITS port protocol layer. A port protocol layer is the fin...
Definition: t_layer.hh:21
denm_layer::_codec
DENMCodec _codec
Layer parameters.
Definition: denm_layer.hh:28
denm_layer::_params
Params _params
Definition: denm_layer.hh:27
LibItsDenm__TestSystem
Definition: DenmPort.cc:14
DENMCodec
Definition: DENMCodec.hh:26
denm_layer::denm_layer
denm_layer()
DENM codec.
Definition: denm_layer.hh:34
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
DENMCodec.hh
denm_layer
This class provides description of ITS DENM protocol layer.
Definition: denm_layer.hh:26
denm_layer::~denm_layer
virtual ~denm_layer()
Default destructor.
Definition: denm_layer.hh:45
t_layer.hh
Header file for ITS abstract protocol layer definition.