A Discrete-Event Network Simulator
API
ns3::UlJob Class Reference

this class implements a structure to compute the priority of service flows More...

#include "ul-job.h"

+ Inheritance diagram for ns3::UlJob:
+ Collaboration diagram for ns3::UlJob:

Public Types

enum  JobPriority { LOW, INTERMEDIATE, HIGH }
 

Public Member Functions

 UlJob (void)
 
virtual ~UlJob (void)
 
Time GetDeadline (void)
 
Time GetPeriod (void)
 
Time GetReleaseTime (void)
 
enum ServiceFlow::SchedulingType GetSchedulingType (void)
 
ServiceFlowGetServiceFlow (void)
 
uint32_t GetSize (void)
 
SSRecordGetSsRecord (void)
 
ReqType GetType (void)
 
void SetDeadline (Time deadline)
 
void SetPeriod (Time period)
 
void SetReleaseTime (Time releaseTime)
 
void SetSchedulingType (ServiceFlow::SchedulingType schedulingType)
 
void SetServiceFlow (ServiceFlow *serviceFlow)
 
void SetSize (uint32_t size)
 
void SetSsRecord (SSRecord *ssRecord)
 
void SetType (ReqType type)
 
- Public Member Functions inherited from ns3::Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
 Destructor. More...
 
void AggregateObject (Ptr< Object > other)
 Aggregate two Objects together. More...
 
void Dispose (void)
 Dispose of this Object. More...
 
AggregateIterator GetAggregateIterator (void) const
 Get an iterator to the Objects aggregated to this one. More...
 
virtual TypeId GetInstanceTypeId (void) const
 Implement the GetInstanceTypeId method defined in ObjectBase. More...
 
template<typename T >
Ptr< T > GetObject (void) const
 Get a pointer to the requested aggregated Object. More...
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 Get a pointer to the requested aggregated Object by TypeId. More...
 
void Initialize (void)
 Invoke DoInitialize on all Objects aggregated to this one. More...
 
bool IsInitialized (void) const
 Check if the object has been initialized. More...
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 Constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 Virtual destructor. More...
 
void GetAttribute (std::string name, AttributeValue &value) const
 Get the value of an attribute, raising fatal errors if unsuccessful. More...
 
bool GetAttributeFailSafe (std::string name, AttributeValue &value) const
 Get the value of an attribute without raising erros. More...
 
void SetAttribute (std::string name, const AttributeValue &value)
 Set a single attribute, raising fatal errors if unsuccessful. More...
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 Set a single attribute without raising errors. More...
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 Connect a TraceSource to a Callback with a context. More...
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 Connect a TraceSource to a Callback without a context. More...
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected with a context. More...
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected without a context. More...
 

Private Attributes

Time m_deadline
 
uint8_t m_flag
 
int m_jitterSamples
 
double m_last_jitterCalTime
 
Time m_period
 
Time m_releaseTime
 
uint8_t m_retryCount
 
enum ServiceFlow::SchedulingType m_schedulingType
 
ServiceFlowm_serviceFlow
 
uint32_t m_size
 
SSRecordm_ssRecord
 
ReqType m_type
 
double m_ugsJitter
 

Friends

bool operator== (const UlJob &a, const UlJob &b)
 

Additional Inherited Members

- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId (void)
 Register this type. More...
 
- Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
static void Cleanup (void)
 Noop. More...
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId (void)
 Get the type ID. More...
 
- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 Copy an Object. More...
 
virtual void DoDispose (void)
 Destructor implementation. More...
 
virtual void DoInitialize (void)
 Initialize() implementation. More...
 
virtual void NotifyNewAggregate (void)
 Notify all Objects aggregated to this one of a new Object being aggregated. More...
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 Complete construction of ObjectBase; invoked by derived classes. More...
 
virtual void NotifyConstructionCompleted (void)
 Notifier called once the ObjectBase is fully constructed. More...
 

Detailed Description

this class implements a structure to compute the priority of service flows

Definition at line 45 of file ul-job.h.

Constructor & Destructor Documentation

ns3::UlJob::UlJob ( void  )

Definition at line 27 of file ul-job.cc.

ns3::UlJob::~UlJob ( void  )
virtual

Definition at line 31 of file ul-job.cc.

Member Function Documentation

Time ns3::UlJob::GetDeadline ( void  )

