26 #include "ns3/header.h"
122 struct SortProcess :
public std::binary_function<PriorityUlJob*, PriorityUlJob*, bool>
132 int32_t leftBacklogged = left.
GetUlJob ()->GetServiceFlow ()->GetRecord ()->GetBacklogged ();
133 int32_t rightBacklogged = left.
GetUlJob ()->GetServiceFlow ()->GetRecord ()->GetBacklogged ();
134 if (leftBacklogged <= rightBacklogged)
150 struct SortProcessPtr:
public std::binary_function< Ptr<PriorityUlJob>, Ptr<PriorityUlJob>, bool>
154 if (left->GetPriority () < right->GetPriority ())
158 else if (left->GetPriority () == right->GetPriority ())
160 int32_t leftBacklogged = left->GetUlJob ()->GetServiceFlow ()->GetRecord ()->GetBacklogged ();
161 int32_t rightBacklogged = left->GetUlJob ()->GetServiceFlow ()->GetRecord ()->GetBacklogged ();
162 if (leftBacklogged <= rightBacklogged)
bool operator()(Ptr< PriorityUlJob > &left, Ptr< PriorityUlJob > &right) const
keep track of time values and allow control of global simulation resolution
smart pointer class similar to boost::intrusive_ptr
void SetDeadline(Time deadline)
void SetSize(uint32_t size)
this class implements a structure to compute the priority of service flows
Ptr< UlJob > GetUlJob(void)
void SetReleaseTime(Time releaseTime)
void SetPeriod(Time period)
enum ServiceFlow::SchedulingType m_schedulingType
Time GetReleaseTime(void)
friend bool operator==(const UlJob &a, const UlJob &b)
void SetSsRecord(SSRecord *ssRecord)
bool operator()(PriorityUlJob &left, PriorityUlJob &right) const
void SetPriority(int priority)
SSRecord * GetSsRecord(void)
void SetServiceFlow(ServiceFlow *serviceFlow)
This class implements service flows as described by the IEEE-802.16 standard.
void SetUlJob(Ptr< UlJob > job)
void SetSchedulingType(ServiceFlow::SchedulingType schedulingType)
ServiceFlow * GetServiceFlow(void)
PriorityUlJob()
this class implements an auxiliar struct to compute the priority of the rtPS and nrtPS in the interme...
ServiceFlow * m_serviceFlow
This class is used by the base station to store some information related to subscriber station in the...
a base class which provides memory management and object aggregation
enum ServiceFlow::SchedulingType GetSchedulingType(void)
double m_last_jitterCalTime
void SetType(ReqType type)