First release
[sim/ns3-o-ran-e2.git] / helper / lte-indication-message-helper.h
diff --git a/helper/lte-indication-message-helper.h b/helper/lte-indication-message-helper.h
new file mode 100644 (file)
index 0000000..b4c3c2d
--- /dev/null
@@ -0,0 +1,55 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2022 Northeastern University
+ * Copyright (c) 2022 Sapienza, University of Rome
+ * Copyright (c) 2022 University of Padova
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ * Author: Andrea Lacava <thecave003@gmail.com>
+ *                Tommaso Zugno <tommasozugno@gmail.com>
+ *                Michele Polese <michele.polese@gmail.com>
+ */
+
+#ifndef LTE_INDICATION_MESSAGE_HELPER_H
+#define LTE_INDICATION_MESSAGE_HELPER_H
+
+#include <ns3/indication-message-helper.h>
+
+namespace ns3 {
+
+class LteIndicationMessageHelper : public IndicationMessageHelper
+{
+public:
+  LteIndicationMessageHelper (IndicationMessageType type, bool isOffline, bool reducedPmValues);
+
+  ~LteIndicationMessageHelper ();
+
+  void FillCuUpValues (std::string plmId, long pdcpBytesUl, long pdcpBytesDl);
+
+  void AddCuUpUePmItem  (std::string ueImsiComplete, long txBytes, long txDlPackets,
+                           double pdcpThroughput, double pdcpLatency);
+
+  void AddCuUpCellPmItem (double cellAverageLatency);
+
+  void FillCuCpValues (uint16_t numActiveUes);
+
+  void AddCuCpUePmItem (std::string ueImsiComplete, long numDrb, long drbRelAct);
+
+private:
+};
+
+} // namespace ns3
+
+#endif /* LTE_INDICATION_MESSAGE_HELPER_H */
\ No newline at end of file