![]() |
Lumiera 0.pre.04~rc.1
»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 |
Static Public Attributes | |
| static lib::Depend< MediaAccessFacade > | instance |
| storage for the SingletonFactory (actually a lumiera::test::MockInjector) | |
Public Member Functions | |
| virtual MediaDesc & | queryFile (string const &name) const |
| request for testing the denoted files accessibility | |
| virtual ChanDesc | queryChannel (MediaDesc &, uint chanNo) const |
| request for information about the n-th channel of the file referred by FileHandle. | |
| virtual | ~MediaAccessFacade () |
|
inlinevirtual |
Definition at line 83 of file media-access-facade.hpp.
| typedef void* ChanHandle |
Definition at line 60 of file media-access-facade.hpp.
|
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().
Here is the caller graph for this function: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().
Here is the caller graph for this function:
|
static |
storage for the SingletonFactory (actually a lumiera::test::MockInjector)
Definition at line 62 of file media-access-facade.hpp.
Referenced by MediaAccessMock_test::queryScenario().
Inheritance diagram for MediaAccessFacade:
Collaboration diagram for MediaAccessFacade: