Lumiera  0.pre.03
»edit your freedom«
nodefactory.hpp
Go to the documentation of this file.
1 /*
2  NODEFACTORY.hpp - Service for creating processing nodes of various kinds
3 
4  Copyright (C) Lumiera.org
5  2008, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
23 
32 #ifndef ENGINE_NODEFACTORY_H
33 #define ENGINE_NODEFACTORY_H
34 
38 
39 
41 
42 namespace lib { class AllocationCluster; }
43 
44 namespace steam {
45 namespace mobject {
46 namespace session {
47 
48  class Clip;
49  class Effect;
50  typedef Placement<Effect> PEffect;
51  // TODO: class Transition;
52 
53 }} // namespace mobject::session
54 
55 
56 namespace engine {
57 
58  using std::vector;
60 
62  class Trafo;
63  typedef Trafo* PTrafo;
64 
65  class WiringSituation;
66 
67 
72  {
73  AllocationCluster& alloc_;
74  WiringFactory wiringFac_;
75 
76  public:
78  : alloc_(a)
79  , wiringFac_(alloc_)
80  { }
81 
82 
83  PNode operator() (mobject::session::PEffect const&, WiringSituation&);
84 
85  };
86 
87 }} // namespace steam::engine
88 #endif
A refcounting Handle to an MObject of type MO, used to constrain or explicitly specify the location w...
Definition: trait.hpp:91
Interface to the processing nodes and the render nodes network.
Core abstraction: placement of a media object into session context.
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:74
Implementation namespace for support and library code.
Create processing nodes based on given objects of the high-level model.
Definition: nodefactory.hpp:71
Mechanism to wire ProcNode instances for a render network.
A pile of objects sharing common allocation and lifecycle.
Key abstraction of the Render Engine: A Data processing Node.
Definition: procnode.hpp:135
Trafo * PTrafo
Definition: nodefactory.hpp:62
Finding out about a concrete way of wiring up a ProcNode about to be built.