21 #ifndef SAT_SUPERFRAME_ALLOCATOR_H
22 #define SAT_SUPERFRAME_ALLOCATOR_H
28 #include <ns3/address.h>
29 #include <ns3/simple-ref-count.h>
30 #include <ns3/traced-callback.h>
117 uint32_t maxSizeInBytes,
119 TracedCallback<uint32_t> waveformTrace,
120 TracedCallback<uint32_t, uint32_t> utLoadTrace,
121 TracedCallback<uint32_t, double> loadTrace) = 0;
std::vector< SatFrameAllocReq * > SatFrameAllocContainer_t
Container to store SatFrameAllocReq item pointers.
std::vector< Ptr< SatTbtpMessage > > TbtpMsgContainer_t
Container to store generated TBTP messages.
std::map< Address, UtAllocInfoItem_t > UtAllocInfoContainer_t
Map container to store UT allocation information.
helper class for Satellite Beam Scheduler.
virtual ~SatSuperframeAllocator()
Destruct SatSuperframeAllocator.
Time GetSuperframeDuration() const
Get super frame duration.
virtual void ReserveMinimumRate(uint32_t minimumRateBytes, bool controlSlotsEnabled)=0
Reserve minimum rate from the allocator.
virtual void PreAllocateSymbols(SatFrameAllocator::SatFrameAllocContainer_t &allocReqs)=0
Preallocate symbols for given to UTs in superframe.
static TypeId GetTypeId(void)
derived from object
virtual void GenerateTimeSlots(SatFrameAllocator::TbtpMsgContainer_t &tbtpContainer, uint32_t maxSizeInBytes, SatFrameAllocator::UtAllocInfoContainer_t &utAllocContainer, TracedCallback< uint32_t > waveformTrace, TracedCallback< uint32_t, uint32_t > utLoadTrace, TracedCallback< uint32_t, double > loadTrace)=0
Generate time slots in TBTP(s) for the UT/RC.
virtual void ReleaseMinimumRate(uint32_t minimumRateBytes, bool controlSlotsEnabled)=0
Release minimum rate from the allocator.
Ptr< SatSuperframeConf > m_superframeConf
SatSuperframeAllocator(Ptr< SatSuperframeConf > superFrameConf)
Construct SatSuperframeAllocator.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.