Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
session-query.hpp
Go to the documentation of this file.
1/*
2 SESSION-QUERY.hpp - querying for session contents in various ways
3
4 Copyright (C)
5 2010, 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
31#ifndef MOBJECT_SESSION_SESSION_QUERY_H
32#define MOBJECT_SESSION_SESSION_QUERY_H
33
37
38#include <functional>
39
40
41
42namespace steam {
43namespace mobject {
44namespace session {
45
46 using std::function;
47
48
49
50 /* ====== Predicates for picking objects ====== */
51
53 inline function<bool(Placement<Fork> const&)>
54 match_specificFork (string const& forkID)
55 {
56 return [=](Placement<Fork> const& forkMO)
57 {
58 return forkMO->isSameID (forkID);
59 };
60 }
61
62}}} // namespace steam::mobject::session
63#endif
A refcounting Handle to an MObject of type MO, used to constrain or explicitly specify the location w...
Organisational grouping device within the Session model ("Track" / "Media Bin").
Namespace of Session and user visible high-level objects.
Definition sequence.hpp:65
function< bool(Placement< Fork > const &)> match_specificFork(string const &forkID)
yield a query predicate to pick a specific fork
Steam-Layer implementation namespace root.
Core abstraction: placement of a media object into session context.
Primary Interface to the current Session.