ns3::SatStatsHelper Class Referenceabstract

Parent abstract class of all satellite statistics helpers. More...

#include "satellite-stats-helper.h"

+ Inheritance diagram for ns3::SatStatsHelper:
+ Collaboration diagram for ns3::SatStatsHelper:

Public Types

enum  IdentifierType_t {
  IDENTIFIER_GLOBAL = 0 , IDENTIFIER_GW , IDENTIFIER_BEAM , IDENTIFIER_UT ,
  IDENTIFIER_UT_USER , IDENTIFIER_SLICE , IDENTIFIER_GROUP , IDENTIFIER_SAT ,
  IDENTIFIER_ISL
}
 Possible categorization of statistics output. More...
 
enum  OutputType_t {
  OUTPUT_NONE = 0 , OUTPUT_SCALAR_FILE , OUTPUT_SCATTER_FILE , OUTPUT_HISTOGRAM_FILE ,
  OUTPUT_PDF_FILE , OUTPUT_CDF_FILE , OUTPUT_SCALAR_PLOT , OUTPUT_SCATTER_PLOT ,
  OUTPUT_HISTOGRAM_PLOT , OUTPUT_PDF_PLOT , OUTPUT_CDF_PLOT
}
 Possible types and formats of statistics output. More...
 

Public Member Functions

 SatStatsHelper (Ptr< const SatHelper > satHelper)
 Creates a new helper instance. More...
 
virtual ~SatStatsHelper ()
 / Destructor. More...
 
IdentifierType_t GetIdentifierType () const
 
std::string GetName () const
 
OutputType_t GetOutputType () const
 
Ptr< const SatHelperGetSatHelper () const
 
void Install ()
 Install the probes, collectors, and aggregators necessary to produce the statistics output. More...
 
bool IsInstalled () const
 
void SetIdentifierType (IdentifierType_t identifierType)
 
void SetName (std::string name)
 
void SetOutputType (OutputType_t outputType)
 

Static Public Member Functions

static std::string GetIdentifierTypeName (IdentifierType_t identifierType)
 
static std::string GetOutputTypeName (OutputType_t outputType)
 
static TypeId GetTypeId ()
 inherited from ObjectBase base class More...
 

Protected Member Functions

Ptr< DataCollectionObject > CreateAggregator (std::string aggregatorTypeId, std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue(), std::string n4="", const AttributeValue &v4=EmptyAttributeValue(), std::string n5="", const AttributeValue &v5=EmptyAttributeValue())
 Create the aggregator according to the output type. More...
 
uint32_t CreateCollectorPerIdentifier (CollectorMap &collectorMap) const
 Create one collector instance for each identifier in the simulation. More...
 
virtual void DoInstall ()=0
 Install the probes, collectors, and aggregators necessary to produce the statistics output. More...
 
virtual std::string GetDistributionHeading (std::string dataLabel) const
 
uint32_t GetGwId (Ptr< Node > gwNode) const
 
uint32_t GetIdentifierForBeam (uint32_t satId, uint32_t beamId) const
 
uint32_t GetIdentifierForGroup (uint32_t groupId) const
 
uint32_t GetIdentifierForGw (Ptr< Node > gwNode) const
 
uint32_t GetIdentifierForIsl (Ptr< Node > satNodeSrc, Ptr< Node > satNodeDst) const
 
uint32_t GetIdentifierForSat (Ptr< Node > satNode) const
 
uint32_t GetIdentifierForUt (Ptr< Node > utNode) const
 
uint32_t GetIdentifierForUtUser (Ptr< Node > utUserNode) const
 
virtual std::string GetIdentifierHeading (std::string dataLabel) const
 
virtual std::string GetOutputFileName () const
 Compute the path and file name where statistics output should be written to. More...
 
virtual std::string GetOutputPath () const
 
uint32_t GetSatId (Ptr< Node > satNode) const
 
virtual std::string GetTimeHeading (std::string dataLabel) const
 
uint32_t GetUtId (Ptr< Node > utNode) const
 
uint32_t GetUtUserId (Ptr< Node > utUserNode) const
 

Static Protected Member Functions

static NetDeviceContainer GetGwSatNetDevice (Ptr< Node > gwNode)
 
static Ptr< NetDevice > GetSatSatGeoNetDevice (Ptr< Node > satNode)
 
static Ptr< NetDevice > GetUtSatNetDevice (Ptr< Node > utNode)
 

Private Attributes

IdentifierType_t m_identifierType
 
bool m_isInstalled
 
std::string m_name
 
OutputType_t m_outputType
 
Ptr< const SatHelperm_satHelper
 

Detailed Description

Parent abstract class of all satellite statistics helpers.

A helper is responsible to locate source objects, create probes, collectors, and aggregators, and connect them together in a proper way to produce the required statistics.

The main inputs for the helper are a reference to a SatHelper instance, a name, an identifier type, and an output type. After all the necessary inputs have been set, the statistics can be started into action by invoking Install(). For example:

Ptr<SatHelper> satHelper = CreateObject<SatHelper> ();
satHelper->CreateScenario (SatHelper::SIMPLE);
// ... (snip) ...
Ptr<SatStatsFwdSinrHelper> fwdFinr
= CreateObject<SatStatsFwdSinrHelper> (satHelper);
stat->SetName ("name");
stat->SetIdentifierType (SatStatsHelper::IDENTIFIER_GLOBAL);
stat->SetOutputType (SatStatsHelper::OUTPUT_SCALAR_FILE);
stat->Install ();
@ SIMPLE
SIMPLE Simple scenario used as base.

However, it's recommended to use the SatStatsHelperContainer class to automatically handle the above.

This parent abstract class hosts several protected methods which are intended to simplify the development of child classes. Some of these methods handle tasks related to DCF components, while some other handle tasks related to satellite topology.

See also
SatStatsHelperContainer

Definition at line 87 of file satellite-stats-helper.h.

Member Enumeration Documentation

◆ IdentifierType_t

Possible categorization of statistics output.

Enumerator
IDENTIFIER_GLOBAL 
IDENTIFIER_GW 
IDENTIFIER_BEAM 
IDENTIFIER_UT 
IDENTIFIER_UT_USER 
IDENTIFIER_SLICE 
IDENTIFIER_GROUP 
IDENTIFIER_SAT 
IDENTIFIER_ISL 

