22 #ifndef SATELLITE_STATS_PACKET_ERROR_HELPER_H
23 #define SATELLITE_STATS_PACKET_ERROR_HELPER_H
25 #include <ns3/address.h>
26 #include <ns3/collector-map.h>
28 #include <ns3/satellite-enums.h>
29 #include <ns3/satellite-phy-rx-carrier.h>
30 #include <ns3/satellite-stats-helper.h>
41 class DataCollectionObject;
73 void ErrorRxCallback(uint32_t nPackets,
const Address& fromOrTo,
bool isError);
ChannelType_t
Types of channel.
CarrierType
Possible carrier types.
Produce packet error statistics of Random Access CRDSA on feeder link from a satellite module simulat...
virtual ~SatStatsFeederCrdsaPacketErrorHelper()
/ Destructor.
SatStatsFeederCrdsaPacketErrorHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
Produce packet error statistics of Random Access E-SSA on feeder link from a satellite module simulat...
virtual ~SatStatsFeederEssaPacketErrorHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFeederEssaPacketErrorHelper(Ptr< const SatHelper > satHelper)
Produce packet error statistics of Random Access Slotted ALOHA on feeder link from a satellite module...
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsFeederSlottedAlohaPacketErrorHelper(Ptr< const SatHelper > satHelper)
virtual ~SatStatsFeederSlottedAlohaPacketErrorHelper()
/ Destructor.
Produce packet error statistics of Dedicated Access in forward feeder link from a satellite module si...
SatStatsFwdFeederDaPacketErrorHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdFeederDaPacketErrorHelper()
/ Destructor.
Produce packet error statistics of Dedicated Access in forward user link from a satellite module simu...
SatStatsFwdUserDaPacketErrorHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsFwdUserDaPacketErrorHelper()
/ Destructor.
Parent abstract class of all satellite statistics helpers.
Base class for packet error statistics helpers.
static TypeId GetTypeId()
inherited from ObjectBase base class
void DoInstall()
Install the probes, collectors, and aggregators necessary to produce the statistics output.
std::string m_traceSourceName
Name of trace source of PHY RX carrier to listen to.
std::string GetTraceSourceName() const
SatEnums::ChannelType_t GetChannelType() const
void InstallProbeOnGw(Ptr< Node > gwNode)
Set up several listeners on a GW node and connect them to the collectors.
Ptr< DataCollectionObject > m_aggregator
The aggregator created by this helper.
SatPhyRxCarrier::CarrierType GetValidCarrierType() const
Get the valid carrier type.
SatStatsPacketErrorHelper(Ptr< const SatHelper > satHelper)
void SaveAddressAndIdentifier(Ptr< Node > utNode)
Save the address and the proper identifier from the given UT node.
CollectorMap m_terminalCollectors
Maintains a list of collectors created by this helper.
void InstallProbeOnUt(Ptr< Node > utNode)
Set up several probes on a UT node and connect them to the collectors.
SatEnums::ChannelType_t m_channelType
Link where statistics are gathered from.
void InstallProbeOnSatUser(Ptr< Node > satNode)
Set up several listeners on a SAT user node and connect them to the collectors.
void SetChannelType(SatEnums::ChannelType_t channelType)
std::map< const Address, uint32_t > m_identifierMap
Map of address and the identifier associated with it (for return link).
SatPhyRxCarrier::CarrierType m_carrierType
Valid carrier type.
std::list< Ptr< Probe > > m_probes
Maintains a list of probes created by this helper (for forward link).
void SetValidCarrierType(SatPhyRxCarrier::CarrierType carrierType)
Set valid carrier type for this statistics helper type.
void SetTraceSourceName(std::string traceSourceName)
void ErrorRxCallback(uint32_t nPackets, const Address &fromOrTo, bool isError)
Receive inputs from trace sources and determine the right collector to forward the inputs to.
virtual ~SatStatsPacketErrorHelper()
/ Destructor.
void InstallProbeOnSatFeeder(Ptr< Node > satNode)
Set up several listeners on a SAT feeder node and connect them to the collectors.
Produce packet error statistics of Dedicated Access in return feeder link from a satellite module sim...
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnFeederDaPacketErrorHelper()
/ Destructor.
SatStatsRtnFeederDaPacketErrorHelper(Ptr< const SatHelper > satHelper)
Produce packet error statistics of Dedicated Access in return user link from a satellite module simul...
SatStatsRtnUserDaPacketErrorHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsRtnUserDaPacketErrorHelper()
/ Destructor.
Produce packet error statistics of Random Access CRDSA on user link from a satellite module simulatio...
SatStatsUserCrdsaPacketErrorHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
virtual ~SatStatsUserCrdsaPacketErrorHelper()
/ Destructor.
Produce packet error statistics of Random Access E-SSA on user link from a satellite module simulatio...
virtual ~SatStatsUserEssaPacketErrorHelper()
/ Destructor.
static TypeId GetTypeId()
inherited from ObjectBase base class
SatStatsUserEssaPacketErrorHelper(Ptr< const SatHelper > satHelper)
Produce packet error statistics of Random Access Slotted ALOHA on user link from a satellite module s...
virtual ~SatStatsUserSlottedAlohaPacketErrorHelper()
/ Destructor.
SatStatsUserSlottedAlohaPacketErrorHelper(Ptr< const SatHelper > satHelper)
static TypeId GetTypeId()
inherited from ObjectBase base class
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.