asset Namespace Reference


Detailed Description

The asset subsystem of the Proc-Layer.


Classes

class  Asset
 Superinterface describing especially bookkeeping properties. More...
class  AssetManager
 Facade for the Asset subsystem. More...
class  BareEntryID
 type erased baseclass for building a combined hash and symbolic ID. More...
struct  BuildInstruct
 (Interface) building instructions to be executed by the Builder on the render node network under construction. More...
class  Category
class  Clip
 bookkeeping (Asset) view of a media clip. More...
class  Codec
 description of some media data decoder or encoder facility More...
class  CompoundMedia
 compound of several elementary media tracks, e.g. More...
class  Dataset
 meta asset describing a collection of control data More...
class  DB
 Implementation of the registry holding all Asset instances known to the Asset Manager subsystem. More...
struct  DoAttach
class  DoConditional
struct  DoRecurse
class  Effect
 Effect or media processing component. More...
struct  EntryID
 typed symbolic and hash ID for asset-like position accounting. More...
class  ID
 thin wrapper around a size_t hash ID used as primary key for all Asset objects. More...
class  ID< Meta >
class  ID< Pipe >
class  ID< Proc >
class  ID< Struct >
struct  IdentityHash
 trivial hash functor returns any hash value unmodified. More...
class  IDErr
 AssetManager error responses, caused by querying invalid Asset IDs from the internal DB. More...
class  Inventory
 TypedID registration group exposed as meta asset. More...
struct  is_pAsset
 type trait for detecting a shared-ptr-to-asset More...
struct  is_pAsset< shared_ptr< A > >
class  Meta
 key abstraction: metadata and organisational asset More...
class  MetaFactory
 Factory specialised for creating Metadata Asset objects. More...
class  Pipe
 structural asset corresponding to the part of the model forming a processing pipe for generating media output More...
class  Preview
 special placeholder denoting an alternative version of the media data, typically with lower resolution ("proxy media") More...
class  Proc
 key abstraction: data processing asset More...
class  ProcFactory
 Factory specialised for creating Processor Asset objects. More...
class  ProcPatt
 "Processing Pattern" is a structural Asset representing information how to build some part of the render engine's processing nodes network. More...
class  Sequence
 TODO type comment. More...
class  Struct
 key abstraction: structural asset Created automatically as a sideeffect of building the structure of the high-level-model (session contents), thus providing IDs for later referral, search and attachment of metadata. More...
class  StructFactory
 Factory specialised for creating Structural Asset objects. More...
class  StructFactoryImpl
 Implementation details, especially concerning how configuration queries are resolved and when to create new objects automatically. More...
class  Timeline
 TODO type comment. More...
class  TypedID
class  Unknown
 Placeholder Asset for unknown or unavailable media source. More...
class  UnknownID
class  WrongKind

Typedefs

typedef const ID< Asset > & IDA
typedef
std::tr1::unordered_map
< size_t, PAsset, IdentityHash
IdHashtable
typedef boost::variant
< DoAttach, DoRecurse,
DoConditional > 
InstructEntry
typedef vector< BuildInstructInstructionSequence
typedef P< AssetPAsset
typedef P< const AssetPcAsset
typedef P< const asset::ClipPClipAsset
typedef lumiera::P< InventoryPInv
typedef P< MetaPMeta
typedef P< PipePPipe
typedef P< const asset::ProcPProc
typedef P< const asset::ProcPattPProcPatt
typedef P< SequencePSequence
typedef P< TimelinePTimeline
typedef mobject::MORef
< mobject::session::Binding
RBinding
typedef mobject::MORef
< mobject::session::Track
RTrack
typedef EntryID
< mobject::session::Track
TrackID

Enumerations

enum  Kind {
  AUDIO, VIDEO, EFFECT, CODEC,
  STRUCT, META
}
 top-level distinction of different Kinds of Assets. More...

Functions

bool all_parents_enabled (const vector< PAsset > &parents)
const Asset::Ident createClipIdent (const Media &mediaref)
Media::PClipMO createClipMO (const Clip &thisClipAsset, const Media &mediaChannel)
const Asset::Ident createProxyIdent (const Asset::Ident &mediaref)
function< void(PAsset &)> detach_child_recursively ()
string extractName (const string &path)
 helper: extract a name token out of a given path/filename
