Lumiera  0.pre.03
»edityourfreedom«
compoundmedia.hpp
Go to the documentation of this file.
1 /*
2  COMPOUNDMEDIA.hpp - multichannel media
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 
31 #ifndef ASSET_COMPOUNDMEDIA_H
32 #define ASSET_COMPOUNDMEDIA_H
33 
34 #include "proc/asset/media.hpp"
35 
36 #include <vector>
37 
38 using std::vector;
39 
40 
41 
42 namespace proc {
43 namespace asset {
44 
45 
50  class CompoundMedia : public Media
51  {
52  protected:
54  vector<Media *> tracks; // TODO: shouldn't we use shared_ptr here???
55 
56  };
57 
58 
59 
60 }} // namespace proc::asset
61 #endif
Media data represented a specific kind of Asset.
The asset subsystem of the Proc-Layer.
Definition: id-scheme.hpp:64
vector< Media * > tracks
elementary media assets comprising this compound
Proc-Layer implementation namespace root.
Definition: id-scheme.hpp:63
key abstraction: media-like assets
Definition: media.hpp:72
compound of several elementary media tracks, e.g.