|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
26 #include "ns3/header.h"
221 int32_t leftBacklogged = left.
GetUlJob ()->GetServiceFlow ()->GetRecord ()->GetBacklogged ();
222 int32_t rightBacklogged = left.
GetUlJob ()->GetServiceFlow ()->GetRecord ()->GetBacklogged ();
223 if (leftBacklogged <= rightBacklogged)
250 if (left->GetPriority () < right->GetPriority ())
254 else if (left->GetPriority () == right->GetPriority ())
256 int32_t leftBacklogged = left->GetUlJob ()->GetServiceFlow ()->GetRecord ()->GetBacklogged ();
257 int32_t rightBacklogged = left->GetUlJob ()->GetServiceFlow ()->GetRecord ()->GetBacklogged ();
258 if (leftBacklogged <= rightBacklogged)
ServiceFlow * GetServiceFlow(void)
Get service flow.
SSRecord * m_ssRecord
Pointer to SSRecord.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
enum ServiceFlow::SchedulingType m_schedulingType
Scheduling type of flow.
void SetType(ReqType type)
Set type.
friend bool operator==(const UlJob &a, const UlJob &b)
equality operator
bool operator()(PriorityUlJob &left, PriorityUlJob &right) const
comparison operator
bool operator()(Ptr< PriorityUlJob > &left, Ptr< PriorityUlJob > &right) const
comparison operator
Ptr< UlJob > GetUlJob(void)
Get UL job functiion.
SortProcessPtr structure.
Smart pointer class similar to boost::intrusive_ptr.
SSRecord * GetSsRecord(void)
Get SS record.
uint32_t GetSize(void)
Get size.
A base class which provides memory management and object aggregation.
Time m_period
For periodic jobs.
uint32_t m_size
Number of minislots requested.
This class is used by the base station to store some information related to subscriber station in the...
void SetSize(uint32_t size)
Set size.
void SetPeriod(Time period)
Set period.
Time GetReleaseTime(void)
Get release time.
Time m_releaseTime
The time after which the job can be processed.
Simulation virtual time values and global simulation resolution.
this class implements a structure to compute the priority of service flows
Time m_deadline
Request should be satisfied by this time.
void SetPriority(int priority)
Set priority.
void SetSsRecord(SSRecord *ssRecord)
Set SS record.
ReqType
Request type enumeration.
ServiceFlow * m_serviceFlow
service flow
void SetUlJob(Ptr< UlJob > job)
Set UL job.
void SetServiceFlow(ServiceFlow *serviceFlow)
Set service flow.
ReqType m_type
Type of request, DATA or Unicast req slots.
int m_priority
the priority
SchedulingType
section 11.13.11 Service flow scheduling type, page 701
This class implements service flows as described by the IEEE-802.16 standard.
void SetReleaseTime(Time releaseTime)
Set release time.
Time GetDeadline(void)
Get deadline.
enum ServiceFlow::SchedulingType GetSchedulingType(void)
Get scheduling type.
Time GetPeriod(void)
Get period.
int GetPriority(void)
Get priority.
void SetSchedulingType(ServiceFlow::SchedulingType schedulingType)
Set scheduling type.
Ptr< UlJob > m_job
the job
void SetDeadline(Time deadline)
Set deadline.
JobPriority
Job priority enumeration.
ReqType GetType(void)
Get type.
PriorityUlJob()
this class implements an auxiliary struct to compute the priority of the rtPS and nrtPS in the interm...