22 #ifndef SATELLITE_STATS_LINK_JITTER_HELPER_H
23 #define SATELLITE_STATS_LINK_JITTER_HELPER_H
25 #include <ns3/address.h>
26 #include <ns3/collector-map.h>
28 #include <ns3/satellite-enums.h>
29 #include <ns3/satellite-stats-helper.h>
42 class DataCollectionObject;
43 class DistributionCollector;
ChannelType_t
Types of channel.
Produce forward feeder link DEV-level jitter statistics from a satellite module simulation.
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
SatStatsFwdFeederDevLinkJitterHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdFeederDevLinkJitterHelper()
/ Destructor.
Produce forward feeder link MAC-level jitter statistics from a satellite module simulation.
SatStatsFwdFeederMacLinkJitterHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
virtual ~SatStatsFwdFeederMacLinkJitterHelper()
/ Destructor.
Produce forward feeder link PHY-level jitter statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFwdFeederPhyLinkJitterHelper(Ptr< const SatHelper > satHelper)
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
virtual ~SatStatsFwdFeederPhyLinkJitterHelper()
/ Destructor.
Produce forward user link DEV-level jitter statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFwdUserDevLinkJitterHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdUserDevLinkJitterHelper()
/ Destructor.
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
Produce forward user link MAC-level jitter statistics from a satellite module simulation.
virtual ~SatStatsFwdUserMacLinkJitterHelper()
/ Destructor.
SatStatsFwdUserMacLinkJitterHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
Produce forward user link PHY-level jitter statistics from a satellite module simulation.
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
virtual ~SatStatsFwdUserPhyLinkJitterHelper()
/ Destructor.
SatStatsFwdUserPhyLinkJitterHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
Parent abstract class of all satellite statistics helpers.
Base class for jitter statistics helpers.
void SetAveragingMode(bool averagingMode)
virtual ~SatStatsLinkJitterHelper()
/ Destructor.
Ptr< DistributionCollector > m_averagingCollector
The final collector utilized in averaged output (histogram, PDF, and CDF).
CollectorMap m_terminalCollectors
Maintains a list of collectors created by this helper.
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).
void PassSampleToCollector(const Time &jitter, uint32_t identifier)
Find a collector with the right identifier and pass a sample data to it.
bool m_averagingMode
AveragingMode attribute.
SatStatsLinkJitterHelper(Ptr< const SatHelper > satHelper)
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
static TypeId GetTypeId()
inherited from ObjectBase base class
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
virtual void DoInstallProbes()=0
void SetChannelLink(SatEnums::ChannelType_t channelLink)
Set the channel used by this probe.
SatEnums::ChannelType_t m_channelLink
void RxLinkJitterCallback(const Time &jitter, const Address &from)
Receive inputs from trace sources and determine the right collector to forward the inputs to.
void InstallProbes()
Set up several probes or other means of listeners and connect them to the collectors.
bool GetAveragingMode() const
bool ConnectProbeToCollector(Ptr< Probe > probe, uint32_t identifier)
Connect the probe to the right collector.
Produce return feeder link DEV-level jitter statistics from a satellite module simulation.
SatStatsRtnFeederDevLinkJitterHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnFeederDevLinkJitterHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
Produce return feeder link MAC-level jitter statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnFeederMacLinkJitterHelper()
/ Destructor.
SatStatsRtnFeederMacLinkJitterHelper(Ptr< const SatHelper > satHelper)
Produce return feeder link PHY-level jitter statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnFeederPhyLinkJitterHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnFeederPhyLinkJitterHelper()
/ Destructor.
Produce return user link DEV-level jitter statistics from a satellite module simulation.
virtual ~SatStatsRtnUserDevLinkJitterHelper()
/ Destructor.
SatStatsRtnUserDevLinkJitterHelper(Ptr< const SatHelper > satHelper)
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
static TypeId GetTypeId()
inherited from ObjectBase base class
Produce return user link MAC-level jitter statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnUserMacLinkJitterHelper(Ptr< const SatHelper > satHelper)
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
virtual ~SatStatsRtnUserMacLinkJitterHelper()
/ Destructor.
Produce return user link PHY-level jitter statistics from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnUserPhyLinkJitterHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnUserPhyLinkJitterHelper()
/ Destructor.
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.