#include <lte-stats-calculator.h>
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) |
![]() | |
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) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
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 | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoStart (void) |
virtual void | NotifyNewAggregate (void) |
Definition at line 30 of file lte-stats-calculator.h.
ns3::LteStatsCalculator::LteStatsCalculator | ( | ) |
Constructor
Definition at line 28 of file lte-stats-calculator.cc.
|
virtual |
Destructor
Definition at line 36 of file lte-stats-calculator.cc.
bool ns3::LteStatsCalculator::ExistsCellIdPath | ( | std::string | path | ) |
Checks if there is an already stored cell id for the given path
path | Path 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().
bool ns3::LteStatsCalculator::ExistsImsiPath | ( | std::string | path | ) |
Checks if there is an already stored IMSI for the given path
path | Path 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().
uint16_t ns3::LteStatsCalculator::GetCellIdPath | ( | std::string | path | ) |
Retrieves the cell id information for the given path
path | Path 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().
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
path | Path 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().
|
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().
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
path | Path in the attribute system to store |
cellId | cell 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().
void ns3::LteStatsCalculator::SetDlOutputFilename | ( | std::string | outputFilename | ) |
Set the name of the file where the downlink statistics will be stored.
outputFilename | string 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().
void ns3::LteStatsCalculator::SetImsiPath | ( | std::string | path, |
uint64_t | imsi | ||
) |
Stores the (path, imsi) pairs in a map
path | Path in the attribute system to store |
imsi | IMSI 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().
void ns3::LteStatsCalculator::SetUlOutputFilename | ( | std::string | outputFilename | ) |
Set the name of the file where the uplink statistics will be stored.
outputFilename | string 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().
|
private |
Definition at line 112 of file lte-stats-calculator.h.
Referenced by GetDlOutputFilename(), and SetDlOutputFilename().
|
private |
Definition at line 110 of file lte-stats-calculator.h.
Referenced by ExistsCellIdPath(), GetCellIdPath(), and SetCellIdPath().
|
private |
Definition at line 109 of file lte-stats-calculator.h.
Referenced by ExistsImsiPath(), GetImsiPath(), and SetImsiPath().
|
private |
Definition at line 113 of file lte-stats-calculator.h.
Referenced by GetUlOutputFilename(), and SetUlOutputFilename().