Lumiera  0.pre.03
»edit your freedom«
Clip Class Reference

#include "steam/asset/clip.hpp"

Description

bookkeeping (Asset) view of a media clip.

Definition at line 35 of file asset/clip.hpp.

Public Member Functions

virtual PClip createClip () const
 Specialisation of the asset::Media interface method, just returning the already existing Clip-MO. More...
 
- Public Member Functions inherited from Media
PClip createClip ()
 Service Access Point for creating a Clip entity usable within the Session from a given Media or Clip Asset. More...
 
const string & getFilename () const
 
virtual const ID< Media > & getID () const
 < More...
 
virtual Duration getLength () const
 
PProcPatt howtoProc () const
 Service Access Point for getting a processing template describing how to build the render nodes network necessary for this Media or Clip. More...
 
- Public Member Functions inherited from Asset
bool enable (bool on=true)
 change the enabled status of this asset. More...
 
const vector< PAsset > & getDependant () const
 All the other assets requiring this asset to be functional. More...
 
const vector< PAsset > & getParents () const
 List of entities this asset depends on or requires to be functional. More...
 
bool isActive () const
 weather this asset is switched on and consequently included in the fixture and participates in rendering More...
 
virtual operator string () const
 
bool operator< (Asset const &oa) const
 
bool operator== (Asset const &oa) const
 

Friends

class MediaFactory
 

Protected Member Functions

 Clip (Media &mediaref)
 
virtual PMedia checkCompound () const
 specialisation delegating the decision to the media asset referred by this clip
 
virtual PClipAsset getClipAsset ()
 return this wrapped into a shared ptr, because it's already the desired asset::Clip
 
- Protected Member Functions inherited from Media
 Media (const Asset::Ident &idi, const string &file, Duration length)
 
- Protected Member Functions inherited from Asset
 Asset (const Ident &idi)
 Asset is a Interface class; usually, objects of concrete subclasses are created via specialised Factories. More...
 
virtual ~Asset ()=0
 
void defineDependency (PAsset parent)
 establish a connection between this and the given parent asset, denoting we are in some way dependent on the parent. More...
 
void defineDependency (Asset &parent)
 
virtual void unlink ()
 release all links to other Asset objects held internally. More...
 
virtual void unlink (IDA target)
 variant of unlink() dropping only the links to the given specific Asset, leaving all other links intact. More...
 

Private Attributes

PClip clipMO_
 the corresponding (dependent) clip-MO
 
const Mediasource_
 media source of this clip
 

Additional Inherited Members

- Public Types inherited from Media
using PClip = mobject::Placement< mobject::session::Clip >
 
using PClipAsset = lib::P< steam::asset::Clip >
 
using PMedia = lib::P< Media >
 
using PProcPatt = lib::P< steam::asset::ProcPatt >
 
- Static Public Attributes inherited from Media
static MediaFactory create
 storage for the static MediaFactory instance
 
- Public Attributes inherited from Asset
const Ident ident
 Asset identification tuple.
 
- Protected Attributes inherited from Asset
vector< PAssetdependants
 
bool enabled
 
set< string > groups
 additional classification, selections or departments this asset belongs to. More...
 
const ID< Assetid
 Asset primary key.
 
const string longDesc
 user visible qualification of the thing, unit or concept represented by this asset. More...
 
vector< PAssetparents
 
const string shortDesc
 user visible Name-ID. More...
 

Member Function Documentation

◆ createClip()

Media::PClip createClip ( ) const
virtual

Specialisation of the asset::Media interface method, just returning the already existing Clip-MO.

Every asset::Clip internally holds a Clip-MO, which has been created alongside. This Clip-MO may have several Placements or no placement at all (meaning it need not be placed within the session)

Definition at line 76 of file asset/clip.cpp.

References Clip::clipMO_.

+ Inheritance diagram for Clip:
+ Collaboration diagram for Clip:

The documentation for this class was generated from the following files: