UpperTesterGnLayer.hh
Go to the documentation of this file.
#ifndef UpperTesterGn_LAYER_H
#define UpperTesterGn_LAYER_H
#include "t_layer.hh"
#include "UpperTesterGnCodec.hh"
namespace LibItsGeoNetworking__TestSystem {
class UpperTesterPort;
}
namespace LibItsGeoNetworking__TypesAndValues {
class UtGnInitialize;
class UtGnChangePosition;
class UtGnTrigger;
class UtAutoInteropTrigger;
}
class UpperTesterGnLayer : public t_layer<LibItsGeoNetworking__TestSystem::UpperTesterPort> {
Params _params;
UpperTesterGnCodec _codec;
public:
UpperTesterGnLayer() : t_layer<LibItsGeoNetworking__TestSystem::UpperTesterPort>(), _params(), _codec() {};
UpperTesterGnLayer(const std::string & p_type, const std::string & param);
virtual ~UpperTesterGnLayer() {};
void sendMsg(const LibItsGeoNetworking__TypesAndValues::UtGnInitialize& send_par, Params& params);
void sendMsg(const LibItsGeoNetworking__TypesAndValues::UtGnChangePosition& send_par, Params& params);
void sendMsg(const LibItsGeoNetworking__TypesAndValues::UtGnTrigger& send_par, Params& params);
void sendMsg(const LibItsGeoNetworking__TypesAndValues::UtAutoInteropTrigger& 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
UpperTesterGnLayer::~UpperTesterGnLayer
virtual ~UpperTesterGnLayer()
Definition: UpperTesterGnLayer.hh:25
UpperTesterGnLayer::UpperTesterGnLayer
UpperTesterGnLayer()
Definition: UpperTesterGnLayer.hh:23
UpperTesterGnLayer::_codec
UpperTesterGnCodec _codec
Definition: UpperTesterGnLayer.hh:20
LibItsGeoNetworking__TypesAndValues
Definition: geonetworking_layer.hh:32
UpperTesterGnLayer::_params
Params _params
Definition: UpperTesterGnLayer.hh:19
UpperTesterGnCodec
Definition: UpperTesterGnCodec.hh:19
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
UpperTesterGnLayer
Definition: UpperTesterGnLayer.hh:18
LibItsGeoNetworking__TestSystem
Forward declaration of TITAN class.
Definition: GeoNetworkingPort.cc:14
UpperTesterGnCodec.hh
t_layer.hh
Header file for ITS abstract protocol layer definition.