12#ifndef BS_SCHEDULER_RTPS_H
13#define BS_SCHEDULER_RTPS_H
19#include "ns3/packet-burst.h"
20#include "ns3/packet.h"
27class BaseStationNetDevice;
28class GenericMacHeader;
72 std::list<std::pair<OfdmDlMapIe*, Ptr<PacketBurst>>>*
GetDownlinkBursts()
const override;
207 uint32_t availableSymbols)
override;
This class implements a simple downlink scheduler for rtPS flows.
static TypeId GetTypeId()
Get the type ID.
void Schedule() override
Schedule function.
void BSSchedulerPrimaryConnection(uint32_t &availableSymbols)
schedules the primary connection
std::list< std::pair< OfdmDlMapIe *, Ptr< PacketBurst > > > * GetDownlinkBursts() const override
This function returns all the downlink bursts scheduled for the next downlink sub-frame.
bool SelectRTPSConnection(Ptr< WimaxConnection > &connection)
Check for rtPS connections that have packets to transmit.
void BSSchedulerUGSConnection(uint32_t &availableSymbols)
schedules the UGS connection
void BSSchedulerBEConnection(uint32_t &availableSymbols)
schedules the BE connection
bool SelectNRTPSConnection(Ptr< WimaxConnection > &connection)
Check for nrtPS connections that have packets to transmit.
void BSSchedulerBasicConnection(uint32_t &availableSymbols)
schedules the basic connections
void AddDownlinkBurst(Ptr< const WimaxConnection > connection, uint8_t diuc, WimaxPhy::ModulationType modulationType, Ptr< PacketBurst > burst) override
This function adds a downlink burst to the list of downlink bursts scheduled for the next downlink su...
~BSSchedulerRtps() override
bool SelectMenagementConnection(Ptr< WimaxConnection > &connection)
Check for Basic and Primary connections that have packets to transmit.
void BSSchedulerInitialRangingConnection(uint32_t &availableSymbols)
schedules the IR connections
bool SelectUGSConnection(Ptr< WimaxConnection > &connection)
Check for UGS connections that have packets to transmit.
void BSSchedulerRTPSConnection(uint32_t &availableSymbols)
Downlink Scheduler for rtPS connections.
void BSSchedulerBroadcastConnection(uint32_t &availableSymbols)
schedules the broadcast connections
bool SelectBEConnection(Ptr< WimaxConnection > &connection)
Check for BE connections that have packets to transmit.
void BSSchedulerNRTPSConnection(uint32_t &availableSymbols)
schedules the NRTPS connections
Ptr< PacketBurst > CreateUgsBurst(ServiceFlow *serviceFlow, WimaxPhy::ModulationType modulationType, uint32_t availableSymbols) override
Creates a downlink UGS burst.
bool SelectIRandBCConnection(Ptr< WimaxConnection > &connection)
Check for IR and Broadcast connections that have packets to transmit.
bool SelectConnection(Ptr< WimaxConnection > &connection) override
Selects a connection from the list of connections having packets to be sent .
std::list< std::pair< OfdmDlMapIe *, Ptr< PacketBurst > > > * m_downlinkBursts
down link bursts
Smart pointer class similar to boost::intrusive_ptr.
This class implements service flows as described by the IEEE-802.16 standard.
a unique identifier for an interface.
ModulationType
ModulationType enumeration.
Every class exported by the ns3 library is enclosed in the ns3 namespace.