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 Start (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)
 This method returns the TypeId associated to ns3::LteStatsCalculator.

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 DoStart (void)
virtual void NotifyNewAggregate (void)

Detailed Description

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

Constructor & Destructor Documentation

ns3::LteStatsCalculator::LteStatsCalculator ( )

Constructor

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

ns3::LteStatsCalculator::~LteStatsCalculator ( )
virtual

Destructor

Definition at line 36 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 105 of file lte-stats-calculator.cc.

References m_pathCellIdMap.

Referenced by ns3::DlSchedulingCallback(), ns3::DlTxPduCallback(), ns3::UlRxPduCallback(), and ns3::UlSchedulingCallback().

+ Here is the caller graph for this function:

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 79 of file lte-stats-calculator.cc.

References m_pathImsiMap.

Referenced by ns3::DlRxPduCallback(), ns3::DlSchedulingCallback(), ns3::DlTxPduCallback(), ns3::UlRxPduCallback(), ns3::UlSchedulingCallback(), and ns3::UlTxPduCallback().

+ 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 125 of file lte-stats-calculator.cc.

References m_pathCellIdMap.

Referenced by ns3::DlSchedulingCallback(), ns3::DlTxPduCallback(), ns3::UlRxPduCallback(), and ns3::UlSchedulingCallback().

+ Here is the caller graph for this function:

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

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

Reimplemented in ns3::RadioBearerStatsCalculator, and ns3::MacStatsCalculator.

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

References m_dlOutputFilename.

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 99 of file lte-stats-calculator.cc.

References m_pathImsiMap.

Referenced by ns3::DlRxPduCallback(), ns3::DlSchedulingCallback(), ns3::DlTxPduCallback(), ns3::UlRxPduCallback(), ns3::UlSchedulingCallback(), and ns3::UlTxPduCallback().

+ Here is the caller graph for this function:

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

This method returns the TypeId associated to ns3::LteStatsCalculator.

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Object.

Reimplemented in ns3::RadioBearerStatsCalculator, and ns3::MacStatsCalculator.

Definition at line 43 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.

Reimplemented in ns3::RadioBearerStatsCalculator, and ns3::MacStatsCalculator.

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

References m_ulOutputFilename.

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 118 of file lte-stats-calculator.cc.

References m_pathCellIdMap, and NS_LOG_FUNCTION.

Referenced by ns3::DlSchedulingCallback(), ns3::DlTxPduCallback(), ns3::UlRxPduCallback(), and ns3::UlSchedulingCallback().

+ Here is the caller graph for this 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

Reimplemented in ns3::MacStatsCalculator.

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

References m_dlOutputFilename.

Referenced by ns3::RadioBearerStatsCalculator::GetTypeId().

+ 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 92 of file lte-stats-calculator.cc.

References m_pathImsiMap, and NS_LOG_FUNCTION.

Referenced by ns3::DlRxPduCallback(), ns3::DlSchedulingCallback(), ns3::DlTxPduCallback(), ns3::UlRxPduCallback(), ns3::UlSchedulingCallback(), and ns3::UlTxPduCallback().

+ Here is the caller graph for this 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

Reimplemented in ns3::MacStatsCalculator.

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

References m_ulOutputFilename.

Referenced by ns3::RadioBearerStatsCalculator::GetTypeId().

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 112 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 110 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 109 of file lte-stats-calculator.h.

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

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

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

Referenced by GetUlOutputFilename(), and SetUlOutputFilename().


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