size_t hash_value (Asset const &asset)
size_t hash_value (Asset::Ident const &idi)
size_t hash_value (Category const &cat)
 LUMIERA_ERROR_DECLARE (WRONG_ASSET_KIND)
 Asset ID of wrong Asset kind, unable to cast.
 LUMIERA_ERROR_DECLARE (UNKNOWN_ASSET_ID)
 use of a non-registered Asset ID.
 LUMIERA_ERROR_DECLARE (ORIG_NOT_FOUND)
 LUMIERA_ERROR_DECLARE (MISSING_INSTANCE)
 Existing ID registration without associated instance.
 LUMIERA_ERROR_DEFINE (WRONG_ASSET_KIND,"wrong Asset kind, unable to cast")
 LUMIERA_ERROR_DEFINE (UNKNOWN_ASSET_ID,"non-registered Asset ID")
 LUMIERA_ERROR_DEFINE (ORIG_NOT_FOUND,"Media referred by placeholder not found")
 LUMIERA_ERROR_DEFINE (MISSING_INSTANCE,"Existing ID registration without associated instance")
 LUMIERA_ERROR_DEFINE (PART_OF_COMPOUND,"part of compound used as toplevel element")
 NOBUG_CPP_DEFINE_FLAG_PARENT (assetmem, memory)
ostream & operator<< (ostream &os, Category const &cat)
bool operator== (BareEntryID const &i1, BareEntryID const &i2)
template<class A>
const PcAsset pAsset (shared_ptr< A > const &subPtr)
 promote subtype-ptr to PAsset, e.g.
void propagate_down (PAsset child, bool on)
void recursive_call (AssetManager *instance, PAsset &pA)
string str (PcAsset const &a)
 convenient for debugging

Variables

function< bool(const PAsset &)> check_isActive
const string CLIP_SUBFOLDER = "clips"
static Symbol CURRENT = "current"
const lumiera::Time DUMMY_TIME (25)
Symbol genericIdSymbol ("id")


Enumeration Type Documentation

top-level distinction of different Kinds of Assets.

For convenience, this classification is slightly denormalised, as AUDIO, and VIDEO are both asset::Media objects, EFFECT and CODEC are asset::Proc objects, while STRUCT and META refer directly to the corresponding Interfaces asset::Struct and asset::Meta.

Definition at line 49 of file category.hpp.


Function Documentation

const Asset::Ident asset::@318::createClipIdent ( const Media &  mediaref  )  [static]

For internal use only.

derive a sensible asset ident tuple when creating a asset::Clip based on some asset::Media

Definition at line 41 of file clip.cpp.

string asset::@330::extractName ( const string &  path  )  [static]

helper: extract a name token out of a given path/filename

Returns:
sanitised token based on the name (minus extension), empty string if not the common filename pattern.

Definition at line 56 of file media.cpp.

const Asset::Ident asset::@336::createProxyIdent ( const Asset::Ident &  mediaref  )  [static]

For internal use only.

derive a sensible asset ident tuple when creating a proxy placeholder media based on some existing asset::Media

Definition at line 38 of file preview.cpp.

References asset::Asset::Ident::category, asset::Asset::Ident::name, asset::Asset::Ident::org, and asset::Asset::Ident::version.

asset::LUMIERA_ERROR_DECLARE ( MISSING_INSTANCE   ) 

Existing ID registration without associated instance.

template<class A>
const PcAsset asset::pAsset ( shared_ptr< A > const &  subPtr  )  [inline]

promote subtype-ptr to PAsset, e.g.

for comparing

Definition at line 323 of file asset.hpp.

string asset::str ( PcAsset const &  a  )  [inline]

asset::LUMIERA_ERROR_DECLARE ( UNKNOWN_ASSET_ID   ) 

use of a non-registered Asset ID.

asset::LUMIERA_ERROR_DECLARE ( WRONG_ASSET_KIND   ) 

Asset ID of wrong Asset kind, unable to cast.


Variable Documentation

function<bool(const PAsset&)> asset::check_isActive

Initial value:

 bind ( &Asset::isActive
           , bind (&PAsset::get, _1 )
           )

Definition at line 88 of file asset.cpp.


Generated on Thu Jul 22 00:06:26 2010 for Lumiera by  doxygen 1.5.6