Lumiera  0.pre.03
»edit your freedom«
render-invocation.cpp
Go to the documentation of this file.
1 /*
2  RenderInvocation - Interface for creating processing nodes of various kinds
3 
4  Copyright (C)
5  2008, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 * *****************************************************************/
13 
14 
25 
26 
27 using vault::gear::JobParameter;
28 
29 
30 namespace steam {
31 namespace engine {
32 
33  namespace { // Details...
34 
35  } // (END) Details...
36 
37 
38 // using mobject::Placement;
39 // using mobject::session::Effect;
40 
41 
42  string
43  RenderInvocation::diagnostic() const
44  {
45  return "TODO ... what can the ExitNode tell us here?";
46  }
47 
49  RenderInvocation::buildInstanceID (HashVal) const
50  {
51  return InvocationInstanceID();
52  }
53 
54  size_t
55  RenderInvocation::hashOfInstance (InvocationInstanceID invoKey) const
56  {
57  std::hash<size_t> hashr;
58  HashVal res = hashr (invoKey.frameNumber);
59  return res;
60  }
61 
62 
67  void
68  RenderInvocation::invokeJobOperation (JobParameter invoParam)
69  {
70  UNIMPLEMENTED ("how to »doIt«");
71 
72 #if false
73  return theNode_->pull(invocationState, channel);
74 #endif
75  }
76 
77 
78 }} // namespace engine
Primary class template for std::hash.
Steam-Layer implementation namespace root.
opaque ID attached to each individual job invocation.
Definition: job.h:103
size_t HashVal
a STL compatible hash value
Definition: hash-value.h:52
Initiate a single calculation unit within the renderengine.
THe actual state of a frame rendering evaluation parametrised for a single job.
void invokeJobOperation(vault::gear::JobParameter)