Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
sequence.cpp
Go to the documentation of this file.
1/*
2 Sequence - Compound of MObjects placed within a tree of tracks. Building block of 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
21//#include "steam/mobject/session/fork.hpp"
23//#include "steam/mobject/placement.hpp"
24//#include "steam/mobject/session/mobjectfactory.hpp"
25
26namespace steam {
27namespace asset {
28
30
31
34 : Struct (idi)
35 { }
36
37
40 {
41 REQUIRE (getRegistry, "can't create a Sequence prior to session initialisation");
42
43 PSequence newSeq (AssetManager::instance().wrap (*new Sequence (idi)));
44 getRegistry().append (newSeq);
45
46 ENSURE (newSeq);
47 ENSURE (getRegistry().isRegistered (*newSeq));
48 return newSeq;
49 }
50
51
52 void
54 {
56 TODO ("purge attached fork");
58 }
59
60
61
62}} // namespace asset
Steam-Layer Interface: Asset Lookup and Organisation.
Helper mixin template for implementing a type intended to participate in automatic element tracking.
static RegistryLink getRegistry
storage for the functor to link an AutoRegistered entity to the corresponding registration service
static PTarget create()
factory for creating smart-ptr managed TAR instances, automatically registered with the element-track...
void detach()
detach this element from the element-tracking registry.
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
Definition p.hpp:77
static lib::Depend< AssetManager > instance
get at the system-wide asset manager instance.
virtual void unlink()
release all links to other Asset objects held internally.
Definition asset.cpp:164
TODO type comment.
Definition sequence.hpp:86
Sequence(Ident const &)
create an empty default configured Sequence
Definition sequence.cpp:33
virtual void unlink()
release all links to other Asset objects held internally.
Definition sequence.cpp:53
key abstraction: structural asset Created automatically as a sideeffect of building the structure of ...
Definition struct.hpp:105
The asset subsystem of the Steam-Layer.
Steam-Layer implementation namespace root.
Structural building block of the session: a sequence of clips.
a POD comprised of all the information sufficiently identifying any given Asset.
Definition asset.hpp:147