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) Lumiera.org
5
2008, Hermann Vosseler <Ichthyostega@web.de>
6
7
This program is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of
10
the License, or (at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21
*/
22
36
#ifndef VAULT_TEST_MEDIA_ACCESS_MOCK_H
37
#define VAULT_TEST_MEDIA_ACCESS_MOCK_H
38
39
40
#include "
vault/media-access-facade.hpp
"
41
42
43
44
45
namespace
vault
{
46
namespace
test
{
47
52
class
MediaAccessMock
53
:
public
MediaAccessFacade
54
{
55
MediaDesc
&
queryFile
(
string
const
&
name
)
const override
;
56
ChanDesc
queryChannel
(
MediaDesc
&, uint chanNo)
const override
;
57
};
58
59
60
}}
// namespace vault::test
61
#endif
test
Definition:
run.hpp:49
vault::MediaDesc
Descriptor holding the global information record required for further handling this kind of media wit...
Definition:
media-access-facade.hpp:100
vault::test::MediaAccessMock
Mock implementation of the MediaAccessFacade.
Definition:
media-access-mock.hpp:52
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:66
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:148
vault
Vault-Layer implementation namespace root.
Definition:
vault/common.hpp:63
vault::ChanDesc
Description of one channel found in a media file; result of querying the channel. ...
Definition:
media-access-facade.hpp:119
stage::widget::name
ElementBoxWidget::Config::Qualifier name(string id)
define the name-ID displayed in the caption
Definition:
element-box-widget.hpp:243
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:133
core
vault
media-access-mock.hpp
Generated on Sat Apr 20 2024 02:03:40 for Lumiera by
1.8.13