Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
channel-descriptor.hpp
Go to the documentation of this file.
1 /*
2  CHANNEL-DESCRIPTOR.hpp - Channel / Buffer type representation for the engine
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 
35 #ifndef ENGINE_CHANNEL_DESCRIPTOR_H
36 #define ENGINE_CHANNEL_DESCRIPTOR_H
37 
38 
39 #include "lib/error.hpp"
40 #include "lib/hash-value.h"
41 #include "proc/streamtype.hpp"
42 
43 
44 namespace proc {
45 namespace engine {
46 
47  namespace error = lumiera::error;
48  using error::LERR_(LIFECYCLE);
49 
50  using lib::HashVal;
51 
52  class BuffHandle;
53  class BufferProvider;
54  class BufferDescriptor;
55 
56 
57 
58  class ProcNode;
59  typedef ProcNode* PNode;
60 
61 
63  {
65  };
66 
68  {
69  PNode dataSrc;
70  uint srcChannel;
71  };
72 
73 
74 
75 }} // namespace proc::engine
76 #endif
Framework for classification of media streams.
uint srcChannel
output channel to use on the predecessor node
PNode dataSrc
the ProcNode to pull this input from
#define LERR_(_NAME_)
Definition: error.hpp:58
const lumiera::StreamType * bufferType
Lumiera error handling (C++ interface).
Hash value types and utilities.
size_t HashVal
a STL compatible hash value
Definition: hash-value.h:56
Proc-Layer implementation namespace root.
Definition: id-scheme.hpp:63
Key abstraction of the Render Engine: A Data processing Node.
Definition: procnode.hpp:135