Lumiera  0.pre.03
»edit your freedom«
session-service-fetch.hpp
Go to the documentation of this file.
1 /*
2  SESSION-SERVICE-FETCH.hpp - session implementation service API: fetch PlacementRef
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 
23 
37 #ifndef MOBJECT_SESSION_SESSION_SERVICE_FETCH_H
38 #define MOBJECT_SESSION_SESSION_SERVICE_FETCH_H
39 
40 //#include "steam/mobject/session.hpp"
41 //#include "lib/meta/generator.hpp"
43 
44 
45 
46 
47 namespace steam {
48 namespace mobject {
49 namespace session {
50 
51 // using lib::meta::InstantiateChained;
52 // using lib::meta::InheritFrom;
53 // using lib::meta::NullType;
54 
63  {
64  public:
65  static PlacementMO& resolveID (PlacementMO::ID const&) ;
66  static bool isRegisteredID (PlacementMO::ID const&) ;
67 
68  static bool isAccessible() ;
69  };
70 
71 
72 
73 }}} // namespace steam::mobject::session
74 #endif
static bool isRegisteredID(PlacementMO::ID const &)
verify the given placement-ID (hash) is valid, by checking if it refers to a Placement instance curre...
Core abstraction: placement of a media object into session context.
static PlacementMO & resolveID(PlacementMO::ID const &)
actually retrieve a Placement tracked by the index.
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:74
static bool isAccessible()
is the element-fetch service usable? Effectively this means: is the session up?
Implementation-level service for resolving an Placement-ID.