ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ns3::TaskScheduler Class Reference

maintains the list of active (eligible to run) taskes. More...

#include <task-scheduler.h>

+ Inheritance diagram for ns3::TaskScheduler:

Public Member Functions

virtual void Dequeue (struct Task *task)=0
virtual void DequeueNext (void)=0
virtual void Enqueue (struct Task *task)=0
virtual struct TaskPeekNext (void)=0

Static Public Member Functions

static TypeId GetTypeId (void)

Detailed Description

maintains the list of active (eligible to run) taskes.

Definition at line 32 of file task-scheduler.h.

Member Function Documentation

virtual void ns3::TaskScheduler::Dequeue ( struct Task task)
pure virtual

Implemented in ns3::RrTaskScheduler.

virtual void ns3::TaskScheduler::DequeueNext ( void  )
pure virtual

Remove the 'active' task most eligible to become the new 'current' task.

Implemented in ns3::RrTaskScheduler.

virtual void ns3::TaskScheduler::Enqueue ( struct Task task)
pure virtual
Parameters
taska task to add to the list of 'active' tasks.

Implemented in ns3::RrTaskScheduler.

TypeId ns3::TaskScheduler::GetTypeId ( void  )
static

Reimplemented in ns3::RrTaskScheduler.

Definition at line 27 of file task-scheduler.cc.

virtual struct Task* ns3::TaskScheduler::PeekNext ( void  )
readpure virtual
Returns
the task which will be removed by TaskScheduler::DequeueNext

Implemented in ns3::RrTaskScheduler.


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