Lumiera  0.pre.03
»edityourfreedom«
fixture.hpp
Go to the documentation of this file.
1 /*
2  FIXTURE.hpp - the (low level) representation of the Session with explicit placement data
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 
43 #ifndef MOBJECT_SESSION_FIXTURE_H
44 #define MOBJECT_SESSION_FIXTURE_H
45 
50 #include "lib/nocopy.hpp"
51 
52 #include <memory>
53 #include <list>
54 
55 
56 using std::list;
57 using std::shared_ptr;
58 using std::unique_ptr;
59 
60 
61 
62 namespace proc {
63 namespace mobject {
64 namespace session {
65 
66 
67 
72  class Fixture
74  {
75  protected:
77  list<ExplicitPlacement> content_;
78  unique_ptr<Segmentation> partitioning_;
79 
81 
82  public:
83  list<ExplicitPlacement> & getPlaylistForRender () ;
85 
86  bool isValid() const;
87 
88  private:
89  virtual bool validate()
90  {
91  TODO ("how to validate a Fixture?");
92  return false;
93  }
94 
95  };
96 
97 
98 
100 
101 
102 
103 }}} // namespace proc::mobject::session
104 #endif
Core abstraction: completely resolved placement of an MObject Within the session model, all media objects are attached with the help of mobject::Placement elements.
Any copy and copy construction prohibited.
Definition: nocopy.hpp:46
list< ExplicitPlacement > & getPlaylistForRender()
Definition: fixture.cpp:41
Organisational grouping device within the Session model ("Track" / "Media Bin").
Auto< double > * getAutomation()
TODO: a placeholder for the Operation needed for wiring the Automation providers in the Build process...
Definition: fixture.cpp:51
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Namespace of Session and user visible high-level objects.
shared_ptr< Fixture > PFix
Definition: fixture.hpp:99
unique_ptr< Segmentation > partitioning_
Definition: fixture.hpp:78
list< ExplicitPlacement > content_
Definition: fixture.hpp:77
Part of the Fixture datastructure to manage time segments of constant structure.
Proc-Layer implementation namespace root.
Definition: id-scheme.hpp:63
Automation data for some parameter (i.e.
Definition: auto.hpp:47