Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*!
* \file udp_layer_factory.hh
* \brief Header file for ITS Qualcomm port protocol layer factory.
* \author ETSI STF525
* \copyright ETSI Copyright Notification
* No part may be reproduced except as authorized by written permission.
* The copyright and the foregoing restriction extend to reproduction in all media.
* All rights reserved.
* \version 0.1
*/
#pragma once
#include "t_layer.hh"
#include "params.hh"
class OCTETSTRING; //! Forward declaration of TITAN class
/*!
* \class qualcomm_layer
* \brief This class provides description of ITS Qualcomm port protocol layer
*/
class qualcomm_layer : public layer {
params _params; //! Layer parameters
public:
//! \publicsection
/*!
* \brief Specialised constructor
* Create a new instance of the qualcomm_layer class
* \param[in] p_type \todo
* \param[in] p_param \todo
*/
qualcomm_layer(const std::string & p_type, const std::string & param);
/*!
* \brief Default destructor
* \remark If \see _reconnect_on_send is set to false, the disconnection is done by the destructor
*/
virtual ~qualcomm_layer() {};
virtual void send_data(OCTETSTRING& data, params& params);
virtual void receive_data(OCTETSTRING& data, params& info);
}; // End of class qualcomm_layer