22#ifndef SATELLITE_STATS_PACKET_COLLISION_HELPER_H
23#define SATELLITE_STATS_PACKET_COLLISION_HELPER_H
27#include "ns3/address.h"
28#include "ns3/collector-map.h"
30#include "ns3/satellite-phy-rx-carrier.h"
42class DataCollectionObject;
Build a satellite network set with needed objects and configuration.
CarrierType
Possible carrier types.
virtual ~SatStatsFeederCrdsaPacketCollisionHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFeederCrdsaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFeederEssaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFeederEssaPacketCollisionHelper()
/ Destructor.
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
virtual ~SatStatsFeederPacketCollisionHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
SatStatsFeederPacketCollisionHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFeederSlottedAlohaPacketCollisionHelper()
/ Destructor.
SatStatsFeederSlottedAlohaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsHelper(Ptr< const SatHelper > satHelper)
Creates a new helper instance.
void CollisionRxCallback(uint32_t nPackets, const Address &from, bool isCollided)
Receive inputs from trace sources and determine the right collector to forward the inputs to.
void SetTraceSourceName(std::string traceSourceName)
void SetValidCarrierType(SatPhyRxCarrier::CarrierType carrierType)
Set valid carrier type for this statistics helper type.
virtual ~SatStatsPacketCollisionHelper()
/ Destructor.
SatStatsPacketCollisionHelper(Ptr< const SatHelper > satHelper)
std::string m_traceSourceName
SatPhyRxCarrier::CarrierType GetValidCarrierType() const
Get the valid carrier type.
CollectorMap m_terminalCollectors
Maintains a list of collectors created by this helper.
SatPhyRxCarrier::CarrierType m_carrierType
std::string GetTraceSourceName() const
static TypeId GetTypeId()
inherited from ObjectBase base class
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsUserCrdsaPacketCollisionHelper()
/ Destructor.
SatStatsUserCrdsaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
SatStatsUserEssaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsUserEssaPacketCollisionHelper()
/ Destructor.
SatStatsUserPacketCollisionHelper(Ptr< const SatHelper > satHelper)
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
virtual ~SatStatsUserPacketCollisionHelper()
/ Destructor.
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
static TypeId GetTypeId()
inherited from ObjectBase base class
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsUserSlottedAlohaPacketCollisionHelper()
/ Destructor.
SatStatsUserSlottedAlohaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.