00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef ENGINE_NODEFACTORY_H
00025 #define ENGINE_NODEFACTORY_H
00026
00027 #include "proc/engine/procnode.hpp"
00028 #include "proc/mobject/placement.hpp"
00029 #include "proc/engine/nodewiring.hpp"
00030
00031
00033
00034 namespace lib { class AllocationCluster; }
00035
00036 namespace mobject {
00037 namespace session {
00038
00039 class Clip;
00040 class Effect;
00041 typedef Placement<Effect> PEffect;
00042
00043
00044 }}
00045
00046
00047 namespace engine {
00048
00049 using std::vector;
00050 using lib::AllocationCluster;
00051
00053 class Trafo;
00054 typedef Trafo* PTrafo;
00055
00056 class WiringSituation;
00057
00058
00062 class NodeFactory
00063 {
00064 AllocationCluster& alloc_;
00065 WiringFactory wiringFac_;
00066
00067 public:
00068 NodeFactory (AllocationCluster& a)
00069 : alloc_(a)
00070 , wiringFac_(alloc_)
00071 { }
00072
00073
00074 PNode operator() (mobject::session::PEffect const&, WiringSituation&);
00075
00076 };
00077
00078 }
00079 #endif