![]() |
fpmas 1.6
|
#include <scheduler.h>
Public Member Functions | |
Job () | |
Job (std::initializer_list< std::reference_wrapper< api::scheduler::Task > > tasks) | |
Job (api::scheduler::Task &begin, std::initializer_list< std::reference_wrapper< api::scheduler::Task > > tasks) | |
Job (api::scheduler::Task &begin, std::initializer_list< std::reference_wrapper< api::scheduler::Task > > tasks, api::scheduler::Task &end) | |
Job (std::initializer_list< std::reference_wrapper< api::scheduler::Task > > tasks, api::scheduler::Task &end) | |
JID | id () const override |
void | add (api::scheduler::Task &) override |
void | remove (api::scheduler::Task &) override |
std::vector< api::scheduler::Task * > | tasks () const override |
TaskIterator | begin () const override |
TaskIterator | end () const override |
void | setBeginTask (api::scheduler::Task &) override |
void | setEndTask (api::scheduler::Task &) override |
api::scheduler::Task & | getBeginTask () const override |
api::scheduler::Task & | getEndTask () const override |
virtual JID | id () const =0 |
virtual void | add (Task &task)=0 |
virtual void | remove (Task &task)=0 |
virtual std::vector< Task * > | tasks () const =0 |
virtual TaskIterator | begin () const =0 |
virtual TaskIterator | end () const =0 |
virtual void | setBeginTask (Task &task)=0 |
virtual Task & | getBeginTask () const =0 |
virtual void | setEndTask (Task &task)=0 |
virtual Task & | getEndTask () const =0 |
Additional Inherited Members | |
![]() | |
typedef std::list< Task * >::const_iterator | TaskIterator |
api::scheduler::Job implementation.
|
inline |
Job constructor.
id | job id |
fpmas::scheduler::Job::Job | ( | std::initializer_list< std::reference_wrapper< api::scheduler::Task > > | tasks | ) |
Initializes a Job from the specified tasks.
tasks | initial tasks |
fpmas::scheduler::Job::Job | ( | api::scheduler::Task & | begin, |
std::initializer_list< std::reference_wrapper< api::scheduler::Task > > | tasks | ||
) |
Initializes a Job from the specified tasks.
begin | begin task |
tasks | initial tasks |
fpmas::scheduler::Job::Job | ( | api::scheduler::Task & | begin, |
std::initializer_list< std::reference_wrapper< api::scheduler::Task > > | tasks, | ||
api::scheduler::Task & | end | ||
) |
Initializes a Job from the specified tasks.
begin | begin task |
tasks | initial tasks |
end | end task |
fpmas::scheduler::Job::Job | ( | std::initializer_list< std::reference_wrapper< api::scheduler::Task > > | tasks, |
api::scheduler::Task & | end | ||
) |
Initializes a Job from the specified tasks.
tasks | initial tasks |
end | end task |
|
overridevirtual |
Job id.
Implements fpmas::api::scheduler::Job.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Returns a reference to the internal Tasks list.
Implements fpmas::api::scheduler::Job.
|
overridevirtual |
Returns a begin iterator to the job's tasks.
Implements fpmas::api::scheduler::Job.
|
overridevirtual |
Returns an end iterator to the job's tasks.
Implements fpmas::api::scheduler::Job.
|
overridevirtual |
Sets the begin task of the job.
This task is assumed to be executed before the regular and unordered task list.
task | begin task |
Implements fpmas::api::scheduler::Job.
|
overridevirtual |
Sets the end task of the job.
This task is assumed to be executed after the regular and unordered task list.
task | end task |
Implements fpmas::api::scheduler::Job.
|
overridevirtual |
Gets a reference to the begin task of this job.
Implements fpmas::api::scheduler::Job.
|
overridevirtual |
Gets a reference to the end task of this job.
Implements fpmas::api::scheduler::Job.