MapemSpatemLayer.hh
Go to the documentation of this file.
#pragma once
#include "t_layer.hh"
#include "MapemCodec.hh"
#include "SpatemCodec.hh"
namespace LibItsMapemSpatem__TestSystem {
class MapemSpatemPort;
class MapemReq;
class MapemInd;
class SpatemReq;
class SpatemInd;
}
class MapemSpatemLayer : public t_layer<LibItsMapemSpatem__TestSystem::MapemSpatemPort> {
Params _params;
MapemCodec _mapem_codec;
SpatemCodec _spatem_codec;
public:
MapemSpatemLayer() : t_layer<LibItsMapemSpatem__TestSystem::MapemSpatemPort>(), _params(), _mapem_codec(), _spatem_codec() {};
MapemSpatemLayer(const std::string& p_type, const std::string& param);
virtual ~MapemSpatemLayer() {};
void sendMsg(const LibItsMapemSpatem__TestSystem::MapemReq&, Params& params);
void sendMsg(const LibItsMapemSpatem__TestSystem::SpatemReq&, Params& params);
virtual void send_data(OCTETSTRING& data, Params& params);
virtual void receive_data(OCTETSTRING& data, Params& info);
}; // End of class MapemSpatemLayer
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
MapemSpatemLayer::_params
Params _params
Definition: MapemSpatemLayer.hh:26
LibItsMapemSpatem__TestSystem
Definition: MapemSpatemPort.cc:14
SpatemCodec.hh
MapemSpatemLayer::MapemSpatemLayer
MapemSpatemLayer()
Definition: MapemSpatemLayer.hh:30
MapemSpatemLayer
Definition: MapemSpatemLayer.hh:25
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
MapemSpatemLayer::~MapemSpatemLayer
virtual ~MapemSpatemLayer()
Definition: MapemSpatemLayer.hh:32
MapemCodec.hh
MapemCodec
Definition: MapemCodec.hh:18
MapemSpatemLayer::_spatem_codec
SpatemCodec _spatem_codec
Definition: MapemSpatemLayer.hh:28
MapemSpatemLayer::_mapem_codec
MapemCodec _mapem_codec
Definition: MapemSpatemLayer.hh:27
SpatemCodec
Definition: SpatemCodec.hh:18
t_layer.hh
Header file for ITS abstract protocol layer definition.