fpmas 1.6
runtime.h
Go to the documentation of this file.
1#ifndef FPMAS_RUNTIME_API_H
2#define FPMAS_RUNTIME_API_H
3
9
10namespace fpmas { namespace api { namespace runtime {
12
18 class Runtime {
19 public:
33 virtual void run(Date start, Date end) = 0;
46 virtual void run(Date end) = 0;
47
56 virtual void execute(const scheduler::Job& job) = 0;
57
64 virtual void execute(const scheduler::JobList& job_list) = 0;
65
73 virtual Date currentDate() const = 0;
74
81 virtual void setCurrentDate(Date date) = 0;
82
83 virtual ~Runtime() {}
84 };
85}}}
86#endif
Definition: runtime.h:18
virtual void run(Date end)=0
virtual void execute(const scheduler::JobList &job_list)=0
virtual void setCurrentDate(Date date)=0
virtual Date currentDate() const =0
virtual void execute(const scheduler::Job &job)=0
virtual void run(Date start, Date end)=0
Definition: scheduler.h:135
float Date
Definition: scheduler.h:24
std::vector< std::reference_wrapper< const Job > > JobList
Definition: scheduler.h:215
Definition: fpmas.cpp:3