22 #ifndef SATELLITE_STATS_LINK_SINR_HELPER_H
23 #define SATELLITE_STATS_LINK_SINR_HELPER_H
25 #include <ns3/callback.h>
26 #include <ns3/collector-map.h>
28 #include <ns3/satellite-stats-helper.h>
37 class DataCollectionObject;
38 class DistributionCollector;
Produce forward feeder link SINR statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFwdFeederLinkSinrHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdFeederLinkSinrHelper()
/ Destructor.
Produce forward user link SINR statistics from a satellite module simulation.
SatStatsFwdUserLinkSinrHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdUserLinkSinrHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
Parent abstract class of all satellite statistics helpers.
Base class for link SINR statistics helpers.
Ptr< DistributionCollector > m_averagingCollector
The final collector utilized in averaged output (histogram, PDF, and CDF).
virtual ~SatStatsLinkSinrHelper()
/ Destructor.
Callback< void, double, const Address & > m_traceSinkCallback
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
bool ConnectProbeToCollector(Ptr< Probe > probe, uint32_t identifier)
Connect the probe to the right collector.
virtual void DoInstallProbes()=0
void PassSampleToCollector(double sinrDb, uint32_t identifier)
Find a collector with the right identifier and pass a sample data to it.
Ptr< DataCollectionObject > m_collector
The collector created by this helper.
bool m_averagingMode
AveragingMode attribute.
CollectorMap m_terminalCollectors
Maintains a list of collectors created by this helper.
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
void SinrCallback(double sinrDb, const Address &addr)
Receive inputs from trace sources and forward them to the collector.
Callback< void, double, const Address & > GetTraceSinkCallback() const
void SetAveragingMode(bool averagingMode)
void InstallProbes()
Set up several probes or other means of listeners and connect them to the collectors.
static TypeId GetTypeId()
inherited from ObjectBase base class
void SaveAddressAndIdentifier(Ptr< Node > utNode)
Save the address and the proper identifier from the given UT node.
std::map< const Address, uint32_t > m_identifierMap
Map of address and the identifier associated with it (for return link).
SatStatsLinkSinrHelper(Ptr< const SatHelper > satHelper)
Produce return feeder link SINR statistics from a satellite module simulation.
SatStatsRtnFeederLinkSinrHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnFeederLinkSinrHelper()
/ Destructor.
Produce return user link SINR statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnUserLinkSinrHelper()
/ Destructor.
SatStatsRtnUserLinkSinrHelper(Ptr< const SatHelper > satHelper)
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.