Doxygen introspection did not find any typical Config paths. More...
#include <lte-stats-calculator.h>
Public Member Functions | |
LteStatsCalculator () | |
Constructor. More... | |
virtual | ~LteStatsCalculator () |
Destructor. More... | |
bool | ExistsCellIdPath (std::string path) |
Checks if there is an already stored cell id for the given path. More... | |
bool | ExistsImsiPath (std::string path) |
Checks if there is an already stored IMSI for the given path. More... | |
uint16_t | GetCellIdPath (std::string path) |
Retrieves the cell id information for the given path. More... | |
std::string | GetDlOutputFilename (void) |
Get the name of the file where the downlink statistics will be stored. More... | |
uint64_t | GetImsiPath (std::string path) |
Retrieves the imsi information for the given path. More... | |
std::string | GetUlOutputFilename (void) |
Get the name of the file where the uplink statistics will be stored. More... | |
void | SetCellIdPath (std::string path, uint16_t cellId) |
Stores the (path, cellId) pairs in a map. More... | |
void | SetDlOutputFilename (std::string outputFilename) |
Set the name of the file where the downlink statistics will be stored. More... | |
void | SetImsiPath (std::string path, uint64_t imsi) |
Stores the (path, imsi) pairs in a map. More... | |
void | SetUlOutputFilename (std::string outputFilename) |
Set the name of the file where the uplink statistics will be stored. More... | |
Public Member Functions inherited from ns3::Object | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
Run the DoDispose methods of this object and all the objects aggregated to it. More... | |
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) |
This method calls the virtual DoInitialize method on all the objects aggregated to this object. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
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) |
Register this type. More... | |
Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
static void | Cleanup (void) |
Noop. More... | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
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) |
This method is called by Object::Dispose or by the object's destructor, whichever comes first. More... | |
virtual void | DoInitialize (void) |
This method is called only once by Object::Initialize. More... | |
virtual void | NotifyNewAggregate (void) |
This method is invoked whenever two sets of objects are aggregated together. More... | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
This method is invoked once all member attributes have been initialized. More... | |
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.
ns3::LteStatsCalculator::LteStatsCalculator | ( | ) |
Constructor.
Definition at line 35 of file lte-stats-calculator.cc.
|
virtual |
Destructor.
Definition at line 43 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 112 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.
path | Path in the attribute system to check |
Definition at line 86 of file lte-stats-calculator.cc.
References m_pathImsiMap.
|
staticprotected |
Definition at line 246 of file lte-stats-calculator.cc.
References FindCellIdFromEnbRlcPath(), NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by ns3::MacStatsCalculator::DlSchedulingCallback(), and ns3::MacStatsCalculator::UlSchedulingCallback().
|
staticprotected |
Definition at line 209 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().
|
staticprotected |
Definition at line 261 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().
|
staticprotected |
Definition at line 286 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().
|
staticprotected |
Definition at line 231 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().
|
staticprotected |
Definition at line 139 of file lte-stats-calculator.cc.
References ns3::Config::MatchContainer::Get(), ns3::UeManager::GetImsi(), ns3::Config::MatchContainer::GetN(), ns3::Object::GetObject(), ns3::Config::LookupMatches(), NS_FATAL_ERROR, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by FindImsiForEnb(), FindImsiForUe(), and FindImsiFromEnbMac().
|
staticprotected |
Definition at line 187 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().
|
staticprotected |
Definition at line 162 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().
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 132 of file lte-stats-calculator.cc.
References m_pathCellIdMap.
std::string ns3::LteStatsCalculator::GetDlOutputFilename | ( | void | ) |
Get the name of the file where the downlink statistics will be stored.
Definition at line 79 of file lte-stats-calculator.cc.
References m_dlOutputFilename.
Referenced by ns3::PhyTxStatsCalculator::DlPhyTransmission(), ns3::MacStatsCalculator::GetDlOutputFilename(), ns3::RadioBearerStatsCalculator::GetDlOutputFilename(), ns3::PhyRxStatsCalculator::GetDlRxOutputFilename(), and ns3::PhyTxStatsCalculator::GetDlTxOutputFilename().
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 106 of file lte-stats-calculator.cc.
References m_pathImsiMap.
|
static |
Definition at line 50 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.
Definition at line 67 of file lte-stats-calculator.cc.
References m_ulOutputFilename.
Referenced by ns3::MacStatsCalculator::GetUlOutputFilename(), ns3::RadioBearerStatsCalculator::GetUlOutputFilename(), ns3::PhyRxStatsCalculator::GetUlRxOutputFilename(), and ns3::PhyTxStatsCalculator::GetUlTxOutputFilename().
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 125 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.
outputFilename | string with the name of the file |
Definition at line 73 of file lte-stats-calculator.cc.
References m_dlOutputFilename.
Referenced by ns3::RadioBearerStatsCalculator::GetTypeId(), ns3::MacStatsCalculator::SetDlOutputFilename(), ns3::PhyRxStatsCalculator::SetDlRxOutputFilename(), and ns3::PhyTxStatsCalculator::SetDlTxOutputFilename().
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 99 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.
outputFilename | string with the name of the file |
Definition at line 61 of file lte-stats-calculator.cc.
References m_ulOutputFilename.
Referenced by ns3::RadioBearerStatsCalculator::GetTypeId(), ns3::MacStatsCalculator::SetUlOutputFilename(), ns3::PhyRxStatsCalculator::SetUlRxOutputFilename(), and ns3::PhyTxStatsCalculator::SetUlTxOutputFilename().
|
private |
Definition at line 129 of file lte-stats-calculator.h.
Referenced by GetDlOutputFilename(), and SetDlOutputFilename().
|
private |
Definition at line 127 of file lte-stats-calculator.h.
Referenced by ExistsCellIdPath(), GetCellIdPath(), and SetCellIdPath().
|
private |
Definition at line 126 of file lte-stats-calculator.h.
Referenced by ExistsImsiPath(), GetImsiPath(), and SetImsiPath().
|
private |
Definition at line 130 of file lte-stats-calculator.h.
Referenced by GetUlOutputFilename(), and SetUlOutputFilename().