Lumiera  0.pre.03
»edit your freedom«
fork.cpp
Go to the documentation of this file.
1 /*
2  Fork - A grouping device within the Session.
3 
4  Copyright (C)
5  2008, 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 
23 
24 
25 namespace steam {
26 namespace mobject {
27 namespace session {
28 
36  Fork::Fork (ForkID const& forkID)
37  : start_(Time::ZERO)
38  , id_(forkID)
39  {
40  throwIfInvalid();
41  }
42 
43 
44  bool
45  Fork::isValid() const
46  {
47  return bool(id_.isValid());
48  }
49 
50 
51 
52 }}} // namespace steam::mobject::session
Fork(ForkID const &)
create a new fork-MObject based on the given unique ID.
Definition: fork.cpp:36
Organisational grouping device within the Session model ("Track" / "Media Bin").
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:65
Lumiera&#39;s internal time value datatype.
Definition: timevalue.hpp:299
bool isValid() const
MObject self-test (usable for asserting)
Definition: fork.cpp:45