fill in the definition how a job can be created

This commit is contained in:
Fischlurch 2013-08-17 01:35:07 +02:00
parent 2488478a12
commit d192c42faa

View file

@ -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