22#ifndef SATELLITE_STATS_THROUGHPUT_HELPER_H
23#define SATELLITE_STATS_THROUGHPUT_HELPER_H
27#include "ns3/address.h"
28#include "ns3/collector-map.h"
43class DataCollectionObject;
44class DistributionCollector;
91 void RxCallback(Ptr<const Packet> packet,
const Address& from);
167 std::map<Ptr<Probe>, std::pair<Ptr<Node>, uint32_t>>
m_probes;
256 std::map<Ptr<Probe>, std::pair<Ptr<Node>, uint32_t>>
m_probes;
349 std::map<Ptr<Probe>, std::pair<Ptr<Node>, uint32_t>>
m_probes;
442 std::map<Ptr<Probe>, std::pair<Ptr<Node>, uint32_t>>
m_probes;
487 void Ipv4Callback(Ptr<const Packet> packet,
const Address& from);
Build a satellite network set with needed objects and configuration.
std::map< Ptr< Probe >, std::pair< Ptr< Node >, uint32_t > > m_probes
Maintains a list of probes created by this helper.
SatStatsFwdAppThroughputHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdAppThroughputHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual void UpdateIdentifierOnProbes()
Change identifier used on probes, when handovers occur.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFwdFeederDevThroughputHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdFeederDevThroughputHelper()
/ Destructor.
SatStatsFwdFeederMacThroughputHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdFeederMacThroughputHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFwdFeederPhyThroughputHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdFeederPhyThroughputHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFwdUserDevThroughputHelper(Ptr< const SatHelper > satHelper)
std::map< Ptr< Probe >, std::pair< Ptr< Node >, uint32_t > > m_probes
Maintains a list of probes created by this helper.
virtual void UpdateIdentifierOnProbes()
Change identifier used on probes, when handovers occur.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdUserDevThroughputHelper()
/ Destructor.
std::map< Ptr< Probe >, std::pair< Ptr< Node >, uint32_t > > m_probes
Maintains a list of probes created by this helper.
virtual ~SatStatsFwdUserMacThroughputHelper()
/ Destructor.
virtual void UpdateIdentifierOnProbes()
Change identifier used on probes, when handovers occur.
SatStatsFwdUserMacThroughputHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual void UpdateIdentifierOnProbes()
Change identifier used on probes, when handovers occur.
SatStatsFwdUserPhyThroughputHelper(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 ~SatStatsFwdUserPhyThroughputHelper()
/ Destructor.
SatStatsHelper(Ptr< const SatHelper > satHelper)
Creates a new helper instance.
void Ipv4Callback(Ptr< const Packet > packet, const Address &from)
Receive inputs from trace sources and determine the right collector to forward the inputs to.
SatStatsRtnAppThroughputHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnAppThroughputHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
void SaveIpv4AddressAndIdentifier(Ptr< Node > utUserNode)
Save the IPv4 address and the proper identifier from the given UT user node.
SatStatsRtnFeederDevThroughputHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnFeederDevThroughputHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnFeederMacThroughputHelper()
/ Destructor.
SatStatsRtnFeederMacThroughputHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnFeederPhyThroughputHelper()
/ Destructor.
SatStatsRtnFeederPhyThroughputHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsRtnUserDevThroughputHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnUserDevThroughputHelper(Ptr< const SatHelper > satHelper)
SatStatsRtnUserMacThroughputHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnUserMacThroughputHelper()
/ Destructor.
virtual ~SatStatsRtnUserPhyThroughputHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsRtnUserPhyThroughputHelper(Ptr< const SatHelper > satHelper)
CollectorMap m_conversionCollectors
Maintains a list of first-level collectors created by this helper.
void InstallProbes()
Set up several probes or other means of listeners and connect them to the first-level collectors.
Ptr< DistributionCollector > m_averagingCollector
The final collector utilized in averaged output (histogram, PDF, and CDF).
void RxCallback(Ptr< const Packet > packet, const Address &from)
Receive inputs from trace sources and determine the right collector to forward the inputs to.
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
void SetAveragingMode(bool averagingMode)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual void DoInstallProbes()=0
virtual ~SatStatsThroughputHelper()
/ Destructor.
CollectorMap m_terminalCollectors
Maintains a list of second-level collectors created by this helper.
SatStatsThroughputHelper(Ptr< const SatHelper > satHelper)
bool m_averagingMode
AveragingMode attribute.
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
bool GetAveragingMode() const
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.