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"
38class DataCollectionObject;
39class DistributionCollector;
Build a satellite network set with needed objects and configuration.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdFeederLinkRxPowerHelper()
/ Destructor.
SatStatsFwdFeederLinkRxPowerHelper(Ptr< const SatHelper > satHelper)
SatStatsFwdUserLinkRxPowerHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdUserLinkRxPowerHelper()
/ Destructor.
SatStatsHelper(Ptr< const SatHelper > satHelper)
Creates a new helper instance.
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.
SatStatsRtnFeederLinkRxPowerHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnFeederLinkRxPowerHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
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.