Definition at line 96 of file satellite-stats-helper.h.

◆ OutputType_t

Possible types and formats of statistics output.

Enumerator
OUTPUT_NONE 
OUTPUT_SCALAR_FILE 
OUTPUT_SCATTER_FILE 
OUTPUT_HISTOGRAM_FILE 
OUTPUT_PDF_FILE 
OUTPUT_CDF_FILE 
OUTPUT_SCALAR_PLOT 
OUTPUT_SCATTER_PLOT 
OUTPUT_HISTOGRAM_PLOT 
OUTPUT_PDF_PLOT 
OUTPUT_CDF_PLOT 

Definition at line 119 of file satellite-stats-helper.h.

Constructor & Destructor Documentation

◆ SatStatsHelper()

ns3::SatStatsHelper::SatStatsHelper ( Ptr< const SatHelper satHelper)

Creates a new helper instance.

Parameters
satHelperpointer to a SatHelper instance where information about the simulation topology will be taken.

Definition at line 120 of file satellite-stats-helper.cc.

◆ ~SatStatsHelper()

ns3::SatStatsHelper::~SatStatsHelper ( )
virtual

/ Destructor.

Definition at line 130 of file satellite-stats-helper.cc.

Member Function Documentation

◆ CreateAggregator()

Ptr< DataCollectionObject > ns3::SatStatsHelper::CreateAggregator ( std::string  aggregatorTypeId,
std::string  n1 = "",
const AttributeValue &  v1 = EmptyAttributeValue(),
std::string  n2 = "",
const AttributeValue &  v2 = EmptyAttributeValue(),
std::string  n3 = "",
const AttributeValue &  v3 = EmptyAttributeValue(),
std::string  n4 = "",
const AttributeValue &  v4 = EmptyAttributeValue(),
std::string  n5 = "",
const AttributeValue &  v5 = EmptyAttributeValue() 
)
protected

Create the aggregator according to the output type.

Parameters
aggregatorTypeIdthe type of aggregator to be created.
n1the name of the attribute to be set on the aggregator created.
v1the value of the attribute to be set on the aggregator created.
n2the name of the attribute to be set on the aggregator created.
v2the value of the attribute to be set on the aggregator created.
n3the name of the attribute to be set on the aggregator created.
v3the value of the attribute to be set on the aggregator created.
n4the name of the attribute to be set on the aggregator created.
v4the value of the attribute to be set on the aggregator created.
n5the name of the attribute to be set on the aggregator created.
v5the value of the attribute to be set on the aggregator created.
Returns
a pointer to the created aggregator.

Definition at line 294 of file satellite-stats-helper.cc.

