asset::Unknown Class Reference

#include <unknown.hpp>

Inheritance diagram for asset::Unknown:

Inheritance graph
[legend]
Collaboration diagram for asset::Unknown:

Collaboration graph
[legend]

List of all members.


Detailed Description

Placeholder Asset for unknown or unavailable media source.

Definition at line 43 of file unknown.hpp.


Public Member Functions

virtual Media::PMedia getOrg () throw (lumiera::error::Invalid)
 using the information stored in this placeholder asset, try to access the "real" media it stands for.

Protected Member Functions

 Unknown (const Asset::Ident &idi, string name="", Time length=DUMMY_TIME)
 create a placeholder for a media with the given identity.

Friends

class MediaFactory

Constructor & Destructor Documentation

asset::Unknown::Unknown ( const Asset::Ident idi,
string  name = "",
Time  length = DUMMY_TIME 
) [protected]

create a placeholder for a media with the given identity.

the denoted original media (identity) can be accessed later on using the Unknown::getOrg() function.

Note:
we don't depend on the refered media...

Definition at line 40 of file unknown.cpp.


Member Function Documentation

Media::PMedia asset::Unknown::getOrg (  )  throw (lumiera::error::Invalid) [virtual]

using the information stored in this placeholder asset, try to access the "real" media it stands for.

Definition at line 51 of file unknown.cpp.

References asset::str().

Here is the call graph for this function:


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

Generated on Sun Aug 1 21:32:15 2010 for Lumiera by  doxygen 1.5.6