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

#include <lte-stats-calculator.h>

+ Inheritance diagram for ns3::LteStatsCalculator:
+ Collaboration diagram for ns3::LteStatsCalculator:

Public Member Functions

 LteStatsCalculator ()
 
virtual ~LteStatsCalculator ()
 
bool ExistsCellIdPath (std::string path)
 
bool ExistsImsiPath (std::string path)
 
uint16_t GetCellIdPath (std::string path)
 
std::string GetDlOutputFilename (void)
 
uint64_t GetImsiPath (std::string path)
 
std::string GetUlOutputFilename (void)
 
void SetCellIdPath (std::string path, uint16_t cellId)
 
void SetDlOutputFilename (std::string outputFilename)
 
void SetImsiPath (std::string path, uint64_t imsi)
 
void SetUlOutputFilename (std::string outputFilename)
 
- Public Member Functions inherited from ns3::Object
 Object ()
 
virtual ~Object ()
 
void AggregateObject (Ptr< Object > other)
 
void Dispose (void)
 
AggregateIterator GetAggregateIterator (void) const
 
virtual TypeId GetInstanceTypeId (void) const
 
template<typename T >
Ptr< T > GetObject (void) const
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 
void Initialize (void)
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 
 SimpleRefCount (const SimpleRefCount &o)
 
uint32_t GetReferenceCount (void) const
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 
void Ref (void) const
 
void Unref (void) const
 
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 
void GetAttribute (std::string name, AttributeValue &value) const
 
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
 
void SetAttribute (std::string name, const AttributeValue &value)
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 

Static Public Member Functions

static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
static void Cleanup (void)
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId (void)
 

Static Protected Member Functions

static uint16_t FindCellIdFromEnbMac (std::string path, uint16_t rnti)
 
static uint16_t FindCellIdFromEnbRlcPath (std::string path)
 
static uint64_t FindImsiForEnb (std::string path, uint16_t rnti)
 
static uint64_t FindImsiForUe (std::string path, uint16_t rnti)
 
static uint64_t FindImsiFromEnbMac (std::string path, uint16_t rnti)
 
static uint64_t FindImsiFromEnbRlcPath (std::string path)
 
static uint64_t FindImsiFromLteNetDevice (std::string path)
 
static uint64_t FindImsiFromUePhy (std::string path)
 

Private Attributes

std::string m_dlOutputFilename
 
std::map< std::string, uint16_t > m_pathCellIdMap
 
std::map< std::string, uint64_t > m_pathImsiMap
 
std::string m_ulOutputFilename
 

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 
virtual void DoDispose (void)
 
virtual void DoInitialize (void)
 
virtual void NotifyNewAggregate (void)
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 
virtual void NotifyConstructionCompleted (void)
 

Detailed Description

Doxygen introspection did not find any typical Config paths.
No Attributes are defined for this type.
No TraceSources are defined for this type.

Definition at line 30 of file lte-stats-calculator.h.

Constructor & Destructor Documentation

ns3::LteStatsCalculator::LteStatsCalculator ( )

Constructor

Definition at line 34 of file lte-stats-calculator.cc.

ns3::LteStatsCalculator::~LteStatsCalculator ( )
virtual

Destructor

Definition at line 42 of file lte-stats-calculator.cc.

Member Function Documentation

bool ns3::LteStatsCalculator::ExistsCellIdPath ( std::string  path)

Checks if there is an already stored cell id for the given path

Parameters
pathPath in the attribute system to check

Definition at line 111 of file lte-stats-calculator.cc.

References m_pathCellIdMap.

bool ns3::LteStatsCalculator::ExistsImsiPath ( std::string  path)

Checks if there is an already stored IMSI for the given path

Parameters
pathPath in the attribute system to check

Definition at line 85 of file lte-stats-calculator.cc.

References m_pathImsiMap.

uint16_t ns3::LteStatsCalculator::FindCellIdFromEnbMac ( std::string  path,
uint16_t  rnti 
)
staticprotected

