SremSsemLayer.hh
Go to the documentation of this file.
#pragma once
#include "t_layer.hh"
#include "SremCodec.hh"
#include "SsemCodec.hh"
namespace LibItsSremSsem__TestSystem {
class SremSsemPort;
class SremReq;
class SremInd;
class SsemReq;
class SsemInd;
}
class SremSsemLayer : public t_layer<LibItsSremSsem__TestSystem::SremSsemPort> {
Params _params;
SremCodec _srem_codec;
SsemCodec _ssem_codec;
public:
SremSsemLayer() : t_layer<LibItsSremSsem__TestSystem::SremSsemPort>(), _params(), _srem_codec(), _ssem_codec() {};
SremSsemLayer(const std::string& p_type, const std::string& param);
virtual ~SremSsemLayer() {};
void sendMsg(const LibItsSremSsem__TestSystem::SremReq&, Params& params);
void sendMsg(const LibItsSremSsem__TestSystem::SsemReq&, Params& params);
virtual void send_data(OCTETSTRING& data, Params& params);
virtual void receive_data(OCTETSTRING& data, Params& info);
}; // End of class SremSsemLayer
SsemCodec
Definition: SsemCodec.hh:18
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
SremSsemLayer::_ssem_codec
SsemCodec _ssem_codec
Definition: SremSsemLayer.hh:28
SremCodec.hh
SremSsemLayer
Definition: SremSsemLayer.hh:25
SremSsemLayer::~SremSsemLayer
virtual ~SremSsemLayer()
Definition: SremSsemLayer.hh:32
SremSsemLayer::_srem_codec
SremCodec _srem_codec
Definition: SremSsemLayer.hh:27
SremSsemLayer::SremSsemLayer
SremSsemLayer()
Definition: SremSsemLayer.hh:30
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
SremCodec
Definition: SremCodec.hh:18
SremSsemLayer::_params
Params _params
Definition: SremSsemLayer.hh:26
LibItsSremSsem__TestSystem
Definition: SremSsemPort.cc:14
SsemCodec.hh
t_layer.hh
Header file for ITS abstract protocol layer definition.