2 #ifndef __SCHEDULER_HXX__
3 #define __SCHEDULER_HXX__
5 #include "DeploymentTree.hxx"
20 virtual void init(bool start=true) = 0;
21 virtual bool isFinished() = 0;
22 virtual void exUpdateState() = 0;
23 virtual std::string getName() const = 0;
24 virtual std::string getTaskName(Task *task) const = 0;
25 virtual std::vector<Task *> getNextTasks(bool& isMore) = 0;
26 virtual void selectRunnableTasks(std::vector<Task *>& tasks) = 0;
27 virtual void notifyFrom(const Task *sender, YACS::Event event) = 0;
29 virtual DeploymentTree getDeploymentTree() const = 0;
30 virtual bool isPlacementPredictableB4Run() const = 0;
31 virtual bool isMultiplicitySpecified(unsigned& value) const = 0;
32 virtual void forceMultiplicity(unsigned value) = 0;