Lumiera
0.pre.03
»edit your freedom«
|
#include "vault/media-access-facade.hpp"
Interface to the vault layer: provides functions for querying (opening) a media file, detecting the channels or streams found within this file etc.
Implementation delegating to the actual vault layer functions.
convention: data passed by pointer is owned by the originator; it should be copied if needed beyond the control flow of the invoked function.
Definition at line 57 of file media-access-facade.hpp.
Public Types | |
typedef void * | ChanHandle |
Public Member Functions | |
virtual ChanDesc | queryChannel (MediaDesc &, uint chanNo) const |
request for information about the n-th channel of the file referred by FileHandle. More... | |
virtual MediaDesc & | queryFile (string const &name) const |
request for testing the denoted files accessibility More... | |
Static Public Attributes | |
static lib::Depend< MediaAccessFacade > | instance |
storage for the SingletonFactory (actually a lumiera::test::MockInjector) | |
|
virtual |
request for testing the denoted files accessibility
name | path and filename of the media file. |
error::Invalid | when passing empty filename, or in case the media file is inaccessible or otherwise inappropriate. |
Reimplemented in MediaAccessMock.
Definition at line 39 of file media-access-facade.cpp.
Referenced by MediaAccessMock_test::queryScenario().
request for information about the n-th channel of the file referred by FileHandle.
NULL
values if the file doesn't contain this much channels. Reimplemented in MediaAccessMock.
Definition at line 49 of file media-access-facade.cpp.
Referenced by MediaAccessMock_test::queryScenario().