Referenced by ns3::SatStatsAntennaGainHelper::DoInstall(), ns3::SatStatsBackloggedRequestHelper::DoInstall(), ns3::SatStatsBeamServiceTimeHelper::DoInstall(), ns3::SatStatsCapacityRequestHelper::DoInstall(), ns3::SatStatsCarrierIdHelper::DoInstall(), ns3::SatStatsCompositeSinrHelper::DoInstall(), ns3::SatStatsDelayHelper::DoInstall(), ns3::SatStatsFrameLoadHelper::DoInstall(), ns3::SatStatsFrameTypeUsageHelper::DoInstall(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::DoInstall(), ns3::SatStatsJitterHelper::DoInstall(), ns3::SatStatsLinkDelayHelper::DoInstall(), ns3::SatStatsLinkJitterHelper::DoInstall(), ns3::SatStatsLinkModcodHelper::DoInstall(), ns3::SatStatsLinkRxPowerHelper::DoInstall(), ns3::SatStatsLinkSinrHelper::DoInstall(), ns3::SatStatsMarsalaCorrelationHelper::DoInstall(), ns3::SatStatsFeederPacketCollisionHelper::DoInstall(), ns3::SatStatsUserPacketCollisionHelper::DoInstall(), ns3::SatStatsPacketDropRateHelper::DoInstall(), ns3::SatStatsPacketErrorHelper::DoInstall(), ns3::SatStatsPltHelper::DoInstall(), ns3::SatStatsQueueHelper::DoInstall(), ns3::SatStatsRbdcRequestHelper::DoInstall(), ns3::SatStatsResourcesGrantedHelper::DoInstall(), ns3::SatStatsSatelliteQueueHelper::DoInstall(), ns3::SatStatsSignallingLoadHelper::DoInstall(), ns3::SatStatsThroughputHelper::DoInstall(), ns3::SatStatsWaveformUsageHelper::DoInstall(), and ns3::SatStatsWindowLoadHelper::DoInstall().

+ Here is the caller graph for this function:

◆ CreateCollectorPerIdentifier()

uint32_t ns3::SatStatsHelper::CreateCollectorPerIdentifier ( CollectorMap &  collectorMap) const
protected

Create one collector instance for each identifier in the simulation.

Parameters
collectorMapthe CollectorMap where the collectors will be created.
Returns
number of collector instances created.

The identifier is determined by the currently active identifier type, as previously selected by SetIdentifierType() method or IdentifierType attribute. Then the method searches the reference SatHelper instance for such identifier. For each of the found identifiers, the method creates a collector instance for it, assigns the collector instance a meaningful name, and put the collector instance into the CollectorMap.

Definition at line 320 of file satellite-stats-helper.cc.

References GetGwId(), GetIdentifierType(), GetIdentifierTypeName(), GetSatHelper(), GetSatId(), GetSatSatGeoNetDevice(), GetUtId(), GetUtUserId(), IDENTIFIER_BEAM, IDENTIFIER_GLOBAL, IDENTIFIER_GROUP, IDENTIFIER_GW, IDENTIFIER_ISL, IDENTIFIER_SAT, IDENTIFIER_SLICE, IDENTIFIER_UT, IDENTIFIER_UT_USER, m_satHelper, ns3::SatConstVariables::MAX_BEAMS_PER_SATELLITE, and ns3::SatConstVariables::MAX_SATELLITES.

Referenced by ns3::SatStatsAntennaGainHelper::DoInstall(), ns3::SatStatsCarrierIdHelper::DoInstall(), ns3::SatStatsCompositeSinrHelper::DoInstall(), ns3::SatStatsDelayHelper::DoInstall(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::DoInstall(), ns3::SatStatsJitterHelper::DoInstall(), ns3::SatStatsLinkDelayHelper::DoInstall(), ns3::SatStatsLinkJitterHelper::DoInstall(), ns3::SatStatsLinkModcodHelper::DoInstall(), ns3::SatStatsLinkRxPowerHelper::DoInstall(), ns3::SatStatsLinkSinrHelper::DoInstall(), ns3::SatStatsMarsalaCorrelationHelper::DoInstall(), ns3::SatStatsFeederPacketCollisionHelper::DoInstall(), ns3::SatStatsUserPacketCollisionHelper::DoInstall(), ns3::SatStatsPacketDropRateHelper::DoInstall(), ns3::SatStatsPacketErrorHelper::DoInstall(), ns3::SatStatsPltHelper::DoInstall(), ns3::SatStatsQueueHelper::DoInstall(), ns3::SatStatsRbdcRequestHelper::DoInstall(), ns3::SatStatsResourcesGrantedHelper::DoInstall(), ns3::SatStatsSatelliteQueueHelper::DoInstall(), ns3::SatStatsSignallingLoadHelper::DoInstall(), and ns3::SatStatsThroughputHelper::DoInstall().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoInstall()

◆ GetDistributionHeading()

◆ GetGwId()

uint32_t ns3::SatStatsHelper::GetGwId ( Ptr< Node >  gwNode) const
protected
Parameters
gwNode
Returns
the ID previously assigned to the GW, or zero if the GW is not assigned to any ID.

Definition at line 599 of file satellite-stats-helper.cc.

References ns3::SatIdMapper::GetGwIdWithMac(), and ns3::SatIdMapper::GetGwMacWithNode().

Referenced by CreateCollectorPerIdentifier(), ns3::SatStatsFrameTypeUsageHelper::DoInstall(), ns3::SatStatsFrameLoadHelper::GetCollector(), GetIdentifierForGw(), and ns3::SatStatsWaveformUsageHelper::WaveformUsageCallback().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGwSatNetDevice()

NetDeviceContainer ns3::SatStatsHelper::GetGwSatNetDevice ( Ptr< Node >  gwNode)
staticprotected
Returns

Definition at line 1017 of file satellite-stats-helper.cc.

Referenced by ns3::SatStatsFwdQueueHelper::DoEnlistSource(), ns3::SatStatsCarrierIdHelper::DoInstall(), ns3::SatStatsMarsalaCorrelationHelper::DoInstall(), ns3::SatStatsFeederPacketCollisionHelper::DoInstall(), ns3::SatStatsRtnCompositeSinrHelper::DoInstallProbes(), ns3::SatStatsFwdDevDelayHelper::DoInstallProbes(), ns3::SatStatsFwdMacDelayHelper::DoInstallProbes(), ns3::SatStatsFwdPhyDelayHelper::DoInstallProbes(), ns3::SatStatsRtnDevDelayHelper::DoInstallProbes(), ns3::SatStatsRtnMacDelayHelper::DoInstallProbes(), ns3::SatStatsRtnPhyDelayHelper::DoInstallProbes(), ns3::SatStatsFwdDevJitterHelper::DoInstallProbes(), ns3::SatStatsFwdMacJitterHelper::DoInstallProbes(), ns3::SatStatsFwdPhyJitterHelper::DoInstallProbes(), ns3::SatStatsRtnDevJitterHelper::DoInstallProbes(), ns3::SatStatsRtnMacJitterHelper::DoInstallProbes(), ns3::SatStatsRtnPhyJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederLinkModcodHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnFeederLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnFeederLinkRxPowerHelper::DoInstallProbes(), ns3::SatStatsRtnFeederLinkSinrHelper::DoInstallProbes(), ns3::SatStatsFwdSignallingLoadHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederWindowLoadHelper::DoInstallProbes(), ns3::SatStatsPacketErrorHelper::InstallProbeOnGw(), and ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::InstallProbes().

◆ GetIdentifierForBeam()

uint32_t ns3::SatStatsHelper::GetIdentifierForBeam ( uint32_t  satId,
uint32_t  beamId 
) const
protected

◆ GetIdentifierForGroup()

uint32_t ns3::SatStatsHelper::GetIdentifierForGroup ( uint32_t  groupId) const
protected
Parameters
groupId
Returns

Definition at line 932 of file satellite-stats-helper.cc.

References GetIdentifierTypeName(), IDENTIFIER_GLOBAL, IDENTIFIER_GROUP, and m_identifierType.

+ Here is the call graph for this function:

◆ GetIdentifierForGw()

uint32_t ns3::SatStatsHelper::GetIdentifierForGw ( Ptr< Node >  gwNode) const
protected
Parameters
gwNode
Returns

Definition at line 957 of file satellite-stats-helper.cc.

References GetGwId(), GetIdentifierTypeName(), IDENTIFIER_GLOBAL, IDENTIFIER_GW, and m_identifierType.

+ Here is the call graph for this function:

◆ GetIdentifierForIsl()

uint32_t ns3::SatStatsHelper::GetIdentifierForIsl ( Ptr< Node >  satNodeSrc,
Ptr< Node >  satNodeDst 
) const
protected
Parameters
satNode
Returns

Definition at line 997 of file satellite-stats-helper.cc.

References GetIdentifierTypeName(), GetSatId(), IDENTIFIER_GLOBAL, IDENTIFIER_ISL, m_identifierType, and ns3::SatConstVariables::MAX_SATELLITES.

Referenced by ns3::SatStatsPacketDropRateHelper::InstallProbes(), and ns3::SatStatsPacketDropRateHelper::PacketDropRateCallback().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetIdentifierForSat()

uint32_t ns3::SatStatsHelper::GetIdentifierForSat ( Ptr< Node >  satNode) const
protected
Parameters
satNode
Returns

Definition at line 977 of file satellite-stats-helper.cc.

References GetIdentifierTypeName(), GetSatId(), IDENTIFIER_GLOBAL, IDENTIFIER_SAT, and m_identifierType.

+ Here is the call graph for this function:

◆ GetIdentifierForUt()

uint32_t ns3::SatStatsHelper::GetIdentifierForUt ( Ptr< Node >  utNode) const
protected
Parameters
utNode
Returns

Definition at line 803 of file satellite-stats-helper.cc.

References ns3::SatIdMapper::GetBeamIdWithMac(), ns3::SatIdMapper::GetGroupIdWithMac(), GetIdentifierTypeName(), ns3::SatIdMapper::GetSatIdWithMac(), GetUtId(), ns3::SatIdMapper::GetUtMacWithNode(), IDENTIFIER_BEAM, IDENTIFIER_GLOBAL, IDENTIFIER_GROUP, IDENTIFIER_GW, IDENTIFIER_SAT, IDENTIFIER_UT, m_identifierType, m_satHelper, and ns3::SatConstVariables::MAX_BEAMS_PER_SATELLITE.

Referenced by ns3::SatStatsFwdQueueHelper::DoEnlistSource(), ns3::SatStatsRtnQueueHelper::DoEnlistSource(), ns3::SatStatsCapacityRequestHelper::DoInstall(), ns3::SatStatsFwdCompositeSinrHelper::DoInstallProbes(), ns3::SatStatsFwdDevDelayHelper::DoInstallProbes(), ns3::SatStatsFwdMacDelayHelper::DoInstallProbes(), ns3::SatStatsFwdPhyDelayHelper::DoInstallProbes(), ns3::SatStatsFwdDevJitterHelper::DoInstallProbes(), ns3::SatStatsFwdMacJitterHelper::DoInstallProbes(), ns3::SatStatsFwdPhyJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnSignallingLoadHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsResourcesGrantedHelper::InstallProbe(), ns3::SatStatsPacketErrorHelper::InstallProbeOnUt(), ns3::SatStatsAntennaGainHelper::InstallProbes(), ns3::SatStatsRbdcRequestHelper::InstallProbes(), ns3::SatStatsCarrierIdHelper::SaveAddressAndIdentifier(), ns3::SatStatsRtnCompositeSinrHelper::SaveAddressAndIdentifier(), ns3::SatStatsDelayHelper::SaveAddressAndIdentifier(), ns3::SatStatsJitterHelper::SaveAddressAndIdentifier(), ns3::SatStatsLinkDelayHelper::SaveAddressAndIdentifier(), ns3::SatStatsLinkJitterHelper::SaveAddressAndIdentifier(), ns3::SatStatsLinkModcodHelper::SaveAddressAndIdentifier(), ns3::SatStatsLinkRxPowerHelper::SaveAddressAndIdentifier(), ns3::SatStatsLinkSinrHelper::SaveAddressAndIdentifier(), ns3::SatStatsMarsalaCorrelationHelper::SaveAddressAndIdentifier(), ns3::SatStatsPacketCollisionHelper::SaveAddressAndIdentifier(), ns3::SatStatsPacketErrorHelper::SaveAddressAndIdentifier(), ns3::SatStatsPltHelper::SaveAddressAndIdentifier(), ns3::SatStatsSatelliteQueueHelper::SaveAddressAndIdentifier(), ns3::SatStatsSignallingLoadHelper::SaveAddressAndIdentifier(), and ns3::SatStatsThroughputHelper::SaveAddressAndIdentifier().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetIdentifierForUtUser()

◆ GetIdentifierHeading()

std::string ns3::SatStatsHelper::GetIdentifierHeading ( std::string  dataLabel) const
protectedvirtual
Parameters
dataLabelthe short name of the main data of this statistics
Returns
a string to be printed as the first line of output, consisting of the identifier title and the given data label

Reimplemented in ns3::SatStatsWaveformUsageHelper, ns3::SatStatsFrameTypeUsageHelper, and ns3::SatStatsFrameLoadHelper.

Definition at line 487 of file satellite-stats-helper.cc.

References GetIdentifierType(), IDENTIFIER_BEAM, IDENTIFIER_GLOBAL, IDENTIFIER_GROUP, IDENTIFIER_GW, IDENTIFIER_ISL, IDENTIFIER_SAT, IDENTIFIER_SLICE, IDENTIFIER_UT, and IDENTIFIER_UT_USER.

Referenced by ns3::SatStatsAntennaGainHelper::DoInstall(), ns3::SatStatsCarrierIdHelper::DoInstall(), ns3::SatStatsCompositeSinrHelper::DoInstall(), ns3::SatStatsDelayHelper::DoInstall(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::DoInstall(), ns3::SatStatsJitterHelper::DoInstall(), ns3::SatStatsLinkDelayHelper::DoInstall(), ns3::SatStatsLinkJitterHelper::DoInstall(), ns3::SatStatsLinkModcodHelper::DoInstall(), ns3::SatStatsLinkRxPowerHelper::DoInstall(), ns3::SatStatsLinkSinrHelper::DoInstall(), ns3::SatStatsMarsalaCorrelationHelper::DoInstall(), ns3::SatStatsFeederPacketCollisionHelper::DoInstall(), ns3::SatStatsUserPacketCollisionHelper::DoInstall(), ns3::SatStatsPacketDropRateHelper::DoInstall(), ns3::SatStatsPacketErrorHelper::DoInstall(), ns3::SatStatsPltHelper::DoInstall(), ns3::SatStatsQueueHelper::DoInstall(), ns3::SatStatsRbdcRequestHelper::DoInstall(), ns3::SatStatsResourcesGrantedHelper::DoInstall(), ns3::SatStatsSatelliteQueueHelper::DoInstall(), ns3::SatStatsSignallingLoadHelper::DoInstall(), ns3::SatStatsThroughputHelper::DoInstall(), and ns3::SatStatsWindowLoadHelper::DoInstall().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetIdentifierType()

◆ GetIdentifierTypeName()

◆ GetName()

◆ GetOutputFileName()

std::string ns3::SatStatsHelper::GetOutputFileName ( ) const
protectedvirtual

Compute the path and file name where statistics output should be written to.

Returns
path and file name (without extension)

Path is determined by the SatEnvVariables singleton class. The file name is determined by the name of this class instance.

Definition at line 481 of file satellite-stats-helper.cc.

References GetName(), and GetOutputPath().

Referenced by ns3::SatStatsAntennaGainHelper::DoInstall(), ns3::SatStatsBackloggedRequestHelper::DoInstall(), ns3::SatStatsBeamServiceTimeHelper::DoInstall(), ns3::SatStatsCapacityRequestHelper::DoInstall(), ns3::SatStatsCarrierIdHelper::DoInstall(), ns3::SatStatsCompositeSinrHelper::DoInstall(), ns3::SatStatsDelayHelper::DoInstall(), ns3::SatStatsFrameLoadHelper::DoInstall(), ns3::SatStatsFrameTypeUsageHelper::DoInstall(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::DoInstall(), ns3::SatStatsJitterHelper::DoInstall(), ns3::SatStatsLinkDelayHelper::DoInstall(), ns3::SatStatsLinkJitterHelper::DoInstall(), ns3::SatStatsLinkModcodHelper::DoInstall(), ns3::SatStatsLinkRxPowerHelper::DoInstall(), ns3::SatStatsLinkSinrHelper::DoInstall(), ns3::SatStatsMarsalaCorrelationHelper::DoInstall(), ns3::SatStatsFeederPacketCollisionHelper::DoInstall(), ns3::SatStatsUserPacketCollisionHelper::DoInstall(), ns3::SatStatsPacketDropRateHelper::DoInstall(), ns3::SatStatsPacketErrorHelper::DoInstall(), ns3::SatStatsPltHelper::DoInstall(), ns3::SatStatsQueueHelper::DoInstall(), ns3::SatStatsRbdcRequestHelper::DoInstall(), ns3::SatStatsResourcesGrantedHelper::DoInstall(), ns3::SatStatsSatelliteQueueHelper::DoInstall(), ns3::SatStatsSignallingLoadHelper::DoInstall(), ns3::SatStatsThroughputHelper::DoInstall(), ns3::SatStatsWaveformUsageHelper::DoInstall(), and ns3::SatStatsWindowLoadHelper::DoInstall().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetOutputPath()

◆ GetOutputType()

SatStatsHelper::OutputType_t ns3::SatStatsHelper::GetOutputType ( ) const
Returns
the currently active types and formats of statistics output.

Definition at line 276 of file satellite-stats-helper.cc.

References m_outputType.

Referenced by ns3::SatStatsAntennaGainHelper::AntennaGainCallback(), ns3::SatStatsCarrierIdHelper::CarrierIdRxCallback(), ns3::SatStatsPacketCollisionHelper::CollisionRxCallback(), ns3::SatStatsDelayHelper::ConnectProbeToCollector(), ns3::SatStatsJitterHelper::ConnectProbeToCollector(), ns3::SatStatsLinkDelayHelper::ConnectProbeToCollector(), ns3::SatStatsLinkJitterHelper::ConnectProbeToCollector(), ns3::SatStatsLinkModcodHelper::ConnectProbeToCollector(), ns3::SatStatsLinkRxPowerHelper::ConnectProbeToCollector(), ns3::SatStatsLinkSinrHelper::ConnectProbeToCollector(), ns3::SatStatsPltHelper::ConnectProbeToCollector(), ns3::SatStatsSatelliteQueueHelper::ConnectProbeToCollector(), ns3::SatStatsMarsalaCorrelationHelper::CorrelationRxCallback(), ns3::SatStatsAntennaGainHelper::DoInstall(), ns3::SatStatsBackloggedRequestHelper::DoInstall(), ns3::SatStatsBeamServiceTimeHelper::DoInstall(), ns3::SatStatsCapacityRequestHelper::DoInstall(), ns3::SatStatsCarrierIdHelper::DoInstall(), ns3::SatStatsCompositeSinrHelper::DoInstall(), ns3::SatStatsDelayHelper::DoInstall(), ns3::SatStatsFrameLoadHelper::DoInstall(), ns3::SatStatsFrameTypeUsageHelper::DoInstall(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::DoInstall(), ns3::SatStatsJitterHelper::DoInstall(), ns3::SatStatsLinkDelayHelper::DoInstall(), ns3::SatStatsLinkJitterHelper::DoInstall(), ns3::SatStatsLinkModcodHelper::DoInstall(), ns3::SatStatsLinkRxPowerHelper::DoInstall(), ns3::SatStatsLinkSinrHelper::DoInstall(), ns3::SatStatsMarsalaCorrelationHelper::DoInstall(), ns3::SatStatsFeederPacketCollisionHelper::DoInstall(), ns3::SatStatsUserPacketCollisionHelper::DoInstall(), ns3::SatStatsPacketDropRateHelper::DoInstall(), ns3::SatStatsPacketErrorHelper::DoInstall(), ns3::SatStatsPltHelper::DoInstall(), ns3::SatStatsQueueHelper::DoInstall(), ns3::SatStatsRbdcRequestHelper::DoInstall(), ns3::SatStatsResourcesGrantedHelper::DoInstall(), ns3::SatStatsSatelliteQueueHelper::DoInstall(), ns3::SatStatsSignallingLoadHelper::DoInstall(), ns3::SatStatsThroughputHelper::DoInstall(), ns3::SatStatsWaveformUsageHelper::DoInstall(), ns3::SatStatsWindowLoadHelper::DoInstall(), ns3::SatStatsFwdCompositeSinrHelper::DoInstallProbes(), ns3::SatStatsPacketErrorHelper::ErrorRxCallback(), GetTypeId(), ns3::SatStatsPacketErrorHelper::InstallProbeOnUt(), ns3::SatStatsPacketDropRateHelper::PacketDropRateCallback(), ns3::SatStatsDelayHelper::PassSampleToCollector(), ns3::SatStatsLinkDelayHelper::PassSampleToCollector(), ns3::SatStatsJitterHelper::PassSampleToCollector(), ns3::SatStatsLinkJitterHelper::PassSampleToCollector(), ns3::SatStatsPltHelper::PassSampleToCollector(), ns3::SatStatsLinkRxPowerHelper::PassSampleToCollector(), ns3::SatStatsLinkSinrHelper::PassSampleToCollector(), ns3::SatStatsLinkModcodHelper::PassSampleToCollector(), ns3::SatStatsSatelliteQueueHelper::PassSampleToCollector(), ns3::SatStatsQueueHelper::PushToCollector(), ns3::SatStatsRbdcRequestHelper::RbdcRateCallback(), ns3::SatStatsRtnCompositeSinrHelper::SinrCallback(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::SymbolRateCallback(), and ns3::SatStatsWindowLoadHelper::WindowLoadCallback().

◆ GetOutputTypeName()

std::string ns3::SatStatsHelper::GetOutputTypeName ( SatStatsHelper::OutputType_t  outputType)
static
Parameters
outputTypean arbitrary output type.
Returns
representation of the output type in string.

Definition at line 85 of file satellite-stats-helper.cc.

References OUTPUT_CDF_FILE, OUTPUT_CDF_PLOT, OUTPUT_HISTOGRAM_FILE, OUTPUT_HISTOGRAM_PLOT, OUTPUT_NONE, OUTPUT_PDF_FILE, OUTPUT_PDF_PLOT, OUTPUT_SCALAR_FILE, OUTPUT_SCALAR_PLOT, OUTPUT_SCATTER_FILE, and OUTPUT_SCATTER_PLOT.

Referenced by ns3::SatStatsAntennaGainHelper::AntennaGainCallback(), ns3::SatStatsCarrierIdHelper::CarrierIdRxCallback(), ns3::SatStatsPacketCollisionHelper::CollisionRxCallback(), ns3::SatStatsDelayHelper::ConnectProbeToCollector(), ns3::SatStatsJitterHelper::ConnectProbeToCollector(), ns3::SatStatsLinkDelayHelper::ConnectProbeToCollector(), ns3::SatStatsLinkJitterHelper::ConnectProbeToCollector(), ns3::SatStatsLinkModcodHelper::ConnectProbeToCollector(), ns3::SatStatsLinkRxPowerHelper::ConnectProbeToCollector(), ns3::SatStatsLinkSinrHelper::ConnectProbeToCollector(), ns3::SatStatsPltHelper::ConnectProbeToCollector(), ns3::SatStatsSatelliteQueueHelper::ConnectProbeToCollector(), ns3::SatStatsMarsalaCorrelationHelper::CorrelationRxCallback(), ns3::SatStatsAntennaGainHelper::DoInstall(), ns3::SatStatsBackloggedRequestHelper::DoInstall(), ns3::SatStatsBeamServiceTimeHelper::DoInstall(), ns3::SatStatsCapacityRequestHelper::DoInstall(), ns3::SatStatsCarrierIdHelper::DoInstall(), ns3::SatStatsCompositeSinrHelper::DoInstall(), ns3::SatStatsDelayHelper::DoInstall(), ns3::SatStatsFrameLoadHelper::DoInstall(), ns3::SatStatsFrameTypeUsageHelper::DoInstall(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::DoInstall(), ns3::SatStatsJitterHelper::DoInstall(), ns3::SatStatsLinkDelayHelper::DoInstall(), ns3::SatStatsLinkJitterHelper::DoInstall(), ns3::SatStatsLinkModcodHelper::DoInstall(), ns3::SatStatsLinkRxPowerHelper::DoInstall(), ns3::SatStatsLinkSinrHelper::DoInstall(), ns3::SatStatsMarsalaCorrelationHelper::DoInstall(), ns3::SatStatsFeederPacketCollisionHelper::DoInstall(), ns3::SatStatsUserPacketCollisionHelper::DoInstall(), ns3::SatStatsPacketDropRateHelper::DoInstall(), ns3::SatStatsPacketErrorHelper::DoInstall(), ns3::SatStatsPltHelper::DoInstall(), ns3::SatStatsQueueHelper::DoInstall(), ns3::SatStatsRbdcRequestHelper::DoInstall(), ns3::SatStatsResourcesGrantedHelper::DoInstall(), ns3::SatStatsSatelliteQueueHelper::DoInstall(), ns3::SatStatsSignallingLoadHelper::DoInstall(), ns3::SatStatsThroughputHelper::DoInstall(), ns3::SatStatsWaveformUsageHelper::DoInstall(), ns3::SatStatsWindowLoadHelper::DoInstall(), ns3::SatStatsFwdCompositeSinrHelper::DoInstallProbes(), ns3::SatStatsPacketErrorHelper::ErrorRxCallback(), ns3::SatStatsPacketErrorHelper::InstallProbeOnUt(), ns3::SatStatsPacketDropRateHelper::PacketDropRateCallback(), ns3::SatStatsDelayHelper::PassSampleToCollector(), ns3::SatStatsLinkDelayHelper::PassSampleToCollector(), ns3::SatStatsJitterHelper::PassSampleToCollector(), ns3::SatStatsLinkJitterHelper::PassSampleToCollector(), ns3::SatStatsPltHelper::PassSampleToCollector(), ns3::SatStatsLinkRxPowerHelper::PassSampleToCollector(), ns3::SatStatsLinkSinrHelper::PassSampleToCollector(), ns3::SatStatsLinkModcodHelper::PassSampleToCollector(), ns3::SatStatsSatelliteQueueHelper::PassSampleToCollector(), ns3::SatStatsQueueHelper::PushToCollector(), ns3::SatStatsRbdcRequestHelper::RbdcRateCallback(), SetOutputType(), ns3::SatStatsRtnCompositeSinrHelper::SinrCallback(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::SymbolRateCallback(), and ns3::SatStatsWindowLoadHelper::WindowLoadCallback().

◆ GetSatHelper()

Ptr< const SatHelper > ns3::SatStatsHelper::GetSatHelper ( ) const
Returns
a pointer to the the SatHelper instance used as a reference by this helper instance.

Definition at line 288 of file satellite-stats-helper.cc.

References m_satHelper.

Referenced by CreateCollectorPerIdentifier(), ns3::SatStatsFwdQueueHelper::DoEnlistSource(), ns3::SatStatsRtnQueueHelper::DoEnlistSource(), ns3::SatStatsBackloggedRequestHelper::DoInstall(), ns3::SatStatsBeamServiceTimeHelper::DoInstall(), ns3::SatStatsCapacityRequestHelper::DoInstall(), ns3::SatStatsCarrierIdHelper::DoInstall(), ns3::SatStatsFrameLoadHelper::DoInstall(), ns3::SatStatsFrameTypeUsageHelper::DoInstall(), ns3::SatStatsMarsalaCorrelationHelper::DoInstall(), ns3::SatStatsFeederPacketCollisionHelper::DoInstall(), ns3::SatStatsUserPacketCollisionHelper::DoInstall(), ns3::SatStatsPacketErrorHelper::DoInstall(), ns3::SatStatsResourcesGrantedHelper::DoInstall(), ns3::SatStatsWaveformUsageHelper::DoInstall(), ns3::SatStatsFwdCompositeSinrHelper::DoInstallProbes(), ns3::SatStatsRtnCompositeSinrHelper::DoInstallProbes(), ns3::SatStatsFwdAppDelayHelper::DoInstallProbes(), ns3::SatStatsFwdDevDelayHelper::DoInstallProbes(), ns3::SatStatsFwdMacDelayHelper::DoInstallProbes(), ns3::SatStatsFwdPhyDelayHelper::DoInstallProbes(), ns3::SatStatsRtnAppDelayHelper::DoInstallProbes(), ns3::SatStatsRtnDevDelayHelper::DoInstallProbes(), ns3::SatStatsRtnMacDelayHelper::DoInstallProbes(), ns3::SatStatsRtnPhyDelayHelper::DoInstallProbes(), ns3::SatStatsFwdAppJitterHelper::DoInstallProbes(), ns3::SatStatsFwdDevJitterHelper::DoInstallProbes(), ns3::SatStatsFwdMacJitterHelper::DoInstallProbes(), ns3::SatStatsFwdPhyJitterHelper::DoInstallProbes(), ns3::SatStatsRtnAppJitterHelper::DoInstallProbes(), ns3::SatStatsRtnDevJitterHelper::DoInstallProbes(), ns3::SatStatsRtnMacJitterHelper::DoInstallProbes(), ns3::SatStatsRtnPhyJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederLinkModcodHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnFeederLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsFwdFeederLinkRxPowerHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkRxPowerHelper::DoInstallProbes(), ns3::SatStatsRtnFeederLinkRxPowerHelper::DoInstallProbes(), ns3::SatStatsRtnUserLinkRxPowerHelper::DoInstallProbes(), ns3::SatStatsFwdFeederLinkSinrHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkSinrHelper::DoInstallProbes(), ns3::SatStatsRtnFeederLinkSinrHelper::DoInstallProbes(), ns3::SatStatsRtnUserLinkSinrHelper::DoInstallProbes(), ns3::SatStatsFwdAppPltHelper::DoInstallProbes(), ns3::SatStatsRtnAppPltHelper::DoInstallProbes(), ns3::SatStatsRtnFeederQueuePacketsHelper::DoInstallProbes(), ns3::SatStatsRtnFeederQueueBytesHelper::DoInstallProbes(), ns3::SatStatsFwdUserQueuePacketsHelper::DoInstallProbes(), ns3::SatStatsFwdUserQueueBytesHelper::DoInstallProbes(), ns3::SatStatsFwdSignallingLoadHelper::DoInstallProbes(), ns3::SatStatsRtnSignallingLoadHelper::DoInstallProbes(), ns3::SatStatsFwdAppThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnAppThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederWindowLoadHelper::DoInstallProbes(), ns3::SatStatsFrameLoadHelper::GetCollector(), ns3::SatStatsAntennaGainHelper::InstallProbes(), ns3::SatStatsFwdLinkSchedulerSymbolRateHelper::InstallProbes(), ns3::SatStatsPacketDropRateHelper::InstallProbes(), ns3::SatStatsRbdcRequestHelper::InstallProbes(), and ns3::SatStatsWaveformUsageHelper::WaveformUsageCallback().

◆ GetSatId()

uint32_t ns3::SatStatsHelper::GetSatId ( Ptr< Node >  satNode) const
protected
Parameters
satNode
Returns
the ID previously assigned to the SAT, or zero if the SAT is not assigned to any ID.

Definition at line 628 of file satellite-stats-helper.cc.

References ns3::SatIdMapper::GetSatIdWithMac(), and ns3::SatIdMapper::GetSatMacWithNode().

Referenced by CreateCollectorPerIdentifier(), GetIdentifierForIsl(), and GetIdentifierForSat().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSatSatGeoNetDevice()

Ptr< NetDevice > ns3::SatStatsHelper::GetSatSatGeoNetDevice ( Ptr< Node >  satNode)
staticprotected
Returns

Definition at line 1060 of file satellite-stats-helper.cc.

Referenced by CreateCollectorPerIdentifier(), ns3::SatStatsUserPacketCollisionHelper::DoInstall(), ns3::SatStatsFwdPhyDelayHelper::DoInstallProbes(), ns3::SatStatsRtnPhyDelayHelper::DoInstallProbes(), ns3::SatStatsFwdPhyJitterHelper::DoInstallProbes(), ns3::SatStatsRtnPhyJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederLinkModcodHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnFeederLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsFwdFeederLinkRxPowerHelper::DoInstallProbes(), ns3::SatStatsRtnUserLinkRxPowerHelper::DoInstallProbes(), ns3::SatStatsFwdFeederLinkSinrHelper::DoInstallProbes(), ns3::SatStatsRtnUserLinkSinrHelper::DoInstallProbes(), ns3::SatStatsRtnFeederQueuePacketsHelper::DoInstallProbes(), ns3::SatStatsRtnFeederQueueBytesHelper::DoInstallProbes(), ns3::SatStatsFwdUserQueuePacketsHelper::DoInstallProbes(), ns3::SatStatsFwdUserQueueBytesHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsPacketErrorHelper::InstallProbeOnSatFeeder(), ns3::SatStatsPacketErrorHelper::InstallProbeOnSatUser(), and ns3::SatStatsPacketDropRateHelper::InstallProbes().

◆ GetTimeHeading()

std::string ns3::SatStatsHelper::GetTimeHeading ( std::string  dataLabel) const
protectedvirtual

◆ GetTypeId()

◆ GetUtId()

uint32_t ns3::SatStatsHelper::GetUtId ( Ptr< Node >  utNode) const
protected
Parameters
utNode
Returns
the ID previously assigned to the UT, or zero if the UT is not assigned to any ID.

Definition at line 570 of file satellite-stats-helper.cc.

References ns3::SatIdMapper::GetUtIdWithMac(), and ns3::SatIdMapper::GetUtMacWithNode().

Referenced by CreateCollectorPerIdentifier(), ns3::SatStatsFwdCompositeSinrHelper::DoInstallProbes(), ns3::SatStatsFwdDevDelayHelper::DoInstallProbes(), ns3::SatStatsFwdMacDelayHelper::DoInstallProbes(), ns3::SatStatsFwdPhyDelayHelper::DoInstallProbes(), ns3::SatStatsFwdDevJitterHelper::DoInstallProbes(), ns3::SatStatsFwdMacJitterHelper::DoInstallProbes(), ns3::SatStatsFwdPhyJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnSignallingLoadHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyThroughputHelper::DoInstallProbes(), GetIdentifierForUt(), GetIdentifierForUtUser(), ns3::SatStatsResourcesGrantedHelper::InstallProbe(), and ns3::SatStatsPacketErrorHelper::InstallProbeOnUt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetUtSatNetDevice()

Ptr< NetDevice > ns3::SatStatsHelper::GetUtSatNetDevice ( Ptr< Node >  utNode)
staticprotected
Returns

Definition at line 1042 of file satellite-stats-helper.cc.

Referenced by ns3::SatStatsRtnQueueHelper::DoEnlistSource(), ns3::SatStatsCapacityRequestHelper::DoInstall(), ns3::SatStatsFwdCompositeSinrHelper::DoInstallProbes(), ns3::SatStatsFwdDevDelayHelper::DoInstallProbes(), ns3::SatStatsFwdMacDelayHelper::DoInstallProbes(), ns3::SatStatsFwdPhyDelayHelper::DoInstallProbes(), ns3::SatStatsRtnDevDelayHelper::DoInstallProbes(), ns3::SatStatsRtnMacDelayHelper::DoInstallProbes(), ns3::SatStatsRtnPhyDelayHelper::DoInstallProbes(), ns3::SatStatsFwdDevJitterHelper::DoInstallProbes(), ns3::SatStatsFwdMacJitterHelper::DoInstallProbes(), ns3::SatStatsFwdPhyJitterHelper::DoInstallProbes(), ns3::SatStatsRtnDevJitterHelper::DoInstallProbes(), ns3::SatStatsRtnMacJitterHelper::DoInstallProbes(), ns3::SatStatsRtnPhyJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyLinkDelayHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyLinkJitterHelper::DoInstallProbes(), ns3::SatStatsFwdFeederLinkModcodHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnFeederLinkModcodHelper::DoInstallProbes(), ns3::SatStatsRtnUserLinkModcodHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkRxPowerHelper::DoInstallProbes(), ns3::SatStatsFwdUserLinkSinrHelper::DoInstallProbes(), ns3::SatStatsRtnSignallingLoadHelper::DoInstallProbes(), ns3::SatStatsFwdFeederDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdFeederPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsFwdUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederDevThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserDevThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederMacThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserMacThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnFeederPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsRtnUserPhyThroughputHelper::DoInstallProbes(), ns3::SatStatsResourcesGrantedHelper::InstallProbe(), ns3::SatStatsPacketErrorHelper::InstallProbeOnUt(), and ns3::SatStatsRbdcRequestHelper::InstallProbes().

◆ GetUtUserId()

uint32_t ns3::SatStatsHelper::GetUtUserId ( Ptr< Node >  utUserNode) const
protected
Parameters
utUserNode
Returns
the ID previously assigned to the UT user, or zero if the UT user is not assigned to any ID.

Definition at line 540 of file satellite-stats-helper.cc.

References ns3::SatIdMapper::GetUtUserIdWithMac(), and ns3::SatIdMapper::GetUtUserMacWithNode().

Referenced by CreateCollectorPerIdentifier(), ns3::SatStatsFwdAppDelayHelper::DoInstallProbes(), ns3::SatStatsFwdAppJitterHelper::DoInstallProbes(), ns3::SatStatsFwdAppPltHelper::DoInstallProbes(), ns3::SatStatsFwdAppThroughputHelper::DoInstallProbes(), and GetIdentifierForUtUser().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Install()

void ns3::SatStatsHelper::Install ( )

Install the probes, collectors, and aggregators necessary to produce the statistics output.

Behaviour should be implemented by child class in DoInstall().

Definition at line 198 of file satellite-stats-helper.cc.

References DoInstall(), m_isInstalled, m_outputType, and OUTPUT_NONE.

+ Here is the call graph for this function:

◆ IsInstalled()

bool ns3::SatStatsHelper::IsInstalled ( ) const
Returns
true if Install() has been invoked, otherwise false.

Definition at line 282 of file satellite-stats-helper.cc.

References m_isInstalled.

◆ SetIdentifierType()

void ns3::SatStatsHelper::SetIdentifierType ( SatStatsHelper::IdentifierType_t  identifierType)
Parameters
identifierTypecategorization of statistics output.
Warning
Does not have any effect if invoked after Install().

Definition at line 236 of file satellite-stats-helper.cc.

References GetIdentifierTypeName(), m_identifierType, and m_isInstalled.

Referenced by GetTypeId().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetName()

void ns3::SatStatsHelper::SetName ( std::string  name)
Parameters
namestring to be prepended on every output file name.

Definition at line 215 of file satellite-stats-helper.cc.

References m_name.

Referenced by GetTypeId().

+ Here is the caller graph for this function:

◆ SetOutputType()

void ns3::SatStatsHelper::SetOutputType ( SatStatsHelper::OutputType_t  outputType)
Parameters
outputTypetypes and formats of statistics output.
Warning
Does not have any effect if invoked after Install().

Definition at line 259 of file satellite-stats-helper.cc.

References GetIdentifierTypeName(), GetOutputTypeName(), m_identifierType, m_isInstalled, and m_outputType.

Referenced by GetTypeId().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_identifierType

◆ m_isInstalled

bool ns3::SatStatsHelper::m_isInstalled
private

Definition at line 400 of file satellite-stats-helper.h.

Referenced by Install(), IsInstalled(), SetIdentifierType(), and SetOutputType().

◆ m_name

std::string ns3::SatStatsHelper::m_name
private

Definition at line 397 of file satellite-stats-helper.h.

Referenced by GetName(), and SetName().

◆ m_outputType

OutputType_t ns3::SatStatsHelper::m_outputType
private

Definition at line 399 of file satellite-stats-helper.h.

Referenced by GetOutputType(), Install(), and SetOutputType().

◆ m_satHelper

Ptr<const SatHelper> ns3::SatStatsHelper::m_satHelper
private

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