22 #ifndef SATELLITE_STATS_LINK_DELAY_HELPER_H
23 #define SATELLITE_STATS_LINK_DELAY_HELPER_H
27 #include <ns3/address.h>
28 #include <ns3/collector-map.h>
43 class DataCollectionObject;
44 class DistributionCollector;
227 std::map<Ptr<Probe>, std::pair<Ptr<Node>, uint32_t>>
m_probes;
317 std::map<Ptr<Probe>, std::pair<Ptr<Node>, uint32_t>>
m_probes;
407 std::map<Ptr<Probe>, std::pair<Ptr<Node>, uint32_t>>
m_probes;
Produce forward feeder link DEV-level delay statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdFeederDevLinkDelayHelper()
/ Destructor.
SatStatsFwdFeederDevLinkDelayHelper(Ptr< const SatHelper > satHelper)
Produce forward feeder link MAC-level delay statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFwdFeederMacLinkDelayHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdFeederMacLinkDelayHelper()
/ Destructor.
Produce forward feeder link PHY-level delay statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdFeederPhyLinkDelayHelper()
/ Destructor.
SatStatsFwdFeederPhyLinkDelayHelper(Ptr< const SatHelper > satHelper)
Produce forward user link DEV-level delay statistics from a satellite module simulation.
std::map< Ptr< Probe >, std::pair< Ptr< Node >, uint32_t > > m_probes
Maintains a list of probes created by this helper.
virtual ~SatStatsFwdUserDevLinkDelayHelper()
/ Destructor.
SatStatsFwdUserDevLinkDelayHelper(Ptr< const SatHelper > satHelper)
virtual void UpdateIdentifierOnProbes()
Change identifier used on probes, when handovers occur.
static TypeId GetTypeId()
inherited from ObjectBase base class
Produce forward user link MAC-level delay statistics from a satellite module simulation.
virtual void UpdateIdentifierOnProbes()
Change identifier used on probes, when handovers occur.
std::map< Ptr< Probe >, std::pair< Ptr< Node >, uint32_t > > m_probes
Maintains a list of probes created by this helper.
virtual ~SatStatsFwdUserMacLinkDelayHelper()
/ Destructor.
SatStatsFwdUserMacLinkDelayHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
Produce forward user link PHY-level delay statistics from a satellite module simulation.
SatStatsFwdUserPhyLinkDelayHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
std::map< Ptr< Probe >, std::pair< Ptr< Node >, uint32_t > > m_probes
Maintains a list of probes created by this helper.
virtual ~SatStatsFwdUserPhyLinkDelayHelper()
/ Destructor.
virtual void UpdateIdentifierOnProbes()
Change identifier used on probes, when handovers occur.
Parent abstract class of all satellite statistics helpers.
Base class for delay statistics helpers.
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
static TypeId GetTypeId()
inherited from ObjectBase base class
void InstallProbes()
Set up several probes or other means of listeners and connect them to the collectors.
std::map< const Address, uint32_t > m_identifierMap
Map of address and the identifier associated with it (for return link).
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.
bool m_averagingMode
AveragingMode attribute.
void PassSampleToCollector(const Time &delay, 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).
SatStatsLinkDelayHelper(Ptr< const SatHelper > satHelper)
void SetAveragingMode(bool averagingMode)
virtual ~SatStatsLinkDelayHelper()
/ Destructor.
void RxLinkDelayCallback(const Time &delay, const Address &from)
Receive inputs from trace sources and determine the right collector to forward the inputs to.
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
bool GetAveragingMode() const
virtual void DoInstallProbes()=0
bool DisconnectProbeFromCollector(Ptr< Probe > probe, uint32_t identifier)
Disconnect the probe from the right collector.
Produce return feeder link DEV-level delay statistics from a satellite module simulation.
virtual ~SatStatsRtnFeederDevLinkDelayHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnFeederDevLinkDelayHelper(Ptr< const SatHelper > satHelper)
Produce return feeder link MAC-level delay statistics from a satellite module simulation.
SatStatsRtnFeederMacLinkDelayHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnFeederMacLinkDelayHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
Produce return feeder link PHY-level delay statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnFeederPhyLinkDelayHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnFeederPhyLinkDelayHelper()
/ Destructor.
Produce return user link DEV-level delay statistics from a satellite module simulation.
virtual ~SatStatsRtnUserDevLinkDelayHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnUserDevLinkDelayHelper(Ptr< const SatHelper > satHelper)
Produce return user link MAC-level delay statistics from a satellite module simulation.
virtual ~SatStatsRtnUserMacLinkDelayHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnUserMacLinkDelayHelper(Ptr< const SatHelper > satHelper)
Produce return user link PHY-level delay statistics from a satellite module simulation.
SatStatsRtnUserPhyLinkDelayHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnUserPhyLinkDelayHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.