Lumiera  0.pre.03
»edit your freedom«
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 
45 #ifndef STEAM_FIXTURE_FIXTURE_H
46 #define STEAM_FIXTURE_FIXTURE_H
47 
52 #include "lib/nocopy.hpp"
53 
54 #include <memory>
55 #include <list>
56 
57 
58 using std::list;
59 using std::shared_ptr;
60 using std::unique_ptr;
61 
62 
63 
64 namespace steam {
65 namespace fixture {
66 
67  using mobject::session::Auto;
68  using mobject::ExplicitPlacement;
69 
70 
76  class Fixture
78  {
79  protected:
81  list<ExplicitPlacement> content_;
82  unique_ptr<Segmentation> partitioning_;
83 
85 
86  public:
88 
89  bool isValid() const;
90 
91  private:
92  virtual bool validate()
93  {
94  TODO ("how to validate a Fixture?");
95  return false;
96  }
97 
98  };
99 
101 
102 
103 
104 }} // namespace steam::fixture
105 #endif /*STEAM_FIXTURE_FIXTURE_H*/
Automation data for some parameter (i.e.
Definition: auto.hpp:47
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
Organisational grouping device within the Session model ("Track" / "Media Bin").
Steam-Layer implementation namespace root.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Auto< double > * getAutomation()
TODO: a placeholder for the Operation needed for wiring the Automation providers in the Build process...
Definition: fixture.cpp:43
Part of the Fixture datastructure to manage time segments of constant structure.
bool isValid() const
Definition: fixture.cpp:52