Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
steam/mobject/session/binding.cpp
Go to the documentation of this file.
1/*
2 Binding - link to use a sequence within the session
3
4 Copyright (C)
5 2009, Hermann Vosseler <Ichthyostega@web.de>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12* *****************************************************************/
13
14
24
25namespace steam {
26namespace mobject {
27namespace session {
28
30 Binding::Binding (PSequence const& sequence_to_bind)
31 : boundSequence_(sequence_to_bind)
32 {
34 TODO ("what additionally to do when binding a sequence??");
35 }
36
37
38 bool
40 {
41 TODO ("self-check of a binding within the model");
42 return true;
43 // Ideas: - compare the bound sequence's channels with this binding's channel configuration
44 // - verify the virtual media, unless this biding is creating a top-level timeline
45 // - verify the bound sequence is based on a fork within the model
46 }
47
48
49
50
51}}} // namespace steam::mobject::session
Binding(PSequence const &sequence_to_bind)
bool isValid() const
MObject self-test (usable for asserting)
Namespace of Session and user visible high-level objects.
Definition sequence.hpp:65
Steam-Layer implementation namespace root.
Structural building block of the session: a sequence of clips.
MObject in session to represent the top-level binding of a sequence.