ETSI STF525 / Internal Testing test suite This project provides an internal testing test suite and its associated Test Adapter/Codec

UpperTesterCamLayer.hh
Go to the documentation of this file.
1 #ifndef UpperTesterCam_LAYER_H
2 #define UpperTesterCam_LAYER_H
3
4 #include <memory>
5
6 #include "t_layer.hh"
7 #include "UpperTesterCamCodec.hh"
8
9 namespace LibItsCam__TestSystem {
10 class UpperTesterPort;
11 }
12
13 namespace LibItsCam__TypesAndValues {
14 class UtCamInitialize;
15 class UtCamChangePosition;
16 class UtCamTrigger;
17 }
18
19 class UpperTesterCamLayer : public t_layer<LibItsCam__TestSystem::UpperTesterPort> {
20 Params _params;
21 UpperTesterCamCodec _codec;
22
23 public:
24 UpperTesterCamLayer() : t_layer<LibItsCam__TestSystem::UpperTesterPort>(), _params(), _codec() {};
25 UpperTesterCamLayer(const std::string & p_type, const std::string & param);
26 virtual ~UpperTesterCamLayer() {};
27
28 void sendMsg(const LibItsCam__TypesAndValues::UtCamInitialize& send_par, Params& params);
29 void sendMsg(const LibItsCam__TypesAndValues::UtCamChangePosition& send_par, Params& params);
30 void sendMsg(const LibItsCam__TypesAndValues::UtCamTrigger& send_par, Params& params);
31
32 virtual void send_data(OCTETSTRING& data, Params& params);
33 virtual void receive_data(OCTETSTRING& data, Params& info);
34 };
35
36 #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.