UpperTesterSremSsemLayer.hh
Go to the documentation of this file.
#ifndef UpperTesterSremSsem_LAYER_H
#define UpperTesterSremSsem_LAYER_H
#include "t_layer.hh"
#include "UpperTesterSremSsemCodec.hh"
namespace LibItsSremSsem__TestSystem {
class UpperTesterPort;
}
namespace LibItsSremSsem__TypesAndValues {
class UtSremInitialize;
class UtSremTrigger;
class UtSremUpdate;
}
class UpperTesterSremSsemLayer : public t_layer<LibItsSremSsem__TestSystem::UpperTesterPort> {
Params _params;
UpperTesterSremSsemCodec _codec;
public:
UpperTesterSremSsemLayer() : t_layer<LibItsSremSsem__TestSystem::UpperTesterPort>(), _params(), _codec() {};
UpperTesterSremSsemLayer(const std::string & p_type, const std::string & param);
virtual ~UpperTesterSremSsemLayer() {};
void sendMsg(const LibItsSremSsem__TypesAndValues::UtSremInitialize& send_par, Params& params);
void sendMsg(const LibItsSremSsem__TypesAndValues::UtSremTrigger& send_par, Params& params);
void sendMsg(const LibItsSremSsem__TypesAndValues::UtSremUpdate& send_par, Params& params);
virtual void send_data(OCTETSTRING& data, Params& params);
virtual void receive_data(OCTETSTRING& data, Params& info);
};
#endif
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
UpperTesterSremSsemLayer::UpperTesterSremSsemLayer
UpperTesterSremSsemLayer()
Definition: UpperTesterSremSsemLayer.hh:22
UpperTesterSremSsemLayer::~UpperTesterSremSsemLayer
virtual ~UpperTesterSremSsemLayer()
Definition: UpperTesterSremSsemLayer.hh:24
UpperTesterSremSsemCodec
Definition: UpperTesterSremSsemCodec.hh:20
UpperTesterSremSsemLayer::_params
Params _params
Definition: UpperTesterSremSsemLayer.hh:18
UpperTesterSremSsemCodec.hh
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
LibItsSremSsem__TypesAndValues
Definition: UpperTesterSremSsemCodec.hh:14
UpperTesterSremSsemLayer::_codec
UpperTesterSremSsemCodec _codec
Definition: UpperTesterSremSsemLayer.hh:19
UpperTesterSremSsemLayer
Definition: UpperTesterSremSsemLayer.hh:17
LibItsSremSsem__TestSystem
Definition: SremSsemPort.cc:14
t_layer.hh
Header file for ITS abstract protocol layer definition.