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>
42 class DataCollectionObject;
CarrierType
Possible carrier types.
Produce packet collision statistics of Random Access CRDSA from a satellite module simulation.
virtual ~SatStatsFeederCrdsaPacketCollisionHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFeederCrdsaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
Produce packet collision statistics of Random Access E-SSA from a satellite module simulation.
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)
Produce packet collision statistics of Random Access Slotted ALOHA from a satellite module simulation...
virtual ~SatStatsFeederSlottedAlohaPacketCollisionHelper()
/ Destructor.
SatStatsFeederSlottedAlohaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
Parent abstract class of all satellite statistics helpers.
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
Produce packet collision statistics of Random Access CRDSA from a satellite module simulation.
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsUserCrdsaPacketCollisionHelper()
/ Destructor.
SatStatsUserCrdsaPacketCollisionHelper(Ptr< const SatHelper > satHelper)
Produce packet collision statistics of Random Access E-SSA from a satellite module simulation.
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
Produce packet collision statistics of Random Access Slotted ALOHA from a satellite module simulation...
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.