UpperTesterCamLayer.hh
Go to the documentation of this file.
#ifndef UpperTesterCam_LAYER_H
#define UpperTesterCam_LAYER_H
#include <memory>
#include "t_layer.hh"
#include "UpperTesterCamCodec.hh"
namespace LibItsCam__TestSystem {
class UpperTesterPort;
}
namespace LibItsCam__TypesAndValues {
class UtCamInitialize;
class UtCamChangePosition;
class UtCamTrigger;
}
class UpperTesterCamLayer : public t_layer<LibItsCam__TestSystem::UpperTesterPort> {
Params _params;
UpperTesterCamCodec _codec;
public:
UpperTesterCamLayer() : t_layer<LibItsCam__TestSystem::UpperTesterPort>(), _params(), _codec() {};
UpperTesterCamLayer(const std::string & p_type, const std::string & param);
virtual ~UpperTesterCamLayer() {};
void sendMsg(const LibItsCam__TypesAndValues::UtCamInitialize& send_par, Params& params);
void sendMsg(const LibItsCam__TypesAndValues::UtCamChangePosition& send_par, Params& params);
void sendMsg(const LibItsCam__TypesAndValues::UtCamTrigger& send_par, Params& params);
virtual void send_data(OCTETSTRING& data, Params& params);
virtual void receive_data(OCTETSTRING& data, Params& info);
};
#endif
UpperTesterCamLayer::_codec
UpperTesterCamCodec _codec
Definition: UpperTesterCamLayer.hh:21
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
UpperTesterCamLayer
Definition: UpperTesterCamLayer.hh:19
UpperTesterCamLayer::UpperTesterCamLayer
UpperTesterCamLayer()
Definition: UpperTesterCamLayer.hh:24
UpperTesterCamLayer::_params
Params _params
Definition: UpperTesterCamLayer.hh:20
LibItsCam__TypesAndValues
Definition: UpperTesterCamCodec.hh:14
UpperTesterCamCodec
Definition: UpperTesterCamCodec.hh:20
UpperTesterCamLayer::~UpperTesterCamLayer
virtual ~UpperTesterCamLayer()
Definition: UpperTesterCamLayer.hh:26
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
UpperTesterCamCodec.hh
t_layer.hh
Header file for ITS abstract protocol layer definition.