Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
mobject/session/clip.hpp
Go to the documentation of this file.
1/*
2 CLIP.hpp - a Media Clip
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
22#ifndef STEAM_MOBJECT_SESSION_CLIP_H
23#define STEAM_MOBJECT_SESSION_CLIP_H
24
27#include "lib/p.hpp"
28
29
30namespace steam {
31namespace asset {
32 class Media;
33 class Clip;
34}
35
36namespace mobject {
37namespace session {
38
39 using asset::Media;
41
42 class Clip;
43
46
48
49
62 class Clip
63 : public AbstractMO
64 {
65 string
67 {
68 return buildShortID("Clip");
69 }
70
71 void setupLength();
72
73
74
75 protected:
78
88
89 Clip (const asset::Clip&, const Media&);
90 friend class MObjectFactory;
91
92
93 public:
94 bool isValid() const;
95
97 PMedia getMedia () const;
98
103 PClipAsset findClipAsset () const;
104
106
107 };
108
109
110
111
112}}} // namespace steam::mobject::session
113#endif
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
Definition p.hpp:77
a mutable time value, behaving like a plain number, allowing copy and re-accessing
bookkeeping (Asset) view of a media clip.
key abstraction: media-like assets
Definition media.hpp:64
Base class of all BuilderTools, used according to the visitor pattern: each Tool contains the concret...
abstract base class of all MObjects for providing common services.
string buildShortID(lib::Literal typeID, string suffix="") const
A user visible/editable Clip is a reference to a contiguous sequence of media data loaded as Asset in...
PClipAsset findClipAsset() const
locate the corresponding asset representing this clip or the whole compound in case of a multichannel...
bool isValid() const
implementing the common MObject self test.
DEFINE_PROCESSABLE_BY(builder::BuilderTool)
TimeVar start_
start position in source
PMedia getMedia() const
access the underlying media asset
The asset subsystem of the Steam-Layer.
Namespace of Session and user visible high-level objects.
Definition sequence.hpp:65
Steam-Layer implementation namespace root.
Customised refcounting smart pointer.
a family of time value like entities and their relationships.