First release
[sim/ns3-o-ran-e2.git] / model / ric-control-function-description.h
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2022 Northeastern University
4  * Copyright (c) 2022 Sapienza, University of Rome
5  * Copyright (c) 2022 University of Padova
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation;
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  *
20  * Author: Andrea Lacava <thecave003@gmail.com>
21  *                 Tommaso Zugno <tommasozugno@gmail.com>
22  *                 Michele Polese <michele.polese@gmail.com>
23  */
24  
25 #ifndef RIC_CONTROL_FUNCTION_DESCRIPTION_H
26 #define RIC_CONTROL_FUNCTION_DESCRIPTION_H
27
28 #include <ns3/function-description.h>
29 #include "ns3/object.h"
30
31 extern "C" {
32   #include "E2SM-RC-RANFunctionDefinition.h"
33 }
34
35 namespace ns3 {
36
37   class RicControlFunctionDescription : public FunctionDescription
38   {
39   public:
40     RicControlFunctionDescription ();
41     ~RicControlFunctionDescription ();
42
43     
44   private:
45   
46     void FillAndEncodeRCFunctionDescription (E2SM_RC_RANFunctionDefinition_t* descriptor);
47     void Encode (E2SM_RC_RANFunctionDefinition_t* descriptor);
48   };
49 }
50
51 #endif /* RIC_CONTROL_FUNCTION_DESCRIPTION_H */