22#ifndef SATELLITE_STATS_SAT_QUEUE_HELPER_H
23#define SATELLITE_STATS_SAT_QUEUE_HELPER_H
27#include "ns3/callback.h"
28#include "ns3/collector-map.h"
40class DataCollectionObject;
41class DistributionCollector;
Build a satellite network set with needed objects and configuration.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdUserQueueBytesHelper()
/ Destructor.
SatStatsFwdUserQueueBytesHelper(Ptr< const SatHelper > satHelper)
SatStatsFwdUserQueuePacketsHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFwdUserQueuePacketsHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsHelper(Ptr< const SatHelper > satHelper)
Creates a new helper instance.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnFeederQueueBytesHelper()
/ Destructor.
SatStatsRtnFeederQueueBytesHelper(Ptr< const SatHelper > satHelper)
SatStatsRtnFeederQueuePacketsHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnFeederQueuePacketsHelper()
/ Destructor.
SatStatsSatelliteQueueHelper(Ptr< const SatHelper > satHelper)
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
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.
void SetUnitType(UnitType_t unitType)
Ptr< DistributionCollector > m_averagingCollector
The final collector utilized in averaged output (histogram, PDF, and CDF).
virtual void DoInstallProbes()=0
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
virtual ~SatStatsSatelliteQueueHelper()
/ Destructor.
bool m_averagingMode
AveragingMode attribute.
void QueueSizeCallback(uint32_t size, const Address &addr)
Receive inputs from trace sources and forward them to the collector.
CollectorMap m_terminalCollectors
Maintains a list of collectors created by this helper.
static std::string GetUnitTypeName(UnitType_t unitType)
void PassSampleToCollector(uint32_t size, uint32_t identifier)
Find a collector with the right identifier and pass a sample data to it.
void SetAveragingMode(bool averagingMode)
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.