From 97ee7a95eaf3d5b920d7f9db66be6d5366467620 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Thu, 16 Oct 2008 05:07:12 +0200 Subject: [PATCH] WIP try to get grip at the actual node creation... determining the right context for node creation to happen --- src/proc/engine/buffhandle.hpp | 2 ++ src/proc/engine/nodewiring.cpp | 4 +++- src/proc/engine/nodewiring.hpp | 6 +++++- src/proc/mobject/builder/conmanager.hpp | 2 +- src/proc/mobject/builder/mould.hpp | 2 +- wiki/renderengine.html | 20 ++++++++++++-------- 6 files changed, 24 insertions(+), 12 deletions(-) diff --git a/src/proc/engine/buffhandle.hpp b/src/proc/engine/buffhandle.hpp index d078bc7f1..afe3470be 100644 --- a/src/proc/engine/buffhandle.hpp +++ b/src/proc/engine/buffhandle.hpp @@ -101,5 +101,7 @@ namespace engine { }; + //////TODO: invent an input/output description pattern, which can be passed to the wiring factory + } // namespace engine #endif diff --git a/src/proc/engine/nodewiring.cpp b/src/proc/engine/nodewiring.cpp index ca6f1c622..864905a22 100644 --- a/src/proc/engine/nodewiring.cpp +++ b/src/proc/engine/nodewiring.cpp @@ -124,8 +124,10 @@ namespace engine { UNIMPLEMENTED ("build the actual wiring descriptor based on given operation options"); // Bits config (FlagInfo::CODE); - size_t config = 13; /////////////////////////////////////////TODO // return pImpl_->selector[config](); + //// + /////TODO: change the FunctionType to take an "input/output description pattern" + /////TODO: invent such a pattern ---> buffhandle.hpp } diff --git a/src/proc/engine/nodewiring.hpp b/src/proc/engine/nodewiring.hpp index 2733073de..b6090d6e3 100644 --- a/src/proc/engine/nodewiring.hpp +++ b/src/proc/engine/nodewiring.hpp @@ -53,7 +53,7 @@ namespace engine { class NodeWiring : public WiringDescriptor { - const uint siz_; + const uint siz_;////////////////////////////////////TODO: this can't work! input/output desciptors are really different const uint nrO_; friend class WiringFactory; @@ -71,6 +71,10 @@ namespace engine { return thisStep.retrieve (); // fetch or calculate results } + + ////// + //////TODO: push "almost everything" up into an ABC + ////////// and create an ctor to set up the RefArrays }; diff --git a/src/proc/mobject/builder/conmanager.hpp b/src/proc/mobject/builder/conmanager.hpp index 1f3eb23b8..c992cbf59 100644 --- a/src/proc/mobject/builder/conmanager.hpp +++ b/src/proc/mobject/builder/conmanager.hpp @@ -34,7 +34,7 @@ namespace mobject { * Connection Manager: used to build the connections between render engine nodes * if these nodes need to cooperate besides the normal "data pull" operation. * Esp. the Connection Manager knows how to wire up the effect's parameters - * with the corresponding ParamProviders (autmation) in the Session. + * with the corresponding ParamProviders (automation) in the Session. * Questions regarding the possibility of a media stream connection are * delegated internally to the STypeManager. * \par diff --git a/src/proc/mobject/builder/mould.hpp b/src/proc/mobject/builder/mould.hpp index be29f2b21..425e76b30 100644 --- a/src/proc/mobject/builder/mould.hpp +++ b/src/proc/mobject/builder/mould.hpp @@ -44,7 +44,7 @@ namespace mobject { * the application/execution of a single building step. Mould is * conceived as the passive part, while usually the ProcPatt plays * the role of the active counterpart. By means of the Mould interface, - * the specifics of a build situation are abstracted away, thus allowing + * the specifics of a build situation are abstracted away, thus allowing * the processing pattern to be defined as working on symbolic locations. * Most commonly this is "current", denoting the render node just being built. *