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
31
#include "
vault/media-access-facade.hpp
"
32
33
34
35
36
namespace
vault
{
37
namespace
test
{
38
43
class
MediaAccessMock
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
test
Definition:
run.hpp:40
vault::MediaDesc
Descriptor holding the global information record required for further handling this kind of media wit...
Definition:
media-access-facade.hpp:91
vault::test::MediaAccessMock
Mock implementation of the MediaAccessFacade.
Definition:
media-access-mock.hpp:43
vault::MediaAccessFacade
Interface to the vault layer: provides functions for querying (opening) a media file, detecting the channels or streams found within this file etc.
Definition:
media-access-facade.hpp:57
vault::test::MediaAccessMock::queryChannel
ChanDesc queryChannel(MediaDesc &, uint chanNo) const override
request for information about the n-th channel of the file referred by FileHandle.
Definition:
media-access-mock.cpp:139
vault
Vault-Layer implementation namespace root.
Definition:
vault/common.hpp:54
vault::ChanDesc
Description of one channel found in a media file; result of querying the channel. ...
Definition:
media-access-facade.hpp:110
stage::widget::name
ElementBoxWidget::Config::Qualifier name(string id)
define the name-ID displayed in the caption
Definition:
element-box-widget.hpp:234
media-access-facade.hpp
Abstraction interface to query for a media file.
vault::test::MediaAccessMock::queryFile
MediaDesc & queryFile(string const &name) const override
request for testing the denoted files accessibility
Definition:
media-access-mock.cpp:124
core
vault
media-access-mock.hpp
Generated on Fri Dec 13 2024 05:05:34 for Lumiera by
1.8.13