Lumiera  0.pre.03
»edit your freedom«
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 "steam/streamtype.hpp"
42 
43 
44 namespace steam {
45 namespace engine {
46  namespace error = lumiera::error;
47 
48  using lib::HashVal;
49 
50  class BuffHandle;
51  class BufferProvider;
52  class BufferDescriptor;
53 
54 
55 
56  class ProcNode;
57  typedef ProcNode* PNode;
58 
59 
61  {
62  const lumiera::StreamType * bufferType;
63  };
64 
66  {
67  PNode dataSrc;
68  uint srcChannel;
69  };
70 
71 
72 
73 }} // namespace steam::engine
74 #endif
Framework for classification of media streams.
Steam-Layer implementation namespace root.
Lumiera error handling (C++ interface).
Hash value types and utilities.
PNode dataSrc
the ProcNode to pull this input from
size_t HashVal
a STL compatible hash value
Definition: hash-value.h:56
uint srcChannel
output channel to use on the predecessor node