1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
3 * Copyright (c) 2022 Northeastern University
4 * Copyright (c) 2022 Sapienza, University of Rome
5 * Copyright (c) 2022 University of Padova
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;
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.
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
20 * Author: Andrea Lacava <thecave003@gmail.com>
21 * Tommaso Zugno <tommasozugno@gmail.com>
22 * Michele Polese <michele.polese@gmail.com>
25 #ifndef INDICATION_MESSAGE_HELPER_H
26 #define INDICATION_MESSAGE_HELPER_H
28 #include <ns3/kpm-indication.h>
32 class IndicationMessageHelper : public Object
35 enum class IndicationMessageType { CuCp = 0, CuUp = 1, Du = 2 };
36 IndicationMessageHelper (IndicationMessageType type, bool isOffline, bool reducedPmValues);
38 ~IndicationMessageHelper ();
40 Ptr<KpmIndicationMessage> CreateIndicationMessage ();
49 void FillBaseCuUpValues (std::string plmId);
51 void FillBaseCuCpValues (uint16_t numActiveUes);
53 IndicationMessageType m_type;
55 bool m_reducedPmValues;
56 KpmIndicationMessage::KpmIndicationMessageValues m_msgValues;
57 Ptr<OCuUpContainerValues> m_cuUpValues;
58 Ptr<OCuCpContainerValues> m_cuCpValues;
59 Ptr<ODuContainerValues> m_duValues;
64 #endif /* INDICATION_MESSAGE_HELPER_H */