23 #ifndef BS_SCHEDULER_H 24 #define BS_SCHEDULER_H 27 #include "ns3/packet.h" 29 #include "ns3/packet-burst.h" 35 class BaseStationNetDevice;
36 class GenericMacHeader;
37 class WimaxConnection;
66 virtual std::list<std::pair<OfdmDlMapIe*, Ptr<PacketBurst> > >*
101 uint32_t availableSymbols) = 0;
122 int availableSymbols,
virtual void AddDownlinkBurst(Ptr< const WimaxConnection > connection, uint8_t diuc, WimaxPhy::ModulationType modulationType, Ptr< PacketBurst > burst)=0
This function adds a downlink burst to the list of downlink bursts scheduled for the next downlink su...
Smart pointer class similar to boost::intrusive_ptr.
virtual void Schedule(void)=0
the scheduling function for the downlink subframe.
bool CheckForFragmentation(Ptr< WimaxConnection > connection, int availableSymbols, WimaxPhy::ModulationType modulationType)
Check if the packet fragmentation is possible for transport connection.
std::list< std::pair< OfdmDlMapIe *, Ptr< PacketBurst > > > * m_downlinkBursts
down link bursts
static TypeId GetTypeId(void)
Get the type ID.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
This class implements service flows as described by the IEEE-802.16 standard.
virtual Ptr< BaseStationNetDevice > GetBs(void)
Get the base station.
virtual void SetBs(Ptr< BaseStationNetDevice > bs)
Set the base station.
Ptr< BaseStationNetDevice > m_bs
base station
ModulationType
ModulationType enumeration.
virtual Ptr< PacketBurst > CreateUgsBurst(ServiceFlow *serviceFlow, WimaxPhy::ModulationType modulationType, uint32_t availableSymbols)=0
Creates a downlink UGS burst.
virtual bool SelectConnection(Ptr< WimaxConnection > &connection)=0
Selects a connection from the list of connections having packets to be sent .
virtual std::list< std::pair< OfdmDlMapIe *, Ptr< PacketBurst > > > * GetDownlinkBursts(void) const =0
This function returns all the downlink bursts scheduled for the next downlink sub-frame.
A base class which provides memory management and object aggregation.
a unique identifier for an interface.