22 #ifndef SATELLITE_STATS_LINK_RX_POWER_HELPER_H
23 #define SATELLITE_STATS_LINK_RX_POWER_HELPER_H
27 #include <ns3/callback.h>
28 #include <ns3/collector-map.h>
38 class DataCollectionObject;
39 class DistributionCollector;
Produce forward feeder link RX power statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdFeederLinkRxPowerHelper()
/ Destructor.
SatStatsFwdFeederLinkRxPowerHelper(Ptr< const SatHelper > satHelper)
Produce forward user link RX power statistics from a satellite module simulation.
SatStatsFwdUserLinkRxPowerHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdUserLinkRxPowerHelper()
/ Destructor.
Parent abstract class of all satellite statistics helpers.
Base class for link RX power statistics helpers.
SatStatsLinkRxPowerHelper(Ptr< const SatHelper > satHelper)
virtual void DoInstallProbes()=0
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
CollectorMap m_terminalCollectors
Maintains a list of collectors created by this helper.
bool ConnectProbeToCollector(Ptr< Probe > probe, uint32_t identifier)
Connect the probe to the right collector.
Ptr< DataCollectionObject > m_collector
The collector created by this helper.
static TypeId GetTypeId()
inherited from ObjectBase base class
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
void SetAveragingMode(bool averagingMode)
virtual ~SatStatsLinkRxPowerHelper()
/ Destructor.
bool m_averagingMode
AveragingMode attribute.
void PassSampleToCollector(double rxPowerDb, uint32_t identifier)
Find a collector with the right identifier and pass a sample data to it.
Ptr< DistributionCollector > m_averagingCollector
The final collector utilized in averaged output (histogram, PDF, and CDF).
void InstallProbes()
Set up several probes or other means of listeners and connect them to the collectors.
Callback< void, double, const Address & > m_traceSinkCallback
Callback< void, double, const Address & > GetTraceSinkCallback() const
void RxPowerCallback(double rxPowerDb, const Address &addr)
Receive inputs from trace sources and forward them to the collector.
Produce return feeder link RX power statistics from a satellite module simulation.
SatStatsRtnFeederLinkRxPowerHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnFeederLinkRxPowerHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
Produce return user link RX power statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnUserLinkRxPowerHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnUserLinkRxPowerHelper()
/ Destructor.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.