Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Preview Class Reference

#include "steam/asset/preview.hpp"

Description

special placeholder denoting an alternative version of the media data, typically with lower resolution ("proxy media")

Definition at line 34 of file preview.hpp.

Friends

class MediaFactory
 

Protected Member Functions

 Preview (Media &mediaref)
 create a preview placeholder ("proxy media") for the given media asset.
 
- Protected Member Functions inherited from Unknown
 Unknown (const Asset::Ident &idi, string name="", Duration length=DUMMY_TIME)
 create a placeholder for a media with the given identity.
 
- Protected Member Functions inherited from Media
 Media (const Asset::Ident &idi, const string &file, Duration length)
 
virtual PClipAsset getClipAsset ()
 get or create the correct asset::Clip corresponding to this media
 
virtual PMedia checkCompound () const
 predicate to decide if this asset::Media is part of a compound (multichannel) media.
 
- 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.
 
virtual ~Asset ()=0
 
virtual void unlink ()
 release all links to other Asset objects held internally.
 
virtual void unlink (IDA target)
 variant of unlink() dropping only the links to the given specific Asset, leaving all other links intact.
 
void defineDependency (PAsset parent)
 establish a connection between this and the given parent asset, denoting we are in some way dependent on the parent.
 
void defineDependency (Asset &parent)
 

Additional Inherited Members

- Public Types inherited from Media
using PMedia = lib::P< Media >
 
using PClipAsset = lib::P< steam::asset::Clip >
 
using PProcPatt = lib::P< steam::asset::ProcPatt >
 
using PClip = mobject::Placement< mobject::session::Clip >
 
- 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.
 
- Public Member Functions inherited from Unknown
virtual Media::PMedia getOrg ()
 using the information stored in this placeholder asset, try to access the "real" media it stands for.
 
- Public Member Functions inherited from Media
const string & getFilename () const
 
virtual const ID< Media > & getID () 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.
 
PClip createClip ()
 Service Access Point for creating a Clip entity usable within the Session from a given Media or Clip Asset.
 
virtual Duration getLength () const
 
- Public Member Functions inherited from Asset
bool operator== (Asset const &oa) const
 
auto operator<=> (Asset const &oa) const
 
virtual operator string () const
 
const vector< PAsset > & getParents () const
 List of entities this asset depends on or requires to be functional.
 
const vector< PAsset > & getDependant () const
 All the other assets requiring this asset to be functional.
 
bool isActive () const
 weather this asset is switched on and consequently included in the fixture and participates in rendering
 
bool enable (bool on=true)
 change the enabled status of this asset.
 
- Protected Attributes inherited from Asset
const ID< Assetid
 Asset primary key.
 
set< string > groups
 additional classification, selections or departments this asset belongs to.
 
const string shortDesc
 user visible Name-ID.
 
const string longDesc
 user visible qualification of the thing, unit or concept represented by this asset.
 
vector< PAssetparents
 
vector< PAssetdependants
 
bool enabled
 

Constructor & Destructor Documentation

◆ Preview()

Preview ( Media mediaref)
protected

create a preview placeholder ("proxy media") for the given media asset.

The name of the created media asset is derived by decorating the original media's name.

Note
creates a dependency between the media and this proxy

Definition at line 51 of file preview.cpp.

References Asset::defineDependency().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ MediaFactory

friend class MediaFactory
friend

Definition at line 38 of file preview.hpp.

+ Inheritance diagram for Preview:
+ Collaboration diagram for Preview:

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