29 #ifndef SATELLITE_FRAME_SYMBOL_LOAD_PROBE_H
30 #define SATELLITE_FRAME_SYMBOL_LOAD_PROBE_H
32 #include "ns3/nstime.h"
33 #include "ns3/probe.h"
34 #include "ns3/traced-callback.h"
75 void SetValue(uint32_t frameId,
double loadRatio);
84 static void SetValueByPath(std::string path, uint32_t frameId,
double loadRatio);
122 void TraceSink(uint32_t frameId,
double loadRatio);
Probe to translate from a FrameLoadTrace trace source.
void TraceSink(uint32_t frameId, double loadRatio)
Method to connect to an underlying ns3::TraceSource with arguments of type double and const Address&.
SatFrameSymbolLoadProbe()
Default constructor.
virtual bool ConnectByObject(std::string traceSource, Ptr< Object > obj)
connect to a trace source attribute provided by a given object
static TypeId GetTypeId()
Get the type ID.
virtual void ConnectByPath(std::string path)
connect to a trace source provided by a config path
virtual ~SatFrameSymbolLoadProbe()
Destructor for SatFrameSymbolLoadProbe.
void SetValue(uint32_t frameId, double loadRatio)
Set a probe value.
TracedCallback< uint32_t, double > m_output
Output trace, the frame ID and ratio of allocated symbols.
void(* FrameSymbolLoadCallback)(uint32_t frameId, double loadRatio)
Callback signature for frame load in unit of symbols.
static void SetValueByPath(std::string path, uint32_t frameId, double loadRatio)
Set a probe value by its name in the Config system.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.