Lumiera  0.pre.03
»edit your freedom«
node-factory.cpp
Go to the documentation of this file.
1 /*
2  NodeFactory - Service 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 
28 
29 //#include "steam/engine/nodewiring-obsolete.hpp"
30 
31 namespace steam {
32 namespace engine {
33 
35  ExitNode ExitNode::NIL{};
36 
37 
38  namespace { // Details of node fabrication
39 
41 
42  } // (END) Details of node fabrication
43 
44 
45  using mobject::Placement;
47 
48 
53 #if false
54  PNode
55  NodeFactory::operator() (Placement<Effect> const& effect, WiringSituation& intendedWiring)
56  {
57  intendedWiring.resolveProcessor(effect->getProcAsset());
58  Connectivity& wiring = wiringFac_(intendedWiring);
59 
60  ProcNode& newNode = alloc_.create<ProcNode> (wiring);
61  ENSURE (newNode.isValid());
62  return &newNode;
63  }
64  UNIMPLEMENTED ("Node Factory for reworked Render Node Connectivity");
65 #endif
66 
67 
68 }} // namespace engine
A refcounting Handle to an MObject of type MO, used to constrain or explicitly specify the location w...
Definition: trait.hpp:82
Memory management for the low-level model (render nodes network).
Effective top-level exit point to pull rendered data from the nodes network.
Steam-Layer implementation namespace root.
A factory to build processing nodes.
WiringSituation & resolveProcessor(asset::Proc const &procAsset)
trigger resolving of the actual processing function
Interface: Description of the input and output ports, processing function and predecessor nodes for a...
Key abstraction of the Render Engine: A Data processing Node.
Definition: proc-node.hpp:154
static ExitNode NIL
storage for the »inactive« ExitNode marker
Definition: exit-node.hpp:94
Finding out about a concrete way of wiring up a ProcNode about to be built.