Definition at line 245 of file lte-stats-calculator.cc.

References FindCellIdFromEnbRlcPath(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.

Referenced by ns3::MacStatsCalculator::DlSchedulingCallback(), and ns3::MacStatsCalculator::UlSchedulingCallback().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint16_t ns3::LteStatsCalculator::FindCellIdFromEnbRlcPath ( std::string  path)
staticprotected

Definition at line 208 of file lte-stats-calculator.cc.

References ns3::Config::MatchContainer::Get(), ns3::LteEnbNetDevice::GetCellId(), ns3::Config::MatchContainer::GetN(), ns3::Object::GetObject(), ns3::Config::LookupMatches(), NS_FATAL_ERROR, NS_LOG_FUNCTION, and NS_LOG_LOGIC.

Referenced by FindCellIdFromEnbMac().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint64_t ns3::LteStatsCalculator::FindImsiForEnb ( std::string  path,
uint16_t  rnti 
)
staticprotected

Definition at line 260 of file lte-stats-calculator.cc.

References FindImsiFromEnbRlcPath(), FindImsiFromLteNetDevice(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.

Referenced by ns3::PhyTxStatsCalculator::DlPhyTransmissionCallback(), and ns3::PhyRxStatsCalculator::UlPhyReceptionCallback().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint64_t ns3::LteStatsCalculator::FindImsiForUe ( std::string  path,
uint16_t  rnti 
)
staticprotected

Definition at line 285 of file lte-stats-calculator.cc.

References FindImsiFromEnbRlcPath(), FindImsiFromLteNetDevice(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.

Referenced by ns3::PhyRxStatsCalculator::DlPhyReceptionCallback(), and ns3::PhyTxStatsCalculator::UlPhyTransmissionCallback().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint64_t ns3::LteStatsCalculator::FindImsiFromEnbMac ( std::string  path,
uint16_t  rnti 
)
staticprotected

Definition at line 230 of file lte-stats-calculator.cc.

References FindImsiFromEnbRlcPath(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.

Referenced by ns3::MacStatsCalculator::DlSchedulingCallback(), ns3::PhyStatsCalculator::ReportUeSinr(), and ns3::MacStatsCalculator::UlSchedulingCallback().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint64_t ns3::LteStatsCalculator::FindImsiFromEnbRlcPath ( std::string  path)
staticprotected
uint64_t ns3::LteStatsCalculator::FindImsiFromLteNetDevice ( std::string  path)
staticprotected

Definition at line 186 of file lte-stats-calculator.cc.

References ns3::Config::MatchContainer::Get(), ns3::LteUeNetDevice::GetImsi(), ns3::Config::MatchContainer::GetN(), ns3::Object::GetObject(), ns3::Config::LookupMatches(), NS_FATAL_ERROR, NS_LOG_FUNCTION, and NS_LOG_LOGIC.

Referenced by FindImsiForEnb(), and FindImsiForUe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint64_t ns3::LteStatsCalculator::FindImsiFromUePhy ( std::string  path)
staticprotected

Definition at line 161 of file lte-stats-calculator.cc.

References ns3::Config::MatchContainer::Get(), ns3::Config::MatchContainer::GetN(), ns3::Object::GetObject(), ns3::Config::LookupMatches(), NS_FATAL_ERROR, and NS_LOG_FUNCTION.

Referenced by ns3::PhyStatsCalculator::ReportCurrentCellRsrpSinrCallback().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint16_t ns3::LteStatsCalculator::GetCellIdPath ( std::string  path)

Retrieves the cell id information for the given path

Parameters
pathPath in the attribute system to get

Definition at line 131 of file lte-stats-calculator.cc.

References m_pathCellIdMap.

std::string ns3::LteStatsCalculator::GetDlOutputFilename ( void  )
uint64_t ns3::LteStatsCalculator::GetImsiPath ( std::string  path)

Retrieves the imsi information for the given path

Parameters
pathPath in the attribute system to get

Definition at line 105 of file lte-stats-calculator.cc.

References m_pathImsiMap.

TypeId ns3::LteStatsCalculator::GetTypeId ( void  )
static

Definition at line 49 of file lte-stats-calculator.cc.

References ns3::TypeId::SetParent().

+ Here is the call graph for this function:

std::string ns3::LteStatsCalculator::GetUlOutputFilename ( void  )

Get the name of the file where the uplink statistics will be stored.

Definition at line 66 of file lte-stats-calculator.cc.

References m_ulOutputFilename.

Referenced by ns3::MacStatsCalculator::GetUlOutputFilename(), ns3::RadioBearerStatsCalculator::GetUlOutputFilename(), ns3::PhyRxStatsCalculator::GetUlRxOutputFilename(), and ns3::PhyTxStatsCalculator::GetUlTxOutputFilename().

+ Here is the caller graph for this function:

void ns3::LteStatsCalculator::SetCellIdPath ( std::string  path,
uint16_t  cellId 
)

Stores the (path, cellId) pairs in a map

Parameters
pathPath in the attribute system to store
cellIdcell id value to store

Definition at line 124 of file lte-stats-calculator.cc.

References m_pathCellIdMap, and NS_LOG_FUNCTION.

void ns3::LteStatsCalculator::SetDlOutputFilename ( std::string  outputFilename)

Set the name of the file where the downlink statistics will be stored.

Parameters
outputFilenamestring with the name of the file

Definition at line 72 of file lte-stats-calculator.cc.

References m_dlOutputFilename.

Referenced by ns3::RadioBearerStatsCalculator::GetTypeId(), ns3::MacStatsCalculator::SetDlOutputFilename(), ns3::PhyRxStatsCalculator::SetDlRxOutputFilename(), and ns3::PhyTxStatsCalculator::SetDlTxOutputFilename().

+ Here is the caller graph for this function:

void ns3::LteStatsCalculator::SetImsiPath ( std::string  path,
uint64_t  imsi 
)

Stores the (path, imsi) pairs in a map

Parameters
pathPath in the attribute system to store
imsiIMSI value to store

Definition at line 98 of file lte-stats-calculator.cc.

References m_pathImsiMap, and NS_LOG_FUNCTION.

void ns3::LteStatsCalculator::SetUlOutputFilename ( std::string  outputFilename)

Set the name of the file where the uplink statistics will be stored.

Parameters
outputFilenamestring with the name of the file

Definition at line 60 of file lte-stats-calculator.cc.

References m_ulOutputFilename.

Referenced by ns3::RadioBearerStatsCalculator::GetTypeId(), ns3::MacStatsCalculator::SetUlOutputFilename(), ns3::PhyRxStatsCalculator::SetUlRxOutputFilename(), and ns3::PhyTxStatsCalculator::SetUlTxOutputFilename().

+ Here is the caller graph for this function:

Member Data Documentation

std::string ns3::LteStatsCalculator::m_dlOutputFilename
private

Definition at line 123 of file lte-stats-calculator.h.

Referenced by GetDlOutputFilename(), and SetDlOutputFilename().

std::map<std::string, uint16_t> ns3::LteStatsCalculator::m_pathCellIdMap
private

Definition at line 121 of file lte-stats-calculator.h.

Referenced by ExistsCellIdPath(), GetCellIdPath(), and SetCellIdPath().

std::map<std::string, uint64_t> ns3::LteStatsCalculator::m_pathImsiMap
private

Definition at line 120 of file lte-stats-calculator.h.

Referenced by ExistsImsiPath(), GetImsiPath(), and SetImsiPath().

std::string ns3::LteStatsCalculator::m_ulOutputFilename
private

Definition at line 124 of file lte-stats-calculator.h.

Referenced by GetUlOutputFilename(), and SetUlOutputFilename().


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