Lumiera  0.pre.03
»edit your freedom«
media-access-mock.hpp
Go to the documentation of this file.
1 /*
2  MEDIA-ACCESS-MOCK.hpp - a test (stub) target object for testing the factories
3 
4  Copyright (C)
5  2008, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 */
13 
27 #ifndef VAULT_TEST_MEDIA_ACCESS_MOCK_H
28 #define VAULT_TEST_MEDIA_ACCESS_MOCK_H
29 
30 
32 
33 
34 
35 
36 namespace vault {
37 namespace test {
38 
44  : public MediaAccessFacade
45  {
46  MediaDesc& queryFile (string const& name) const override;
47  ChanDesc queryChannel (MediaDesc&, uint chanNo) const override;
48  };
49 
50 
51 }} // namespace vault::test
52 #endif
Definition: run.hpp:40
Descriptor holding the global information record required for further handling this kind of media wit...
Mock implementation of the MediaAccessFacade.
Interface to the vault layer: provides functions for querying (opening) a media file, detecting the channels or streams found within this file etc.
ChanDesc queryChannel(MediaDesc &, uint chanNo) const override
request for information about the n-th channel of the file referred by FileHandle.
Vault-Layer implementation namespace root.
Description of one channel found in a media file; result of querying the channel. ...
ElementBoxWidget::Config::Qualifier name(string id)
define the name-ID displayed in the caption
Abstraction interface to query for a media file.
MediaDesc & queryFile(string const &name) const override
request for testing the denoted files accessibility