cam_layer.hh
Go to the documentation of this file.
#pragma once
#include "t_layer.hh"
#include "CAMCodec.hh"
namespace LibItsCam__TestSystem {
class CamPort;
class CamReq;
class CamInd;
}
class cam_layer : public t_layer<LibItsCam__TestSystem::CamPort> {
Params _params;
CAMCodec _codec;
public:
explicit cam_layer() : t_layer<LibItsCam__TestSystem::CamPort>(), _params(), _codec() {};
cam_layer(const std::string& p_type, const std::string& param);
virtual ~cam_layer() {};
void sendMsg(const LibItsCam__TestSystem::CamReq& p_cam_req, Params& p_params);
virtual void send_data(OCTETSTRING& data, Params& params);
virtual void receive_data(OCTETSTRING& data, Params& info);
}; // End of class cam_layer
cam_layer::cam_layer
cam_layer()
CAM codec.
Definition: cam_layer.hh:34
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
LibItsCam__TestSystem
Definition: CamPort.cc:14
CAMCodec.hh
cam_layer::_params
Params _params
Definition: cam_layer.hh:27
cam_layer::_codec
CAMCodec _codec
Layer parameters.
Definition: cam_layer.hh:28
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
cam_layer
This class provides description of ITS CAM protocol layer.
Definition: cam_layer.hh:26
cam_layer::~cam_layer
virtual ~cam_layer()
Default destructor.
Definition: cam_layer.hh:45
CAMCodec
Definition: CAMCodec.hh:23
t_layer.hh
Header file for ITS abstract protocol layer definition.