UpperTesterDenmLayer.hh
Go to the documentation of this file.
#ifndef UpperTesterDenm_LAYER_H
#define UpperTesterDenm_LAYER_H
#include <memory>
#include "t_layer.hh"
#include "UpperTesterDenmCodec.hh"
namespace LibItsDenm__TestSystem {
class UpperTesterPort;
}
namespace LibItsDenm__TypesAndValues {
class UtDenmInitialize;
class UtDenmChangePosition;
class UtDenmChangePseudonym;
class UtDenmTrigger;
class UtDenmUpdate;
class UtDenmTermination;
}
class UpperTesterDenmLayer : public t_layer<LibItsDenm__TestSystem::UpperTesterPort> {
Params _params;
UpperTesterDenmCodec _codec;
public:
UpperTesterDenmLayer() : t_layer<LibItsDenm__TestSystem::UpperTesterPort>(), _params(), _codec() {};
UpperTesterDenmLayer(const std::string & p_type, const std::string & param);
virtual ~UpperTesterDenmLayer() {};
void sendMsg(const LibItsDenm__TypesAndValues::UtDenmInitialize& send_par, Params& params);
void sendMsg(const LibItsDenm__TypesAndValues::UtDenmChangePosition& send_par, Params& params);
void sendMsg(const LibItsDenm__TypesAndValues::UtDenmChangePseudonym& send_par, Params& params);
void sendMsg(const LibItsDenm__TypesAndValues::UtDenmTrigger& send_par, Params& params);
void sendMsg(const LibItsDenm__TypesAndValues::UtDenmUpdate& send_par, Params& params);
void sendMsg(const LibItsDenm__TypesAndValues::UtDenmTermination& send_par, Params& params);
virtual void send_data(OCTETSTRING& data, Params& params);
virtual void receive_data(OCTETSTRING& data, Params& info);
};
#endif
UpperTesterDenmLayer::UpperTesterDenmLayer
UpperTesterDenmLayer()
Definition: UpperTesterDenmLayer.hh:27
UpperTesterDenmCodec.hh
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
UpperTesterDenmLayer::_codec
UpperTesterDenmCodec _codec
Definition: UpperTesterDenmLayer.hh:24
LibItsDenm__TestSystem
Definition: DenmPort.cc:14
UpperTesterDenmLayer::_params
Params _params
Definition: UpperTesterDenmLayer.hh:23
UpperTesterDenmLayer
Definition: UpperTesterDenmLayer.hh:22
UpperTesterDenmLayer::~UpperTesterDenmLayer
virtual ~UpperTesterDenmLayer()
Definition: UpperTesterDenmLayer.hh:29
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
LibItsDenm__TypesAndValues
Definition: UpperTesterDenmCodec.hh:14
UpperTesterDenmCodec
Definition: UpperTesterDenmCodec.hh:19
t_layer.hh
Header file for ITS abstract protocol layer definition.