Lumiera  0.pre.03
»edit your freedom«
sequence.hpp
Go to the documentation of this file.
1 /*
2  SEQUENCE.hpp - Compound of MObjects placed within a tree of tracks. Building block of the Session
3 
4  Copyright (C) Lumiera.org
5  2009, 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 
55 #ifndef ASSET_SEQUENCE_H
56 #define ASSET_SEQUENCE_H
57 
58 
59 #include "steam/asset/struct.hpp"
60 //#include "steam/mobject/mobject.hpp"
61 //#include "steam/mobject/placement.hpp"
63 #include "lib/p.hpp"
64 #include "lib/element-tracker.hpp"
65 
66 //#include <vector>
67 //#include <string>
68 
69 //using std::vector;
70 //using std::string;
71 
72 namespace steam {
73 namespace mobject {
74 namespace session {
75 
76  class Fork;
77  typedef MORef<Fork> RFork;
78 }}
79 
80 
81 namespace asset {
82 
83 
84  class Sequence;
85  typedef lib::P<Sequence> PSequence;
86 
87 
88 
92  class Sequence
93  : public Struct
94  , public lib::AutoRegistered<Sequence>
95  {
97 
98  Sequence (Ident const&);
99 
100  public:
102  static PSequence create (Asset::Ident const& idi);
103 
104  protected:
105  virtual void unlink ();
106 
107  };
108 
109 
110 
112 
113 
114 }} // namespace steam::asset
115 #endif
An active (smart-ptr like) external reference to a specifically placed MObject "instance" within the ...
Definition: mobject-ref.hpp:94
TODO type comment.
Definition: sequence.hpp:92
Customised refcounting smart pointer.
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:74
Helper mixin template for implementing a type intended to participate in automatic element tracking...
External MObject/Placement reference.
a POD comprised of all the information sufficiently identifying any given Asset.
Definition: asset.hpp:158
A Fork serves as grouping device within the Session.
Definition: fork.hpp:103
Tracking instances automatically on creation and disposal.
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
Definition: trait.hpp:80
key abstraction: structural asset Created automatically as a sideeffect of building the structure of ...
Definition: struct.hpp:113
The asset subsystem of the Steam-Layer.
Definition: wrapperptr.hpp:44
Asset representation of structural elements within the model.