Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
media-access-facade.cpp
Go to the documentation of this file.
1/*
2 MediaAccessFacade - functions for querying media file and channels.
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
14
24
25#include "lib/util.hpp"
26
27using util::isnil;
29
30namespace vault {
31
35
36
37
38 MediaDesc&
39 MediaAccessFacade::queryFile (string const& name) const
40 {
41 if (isnil (name))
42 throw Invalid ("empty filename passed to MediaAccessFacade.");
43
44 UNIMPLEMENTED ("delegate to vault: query accessability of file");
45 }
46
47
50 {
51 UNIMPLEMENTED ("delegate to vault: query channel information");
52 ChanDesc nix;
53 return nix;
54 }
55
56
57
58} // namespace vault
Access point to singletons and other kinds of dependencies designated by type.
Definition depend.hpp:281
Derived specific exceptions within Lumiera's exception hierarchy.
Definition error.hpp:193
static lib::Depend< MediaAccessFacade > instance
storage for the SingletonFactory (actually a lumiera::test::MockInjector)
virtual ChanDesc queryChannel(MediaDesc &, uint chanNo) const
request for information about the n-th channel of the file referred by FileHandle.
virtual MediaDesc & queryFile(string const &name) const
request for testing the denoted files accessibility
unsigned int uint
Definition integral.hpp:29
Abstraction interface to query for a media file.
bool isnil(lib::time::Duration const &dur)
Vault-Layer implementation namespace root.
Description of one channel found in a media file; result of querying the channel.
Descriptor holding the global information record required for further handling this kind of media wit...
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...