23 using std::static_pointer_cast;
42 category.setPath(CLIP_SUBFOLDER);
49 createClipMO (
const Clip& thisClipAsset,
const Media& mediaChannel)
57 Clip::Clip (
Media& mediaref)
59 mediaref.getFilename(),
62 , clipMO_ (createClipMO (*
this, source_))
64 this->defineDependency (mediaref);
A refcounting Handle to an MObject of type MO, used to constrain or explicitly specify the location w...
string name
element ID, comprehensible but sanitised.
Tree like classification of Assets.
virtual PClipAsset getClipAsset()
return this wrapped into a shared ptr, because it's already the desired asset::Clip ...
const Ident ident
Asset identification tuple.
const Asset::Ident createClipIdent(const Media &mediaref)
Steam-Layer implementation namespace root.
virtual PMedia checkCompound() const
specialisation delegating the decision to the media asset referred by this clip
a POD comprised of all the information sufficiently identifying any given Asset.
const Media & source_
media source of this clip
virtual PClip createClip() const
Specialisation of the asset::Media interface method, just returning the already existing Clip-MO...
Definition of Asset representation for a media clip.
Core factory to generate media objects for use in the Session model.
const string org
origin or authorship id.
bookkeeping (Asset) view of a media clip.
static lib::P< KIND > wrap(const KIND &asset)
retrieve the registered smart-ptr for any asset
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
static session::MObjectFactory create
Storage for the (single, static) MObject factory object.
const uint version
version number of the thing or concept represented by this asset.
asset::Category category
primary tree like classification of the asset.
The asset subsystem of the Steam-Layer.
PClip clipMO_
the corresponding (dependent) clip-MO