A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::RadioBearerStatsConnector Class Reference

#include <radio-bearer-stats-connector.h>

+ Collaboration diagram for ns3::RadioBearerStatsConnector:

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< RadioBearerStatsCalculatorm_pdcpStats
 
Ptr< RadioBearerStatsCalculatorm_rlcStats
 
std::map< CellIdRnti, std::string > m_ueManagerPathByCellIdRnti
 

Friends

bool operator< (const CellIdRnti &a, const CellIdRnti &b)
 

Detailed Description

Definition at line 39 of file radio-bearer-stats-connector.h.

Constructor & Destructor Documentation

ns3::RadioBearerStatsConnector::RadioBearerStatsConnector ( )

Definition at line 92 of file radio-bearer-stats-connector.cc.

Member Function Documentation

void ns3::RadioBearerStatsConnector::ConnectSrb0Traces ( std::string  ueRrcPath,
uint64_t  imsi,
uint16_t  cellId,
uint16_t  rnti 
)
private
void ns3::RadioBearerStatsConnector::ConnectSrb1TracesUe ( std::string  ueRrcPath,
uint64_t  imsi,
uint16_t  cellId,
uint16_t  rnti 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::ConnectTracesEnb ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::ConnectTracesEnbIfFirstTime ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
private

Definition at line 305 of file radio-bearer-stats-connector.cc.

References ConnectTracesEnb(), m_imsiSeenEnb, and NS_LOG_FUNCTION.

Referenced by NotifyConnectionReconfigurationEnb().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::ConnectTracesUe ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::ConnectTracesUeIfFirstTime ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
private

Definition at line 294 of file radio-bearer-stats-connector.cc.

References ConnectTracesUe(), m_imsiSeenUe, and NS_LOG_FUNCTION.

Referenced by NotifyConnectionReconfigurationUe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::DisconnectTracesEnb ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
private

Definition at line 405 of file radio-bearer-stats-connector.cc.

References NS_LOG_FUNCTION.

Referenced by NotifyHandoverStartEnb().

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::DisconnectTracesUe ( std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
private

Definition at line 398 of file radio-bearer-stats-connector.cc.

References NS_LOG_FUNCTION.

Referenced by NotifyHandoverStartUe().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::NotifyConnectionReconfigurationEnb ( RadioBearerStatsConnector c,
std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
static

Definition at line 174 of file radio-bearer-stats-connector.cc.

References ConnectTracesEnbIfFirstTime().

Referenced by EnsureConnected().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::NotifyConnectionReconfigurationUe ( RadioBearerStatsConnector c,
std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
static

Definition at line 150 of file radio-bearer-stats-connector.cc.

References ConnectTracesUeIfFirstTime().

Referenced by EnsureConnected().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::NotifyConnectionSetupUe ( RadioBearerStatsConnector c,
std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
static

Definition at line 144 of file radio-bearer-stats-connector.cc.

References ConnectSrb1TracesUe().

+ Here is the call graph for this function:

void ns3::RadioBearerStatsConnector::NotifyHandoverEndOkEnb ( RadioBearerStatsConnector c,
std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
static

Definition at line 186 of file radio-bearer-stats-connector.cc.

References ConnectTracesEnb().

Referenced by EnsureConnected().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::NotifyHandoverEndOkUe ( RadioBearerStatsConnector c,
std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
static

Definition at line 162 of file radio-bearer-stats-connector.cc.

References ConnectTracesUe().

Referenced by EnsureConnected().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::NotifyHandoverStartEnb ( RadioBearerStatsConnector c,
std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti,
uint16_t  targetCellId 
)
static

Definition at line 180 of file radio-bearer-stats-connector.cc.

References DisconnectTracesEnb().

Referenced by EnsureConnected().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::NotifyHandoverStartUe ( RadioBearerStatsConnector c,
std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti,
uint16_t  targetCellId 
)
static

Definition at line 156 of file radio-bearer-stats-connector.cc.

References DisconnectTracesUe().

Referenced by EnsureConnected().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::NotifyNewUeContextEnb ( RadioBearerStatsConnector c,
std::string  context,
uint16_t  cellid,
uint16_t  rnti 
)
static

Definition at line 168 of file radio-bearer-stats-connector.cc.

References StoreUeManagerPath().

Referenced by EnsureConnected().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::NotifyRandomAccessSuccessfulUe ( RadioBearerStatsConnector c,
std::string  context,
uint64_t  imsi,
uint16_t  cellid,
uint16_t  rnti 
)
static

Definition at line 138 of file radio-bearer-stats-connector.cc.

References ConnectSrb0Traces().

Referenced by EnsureConnected().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::RadioBearerStatsConnector::StoreUeManagerPath ( std::string  ueManagerPath,
uint16_t  cellId,
uint16_t  rnti 
)
private

Friends And Related Function Documentation

bool operator< ( const CellIdRnti a,
const CellIdRnti b 
)
friend

Definition at line 40 of file radio-bearer-stats-connector.cc.

Member Data Documentation

bool ns3::RadioBearerStatsConnector::m_connected
private

Definition at line 76 of file radio-bearer-stats-connector.h.

Referenced by EnsureConnected().

std::set<uint64_t> ns3::RadioBearerStatsConnector::m_imsiSeenEnb
private

Definition at line 78 of file radio-bearer-stats-connector.h.

Referenced by ConnectTracesEnbIfFirstTime().

std::set<uint64_t> ns3::RadioBearerStatsConnector::m_imsiSeenUe
private

Definition at line 77 of file radio-bearer-stats-connector.h.

Referenced by ConnectTracesUeIfFirstTime().

Ptr<RadioBearerStatsCalculator> ns3::RadioBearerStatsConnector::m_pdcpStats
private
Ptr<RadioBearerStatsCalculator> ns3::RadioBearerStatsConnector::m_rlcStats
private
std::map<CellIdRnti, std::string> ns3::RadioBearerStatsConnector::m_ueManagerPathByCellIdRnti
private

Definition at line 86 of file radio-bearer-stats-connector.h.

Referenced by ConnectSrb0Traces(), and StoreUeManagerPath().


The documentation for this class was generated from the following files: