Virtual class for uplink scheduler. More...
#include <bs-uplink-scheduler.h>
Public Member Functions | |
UplinkScheduler (void) | |
UplinkScheduler (Ptr< BaseStationNetDevice > bs) | |
virtual | ~UplinkScheduler (void) |
virtual void | AddUplinkAllocation (OfdmUlMapIe &ulMapIe, const uint32_t &allocationSize, uint32_t &symbolsToAllocation, uint32_t &availableSymbols)=0 |
virtual void | AllocateInitialRangingInterval (uint32_t &symbolsToAllocation, uint32_t &availableSymbols)=0 |
virtual uint32_t | CalculateAllocationStartTime (void)=0 |
virtual Ptr< BaseStationNetDevice > | GetBs (void) |
virtual void | GetChannelDescriptorsToUpdate (bool &, bool &, bool &, bool &)=0 |
Determines if channel descriptors sent in the current frame are required to be updated. More... | |
virtual Time | GetDcdTimeStamp (void) const |
virtual bool | GetIsInvIrIntrvlAllocated (void) const |
virtual bool | GetIsIrIntrvlAllocated (void) const |
virtual uint8_t | GetNrIrOppsAllocated (void) const |
virtual Time | GetTimeStampIrInterval (void) |
virtual Time | GetUcdTimeStamp (void) const |
virtual std::list< OfdmUlMapIe > | GetUplinkAllocations (void) const |
virtual void | InitOnce (void)=0 |
virtual void | OnSetRequestedBandwidth (ServiceFlowRecord *sfr)=0 |
virtual void | ProcessBandwidthRequest (const BandwidthRequestHeader &bwRequestHdr)=0 |
virtual void | Schedule (void)=0 |
virtual void | ServiceBandwidthRequests (const SSRecord *ssRecord, enum ServiceFlow::SchedulingType schedulingType, OfdmUlMapIe &ulMapIe, const WimaxPhy::ModulationType modulationType, uint32_t &symbolsToAllocation, uint32_t &availableSymbols)=0 |
virtual bool | ServiceBandwidthRequests (ServiceFlow *serviceFlow, enum ServiceFlow::SchedulingType schedulingType, OfdmUlMapIe &ulMapIe, const WimaxPhy::ModulationType modulationType, uint32_t &symbolsToAllocation, uint32_t &availableSymbols)=0 |
virtual void | ServiceUnsolicitedGrants (const SSRecord *ssRecord, enum ServiceFlow::SchedulingType schedulingType, OfdmUlMapIe &ulMapIe, const WimaxPhy::ModulationType modulationType, uint32_t &symbolsToAllocation, uint32_t &availableSymbols)=0 |
virtual void | SetBs (Ptr< BaseStationNetDevice > bs) |
virtual void | SetDcdTimeStamp (Time dcdTimeStamp) |
virtual void | SetIsInvIrIntrvlAllocated (bool isInvIrIntrvlAllocated) |
virtual void | SetIsIrIntrvlAllocated (bool isIrIntrvlAllocated) |
virtual void | SetNrIrOppsAllocated (uint8_t nrIrOppsAllocated) |
virtual void | SetTimeStampIrInterval (Time timeStampIrInterval) |
virtual void | SetUcdTimeStamp (Time ucdTimeStamp) |
virtual void | SetupServiceFlow (SSRecord *ssRecord, ServiceFlow *serviceFlow)=0 |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
Run the DoDispose methods of this object and all the objects aggregated to it. More... | |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Initialize (void) |
This method calls the virtual DoInitialize method on all the objects aggregated to this object. More... | |
![]() | |
SimpleRefCount () | |
Constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
![]() | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
Register this type. More... | |
![]() | |
static void | Cleanup (void) |
Noop. More... | |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Attributes | |
Ptr< BaseStationNetDevice > | m_bs |
Time | m_dcdTimeStamp |
bool | m_isInvIrIntrvlAllocated |
bool | m_isIrIntrvlAllocated |
uint8_t | m_nrIrOppsAllocated |
Time | m_timeStampIrInterval |
Time | m_ucdTimeStamp |
std::list< OfdmUlMapIe > | m_uplinkAllocations |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
This method is called by Object::Dispose or by the object's destructor, whichever comes first. More... | |
virtual void | DoInitialize (void) |
This method is called only once by Object::Initialize. More... | |
virtual void | NotifyNewAggregate (void) |
This method is invoked whenever two sets of objects are aggregated together. More... | |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
This method is invoked once all member attributes have been initialized. More... | |
Virtual class for uplink scheduler.
ns3::UplinkScheduler is accessible through the following paths with Config::Set and Config::Connect:
No Attributes are defined for this type.
No TraceSources are defined for this type.
Definition at line 42 of file bs-uplink-scheduler.h.
ns3::UplinkScheduler::UplinkScheduler | ( | void | ) |
Definition at line 42 of file bs-uplink-scheduler.cc.
ns3::UplinkScheduler::UplinkScheduler | ( | Ptr< BaseStationNetDevice > | bs | ) |
Definition at line 53 of file bs-uplink-scheduler.cc.
|
virtual |
Definition at line 64 of file bs-uplink-scheduler.cc.
References m_bs, and m_uplinkAllocations.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
pure virtual |
Implemented in ns3::UplinkSchedulerRtps, ns3::UplinkSchedulerMBQoS, and ns3::UplinkSchedulerSimple.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
virtual |
Definition at line 165 of file bs-uplink-scheduler.cc.
References m_bs.
Referenced by ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::CalculateAllocationStartTime(), ns3::UplinkSchedulerRtps::CalculateAllocationStartTime(), ns3::UplinkSchedulerMBQoS::CalculateAllocationStartTime(), ns3::UplinkSchedulerMBQoS::CheckDeadline(), ns3::UplinkSchedulerMBQoS::CheckMinimumBandwidth(), ns3::UplinkSchedulerMBQoS::CountSymbolsJobs(), ns3::UplinkSchedulerSimple::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerRtps::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerMBQoS::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerMBQoS::ProcessBandwidthRequest(), ns3::UplinkSchedulerSimple::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerSimple::ServiceBandwidthRequests(), ns3::UplinkSchedulerRtps::ServiceBandwidthRequests(), ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequests(), ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequestsBytes(), ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerSimple::SetupServiceFlow(), ns3::UplinkSchedulerMBQoS::SetupServiceFlow(), ns3::UplinkSchedulerRtps::SetupServiceFlow(), ns3::UplinkSchedulerRtps::ULSchedulerRTPSConnection(), and ns3::UplinkSchedulerMBQoS::UplinkSchedWindowTimer().
|
pure virtual |
Determines if channel descriptors sent in the current frame are required to be updated.
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
virtual |
Definition at line 123 of file bs-uplink-scheduler.cc.
References m_dcdTimeStamp.
Referenced by ns3::UplinkSchedulerSimple::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerRtps::GetChannelDescriptorsToUpdate(), and ns3::UplinkSchedulerMBQoS::GetChannelDescriptorsToUpdate().
|
virtual |
Definition at line 110 of file bs-uplink-scheduler.cc.
References m_isInvIrIntrvlAllocated.
|
virtual |
Definition at line 97 of file bs-uplink-scheduler.cc.
References m_isIrIntrvlAllocated.
|
virtual |
Definition at line 85 of file bs-uplink-scheduler.cc.
References m_nrIrOppsAllocated.
Referenced by ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), and ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval().
|
virtual |
Definition at line 153 of file bs-uplink-scheduler.cc.
References m_timeStampIrInterval.
Referenced by ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), and ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval().
|
static |
Definition at line 76 of file bs-uplink-scheduler.cc.
References ns3::TypeId::SetParent().
|
virtual |
Definition at line 135 of file bs-uplink-scheduler.cc.
References m_ucdTimeStamp.
Referenced by ns3::UplinkSchedulerSimple::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerRtps::GetChannelDescriptorsToUpdate(), and ns3::UplinkSchedulerMBQoS::GetChannelDescriptorsToUpdate().
|
virtual |
Reimplemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
Definition at line 147 of file bs-uplink-scheduler.cc.
References m_uplinkAllocations.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
Definition at line 70 of file bs-uplink-scheduler.cc.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
pure virtual |
Implemented in ns3::UplinkSchedulerMBQoS, ns3::UplinkSchedulerRtps, and ns3::UplinkSchedulerSimple.
|
virtual |
Definition at line 170 of file bs-uplink-scheduler.cc.
References m_bs.
Referenced by ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), ns3::UplinkSchedulerSimple::UplinkSchedulerSimple(), ns3::UplinkSchedulerMBQoS::~UplinkSchedulerMBQoS(), ns3::UplinkSchedulerRtps::~UplinkSchedulerRtps(), and ns3::UplinkSchedulerSimple::~UplinkSchedulerSimple().
|
virtual |
Definition at line 129 of file bs-uplink-scheduler.cc.
References m_dcdTimeStamp.
Referenced by ns3::UplinkSchedulerSimple::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerRtps::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerMBQoS::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), and ns3::UplinkSchedulerSimple::UplinkSchedulerSimple().
|
virtual |
Definition at line 117 of file bs-uplink-scheduler.cc.
References m_isInvIrIntrvlAllocated.
Referenced by ns3::UplinkSchedulerSimple::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), and ns3::UplinkSchedulerSimple::UplinkSchedulerSimple().
|
virtual |
Definition at line 103 of file bs-uplink-scheduler.cc.
References m_isIrIntrvlAllocated.
Referenced by ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), and ns3::UplinkSchedulerSimple::UplinkSchedulerSimple().
|
virtual |
Definition at line 91 of file bs-uplink-scheduler.cc.
References m_nrIrOppsAllocated.
Referenced by ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), and ns3::UplinkSchedulerSimple::UplinkSchedulerSimple().
|
virtual |
Definition at line 159 of file bs-uplink-scheduler.cc.
References m_timeStampIrInterval.
Referenced by ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), and ns3::UplinkSchedulerSimple::UplinkSchedulerSimple().
|
virtual |
Definition at line 141 of file bs-uplink-scheduler.cc.
References m_ucdTimeStamp.
Referenced by ns3::UplinkSchedulerSimple::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerRtps::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerMBQoS::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), and ns3::UplinkSchedulerSimple::UplinkSchedulerSimple().
|
pure virtual |
Implemented in ns3::UplinkSchedulerRtps, ns3::UplinkSchedulerMBQoS, and ns3::UplinkSchedulerSimple.
|
private |
Definition at line 111 of file bs-uplink-scheduler.h.
Referenced by GetBs(), SetBs(), and ~UplinkScheduler().
|
private |
Definition at line 117 of file bs-uplink-scheduler.h.
Referenced by GetDcdTimeStamp(), and SetDcdTimeStamp().
|
private |
Definition at line 116 of file bs-uplink-scheduler.h.
Referenced by GetIsInvIrIntrvlAllocated(), and SetIsInvIrIntrvlAllocated().
|
private |
Definition at line 115 of file bs-uplink-scheduler.h.
Referenced by GetIsIrIntrvlAllocated(), and SetIsIrIntrvlAllocated().
|
private |
Definition at line 114 of file bs-uplink-scheduler.h.
Referenced by GetNrIrOppsAllocated(), and SetNrIrOppsAllocated().
|
private |
Definition at line 113 of file bs-uplink-scheduler.h.
Referenced by GetTimeStampIrInterval(), and SetTimeStampIrInterval().
|
private |
Definition at line 118 of file bs-uplink-scheduler.h.
Referenced by GetUcdTimeStamp(), and SetUcdTimeStamp().
|
private |
Definition at line 112 of file bs-uplink-scheduler.h.
Referenced by GetUplinkAllocations(), and ~UplinkScheduler().