From d192c42faa181370fc4b33faafaef97f717977e1 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 17 Aug 2013 01:35:07 +0200 Subject: [PATCH] fill in the definition how a job can be created --- src/proc/engine/job.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/proc/engine/job.hpp b/src/proc/engine/job.hpp index 2070933ba..d55ff9fca 100644 --- a/src/proc/engine/job.hpp +++ b/src/proc/engine/job.hpp @@ -132,6 +132,8 @@ namespace engine { typedef lumiera_jobParameter const& JobParameter; + class JobClosure; + /** * Individual frame rendering task, forwarding to a closure. @@ -154,9 +156,12 @@ namespace engine { public: - Job() + Job (JobClosure& specificJobDefinition + ,InvocationInstanceID invoKey + ,Time nominalFrameTime) { - UNIMPLEMENTED ("job creation, planning and scheduling"); + this->jobClosure = &specificJobDefinition; + this->parameter = {_raw(nominalFrameTime), invoKey }; } // using standard copy operations @@ -199,6 +204,7 @@ namespace engine { */ class JobClosure : public lumiera_jobClosure + , boost::noncopyable // ....has distinct identity and stable address { public: virtual ~JobClosure(); ///< this is an interface