Definition at line 106 of file ul-job.cc.

References m_deadline.

Time ns3::UlJob::GetPeriod ( void  )

Definition at line 95 of file ul-job.cc.

References m_period.

Time ns3::UlJob::GetReleaseTime ( void  )

Definition at line 83 of file ul-job.cc.

References m_releaseTime.

enum ServiceFlow::SchedulingType ns3::UlJob::GetSchedulingType ( void  )

Definition at line 47 of file ul-job.cc.

References m_schedulingType.

ServiceFlow * ns3::UlJob::GetServiceFlow ( void  )

Definition at line 71 of file ul-job.cc.

References m_serviceFlow.

Referenced by ns3::operator==().

+ Here is the caller graph for this function:

uint32_t ns3::UlJob::GetSize ( void  )

Definition at line 117 of file ul-job.cc.

References m_size.

SSRecord * ns3::UlJob::GetSsRecord ( void  )

Definition at line 36 of file ul-job.cc.

References m_ssRecord.

Referenced by ns3::operator==().

+ Here is the caller graph for this function:

ReqType ns3::UlJob::GetType ( void  )

Definition at line 59 of file ul-job.cc.

References m_type.

void ns3::UlJob::SetDeadline ( Time  deadline)

Definition at line 111 of file ul-job.cc.

References m_deadline.

void ns3::UlJob::SetPeriod ( Time  period)

Definition at line 100 of file ul-job.cc.

References m_period.

void ns3::UlJob::SetReleaseTime ( Time  releaseTime)

Definition at line 89 of file ul-job.cc.

References m_releaseTime.

void ns3::UlJob::SetSchedulingType ( ServiceFlow::SchedulingType  schedulingType)

Definition at line 53 of file ul-job.cc.

References m_schedulingType.

void ns3::UlJob::SetServiceFlow ( ServiceFlow serviceFlow)

Definition at line 77 of file ul-job.cc.

References m_serviceFlow.

void ns3::UlJob::SetSize ( uint32_t  size)

Definition at line 123 of file ul-job.cc.

References m_size.

void ns3::UlJob::SetSsRecord ( SSRecord ssRecord)

Definition at line 41 of file ul-job.cc.

References m_ssRecord.

void ns3::UlJob::SetType ( ReqType  type)

Definition at line 65 of file ul-job.cc.

References m_type.

Friends And Related Function Documentation

bool operator== ( const UlJob a,
const UlJob b 
)
friend

Definition at line 128 of file ul-job.cc.

Member Data Documentation

Time ns3::UlJob::m_deadline
private

Definition at line 83 of file ul-job.h.

Referenced by GetDeadline(), and SetDeadline().

uint8_t ns3::UlJob::m_flag
private

Definition at line 87 of file ul-job.h.

int ns3::UlJob::m_jitterSamples
private

Definition at line 90 of file ul-job.h.

double ns3::UlJob::m_last_jitterCalTime
private

Definition at line 91 of file ul-job.h.

Time ns3::UlJob::m_period
private

Definition at line 82 of file ul-job.h.

Referenced by GetPeriod(), and SetPeriod().

Time ns3::UlJob::m_releaseTime
private

Definition at line 81 of file ul-job.h.

Referenced by GetReleaseTime(), and SetReleaseTime().

uint8_t ns3::UlJob::m_retryCount
private

Definition at line 88 of file ul-job.h.

enum ServiceFlow::SchedulingType ns3::UlJob::m_schedulingType
private

Definition at line 85 of file ul-job.h.

Referenced by GetSchedulingType(), and SetSchedulingType().

ServiceFlow* ns3::UlJob::m_serviceFlow
private

Definition at line 96 of file ul-job.h.

Referenced by GetServiceFlow(), and SetServiceFlow().

uint32_t ns3::UlJob::m_size
private

Definition at line 84 of file ul-job.h.

Referenced by GetSize(), and SetSize().

SSRecord* ns3::UlJob::m_ssRecord
private

Definition at line 93 of file ul-job.h.

Referenced by GetSsRecord(), and SetSsRecord().

ReqType ns3::UlJob::m_type
private

Definition at line 95 of file ul-job.h.

Referenced by GetType(), and SetType().

double ns3::UlJob::m_ugsJitter
private

Definition at line 89 of file ul-job.h.


The documentation for this class was generated from the following files: