TaskScheduler class. More...
#include <TaskScheduler.hpp>
Public Member Functions | |
void | addTask (shared_ptr< Task > t) |
Adds a Task to the TaskScheduler. t Task to be added to TaskScheduler. | |
shared_ptr< Task > | getNextTask () |
Getter for the next scheduled Task. | |
shared_ptr< Task > | peakNextTask () |
Peaker for the next scheduled Task. Returns the next task but doesn't remove it from the scheduler. | |
TaskScheduler () | |
Default constructor. |
TaskScheduler class.
Definition at line 61 of file TaskScheduler.hpp.
TaskScheduler::TaskScheduler | ( | ) |
Default constructor.
Definition at line 40 of file TaskScheduler.cpp.
void TaskScheduler::addTask | ( | shared_ptr< Task > | t | ) |
Adds a Task to the TaskScheduler. t Task to be added to TaskScheduler.
Definition at line 46 of file TaskScheduler.cpp.
shared_ptr< Task > TaskScheduler::getNextTask | ( | ) |
Getter for the next scheduled Task.
Definition at line 51 of file TaskScheduler.cpp.
shared_ptr< Task > TaskScheduler::peakNextTask | ( | ) |
Peaker for the next scheduled Task. Returns the next task but doesn't remove it from the scheduler.
Definition at line 63 of file TaskScheduler.cpp.