Lumiera  0.pre.03
»edit your freedom«
operationpoint.hpp
Go to the documentation of this file.
1 /*
2  OPERATIONPOINT.hpp - abstraction representing the point where to apply a build instruction
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 
36 #ifndef MOBJECT_BUILDER_OPERATIONPOINT_H
37 #define MOBJECT_BUILDER_OPERATIONPOINT_H
38 
39 //#include "steam/engine/procnode.hpp" /////TODO can we get rid of this header here?
40 //#include "common/query.hpp"
41 #include "lib/hash-standard.hpp"
42 
43 #include <memory>
44 #include <vector>
45 #include <string>
46 
47 
48 namespace steam {
49 
50 namespace asset { class Proc; }
51 namespace asset { class Media; }
52 namespace engine { class NodeFactory; }
53 
54 namespace mobject {
55 namespace builder {
56 
57  using std::vector;
58  using std::string;
59 
60  struct RefPoint;
61 
70  {
71  std::unique_ptr<RefPoint> refPoint_;
72 
73  public:
75  OperationPoint (RefPoint const& sourcePoint);
76 
77 
78 
83  void attach (asset::Proc const&);
84 
89  void join (OperationPoint& target);
90  };
91 
92 
93 
94 }}} // namespace steam::mobject::builder
95 #endif /*MOBJECT_BUILDER_OPERATIONPOINT_H*/
key abstraction: media-like assets
Definition: media.hpp:72
Steam-Layer implementation namespace root.
Create processing nodes based on given objects of the high-level model.
Definition: nodefactory.hpp:71
A point in the render node network under construction.
key abstraction: data processing asset
Definition: proc.hpp:72
Helper to use a single extension point for specialised hash functions.
Proc
Result instruction from Activity activation.
Definition: activity.hpp:149
The asset subsystem of the Steam-Layer.
Definition: wrapperptr.hpp:44