#include <radio-bearer-stats-connector.h>
Classes | |
struct | CellIdRnti |
Public Member Functions | |
RadioBearerStatsConnector () | |
void | EnablePdcpStats (Ptr< RadioBearerStatsCalculator > pdcpStats) |
void | EnableRlcStats (Ptr< RadioBearerStatsCalculator > rlcStats) |
void | EnsureConnected () |
Static Public Member Functions | |
static void | NotifyConnectionReconfigurationEnb (RadioBearerStatsConnector *c, std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
static void | NotifyConnectionReconfigurationUe (RadioBearerStatsConnector *c, std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
static void | NotifyConnectionSetupUe (RadioBearerStatsConnector *c, std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
static void | NotifyHandoverEndOkEnb (RadioBearerStatsConnector *c, std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
static void | NotifyHandoverEndOkUe (RadioBearerStatsConnector *c, std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
static void | NotifyHandoverStartEnb (RadioBearerStatsConnector *c, std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti, uint16_t targetCellId) |
static void | NotifyHandoverStartUe (RadioBearerStatsConnector *c, std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti, uint16_t targetCellId) |
static void | NotifyNewUeContextEnb (RadioBearerStatsConnector *c, std::string context, uint16_t cellid, uint16_t rnti) |
static void | NotifyRandomAccessSuccessfulUe (RadioBearerStatsConnector *c, std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
Private Member Functions | |
void | ConnectSrb0Traces (std::string ueRrcPath, uint64_t imsi, uint16_t cellId, uint16_t rnti) |
void | ConnectSrb1TracesUe (std::string ueRrcPath, uint64_t imsi, uint16_t cellId, uint16_t rnti) |
void | ConnectTracesEnb (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
void | ConnectTracesEnbIfFirstTime (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
void | ConnectTracesUe (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
void | ConnectTracesUeIfFirstTime (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
void | DisconnectTracesEnb (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
void | DisconnectTracesUe (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
void | StoreUeManagerPath (std::string ueManagerPath, uint16_t cellId, uint16_t rnti) |
Private Attributes | |
bool | m_connected |
std::set< uint64_t > | m_imsiSeenEnb |
std::set< uint64_t > | m_imsiSeenUe |
Ptr< RadioBearerStatsCalculator > | m_pdcpStats |
Ptr< RadioBearerStatsCalculator > | m_rlcStats |
std::map< CellIdRnti, std::string > | m_ueManagerPathByCellIdRnti |
Friends | |
bool | operator< (const CellIdRnti &a, const CellIdRnti &b) |
Definition at line 39 of file radio-bearer-stats-connector.h.
ns3::RadioBearerStatsConnector::RadioBearerStatsConnector | ( | ) |
Definition at line 92 of file radio-bearer-stats-connector.cc.
|
private |
Definition at line 204 of file radio-bearer-stats-connector.cc.
References ns3::RadioBearerStatsConnector::CellIdRnti::cellId, ns3::Config::Connect(), ns3::Config::Disconnect(), ns3::DlRxPduCallback(), ns3::DlTxPduCallback(), m_pdcpStats, m_rlcStats, m_ueManagerPathByCellIdRnti, ns3::MakeBoundCallback(), NS_ASSERT, NS_LOG_FUNCTION, NS_LOG_LOGIC, ns3::RadioBearerStatsConnector::CellIdRnti::rnti, ns3::UlRxPduCallback(), and ns3::UlTxPduCallback().
Referenced by NotifyRandomAccessSuccessfulUe().
|
private |
Definition at line 266 of file radio-bearer-stats-connector.cc.
References ns3::Config::Connect(), ns3::DlRxPduCallback(), m_pdcpStats, m_rlcStats, ns3::MakeBoundCallback(), NS_LOG_FUNCTION, and ns3::UlTxPduCallback().
Referenced by NotifyConnectionSetupUe().
|
private |
Definition at line 355 of file radio-bearer-stats-connector.cc.
References ns3::Config::Connect(), ns3::DlTxPduCallback(), m_pdcpStats, m_rlcStats, ns3::MakeBoundCallback(), NS_LOG_FUNCTION, NS_LOG_LOGIC, and ns3::UlRxPduCallback().
Referenced by ConnectTracesEnbIfFirstTime(), and NotifyHandoverEndOkEnb().
|
private |
Definition at line 305 of file radio-bearer-stats-connector.cc.
References ConnectTracesEnb(), m_imsiSeenEnb, and NS_LOG_FUNCTION.
Referenced by NotifyConnectionReconfigurationEnb().
|
private |
Definition at line 316 of file radio-bearer-stats-connector.cc.
References ns3::Config::Connect(), ns3::DlRxPduCallback(), m_pdcpStats, m_rlcStats, ns3::MakeBoundCallback(), NS_LOG_FUNCTION, NS_LOG_LOGIC, and ns3::UlTxPduCallback().
Referenced by ConnectTracesUeIfFirstTime(), and NotifyHandoverEndOkUe().
|
private |
Definition at line 294 of file radio-bearer-stats-connector.cc.
References ConnectTracesUe(), m_imsiSeenUe, and NS_LOG_FUNCTION.
Referenced by NotifyConnectionReconfigurationUe().
|
private |
Definition at line 405 of file radio-bearer-stats-connector.cc.
References NS_LOG_FUNCTION.
Referenced by NotifyHandoverStartEnb().
|
private |
Definition at line 398 of file radio-bearer-stats-connector.cc.
References NS_LOG_FUNCTION.
Referenced by NotifyHandoverStartUe().
void ns3::RadioBearerStatsConnector::EnablePdcpStats | ( | Ptr< RadioBearerStatsCalculator > | pdcpStats | ) |
Definition at line 105 of file radio-bearer-stats-connector.cc.
References EnsureConnected(), and m_pdcpStats.
Referenced by ns3::LteHelper::EnablePdcpTraces().
void ns3::RadioBearerStatsConnector::EnableRlcStats | ( | Ptr< RadioBearerStatsCalculator > | rlcStats | ) |
Definition at line 98 of file radio-bearer-stats-connector.cc.
References EnsureConnected(), and m_rlcStats.
Referenced by ns3::LteHelper::EnableRlcTraces().
void ns3::RadioBearerStatsConnector::EnsureConnected | ( | ) |
Definition at line 112 of file radio-bearer-stats-connector.cc.
References ns3::Config::Connect(), m_connected, ns3::MakeBoundCallback(), NotifyConnectionReconfigurationEnb(), NotifyConnectionReconfigurationUe(), NotifyHandoverEndOkEnb(), NotifyHandoverEndOkUe(), NotifyHandoverStartEnb(), NotifyHandoverStartUe(), NotifyNewUeContextEnb(), NotifyRandomAccessSuccessfulUe(), and NS_LOG_FUNCTION.
Referenced by EnablePdcpStats(), and EnableRlcStats().
|
static |
Definition at line 174 of file radio-bearer-stats-connector.cc.
References ConnectTracesEnbIfFirstTime().
Referenced by EnsureConnected().
|
static |
Definition at line 150 of file radio-bearer-stats-connector.cc.
References ConnectTracesUeIfFirstTime().
Referenced by EnsureConnected().
|
static |
Definition at line 144 of file radio-bearer-stats-connector.cc.
References ConnectSrb1TracesUe().
|
static |
Definition at line 186 of file radio-bearer-stats-connector.cc.
References ConnectTracesEnb().
Referenced by EnsureConnected().
|
static |
Definition at line 162 of file radio-bearer-stats-connector.cc.
References ConnectTracesUe().
Referenced by EnsureConnected().
|
static |
Definition at line 180 of file radio-bearer-stats-connector.cc.
References DisconnectTracesEnb().
Referenced by EnsureConnected().
|
static |
Definition at line 156 of file radio-bearer-stats-connector.cc.
References DisconnectTracesUe().
Referenced by EnsureConnected().
|
static |
Definition at line 168 of file radio-bearer-stats-connector.cc.
References StoreUeManagerPath().
Referenced by EnsureConnected().
|
static |
Definition at line 138 of file radio-bearer-stats-connector.cc.
References ConnectSrb0Traces().
Referenced by EnsureConnected().
|
private |
Definition at line 192 of file radio-bearer-stats-connector.cc.
References ns3::RadioBearerStatsConnector::CellIdRnti::cellId, m_ueManagerPathByCellIdRnti, NS_LOG_FUNCTION, and ns3::RadioBearerStatsConnector::CellIdRnti::rnti.
Referenced by NotifyNewUeContextEnb().
|
friend |
Definition at line 40 of file radio-bearer-stats-connector.cc.
|
private |
Definition at line 76 of file radio-bearer-stats-connector.h.
Referenced by EnsureConnected().
|
private |
Definition at line 78 of file radio-bearer-stats-connector.h.
Referenced by ConnectTracesEnbIfFirstTime().
|
private |
Definition at line 77 of file radio-bearer-stats-connector.h.
Referenced by ConnectTracesUeIfFirstTime().
|
private |
Definition at line 74 of file radio-bearer-stats-connector.h.
Referenced by ConnectSrb0Traces(), ConnectSrb1TracesUe(), ConnectTracesEnb(), ConnectTracesUe(), and EnablePdcpStats().
|
private |
Definition at line 73 of file radio-bearer-stats-connector.h.
Referenced by ConnectSrb0Traces(), ConnectSrb1TracesUe(), ConnectTracesEnb(), ConnectTracesUe(), and EnableRlcStats().
|
private |
Definition at line 86 of file radio-bearer-stats-connector.h.
Referenced by ConnectSrb0Traces(), and StoreUeManagerPath().