Lumiera
0.pre.03
»edit your freedom«
|
#include "/Werk/devel/lumi/tests/core/vault/media-access-mock.hpp"
Mock implementation of the MediaAccessFacade.
Provides preconfigured responses for some Test-Filenames.
Definition at line 52 of file media-access-mock.hpp.
Private Member Functions | |
ChanDesc | queryChannel (MediaDesc &, uint chanNo) const override |
request for information about the n-th channel of the file referred by FileHandle. More... | |
MediaDesc & | queryFile (string const &name) const override |
request for testing the denoted files accessibility More... | |
Additional Inherited Members | |
Public Types inherited from MediaAccessFacade | |
typedef void * | ChanHandle |
Static Public Attributes inherited from MediaAccessFacade | |
static lib::Depend< MediaAccessFacade > | instance |
storage for the SingletonFactory (actually a lumiera::test::MockInjector) | |
|
overrideprivatevirtual |
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 from MediaAccessFacade.
Definition at line 133 of file media-access-mock.cpp.
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 from MediaAccessFacade.
Definition at line 148 of file media-access-mock.cpp.