Lumiera  0.pre.03
»edit your freedom«
session-service-mutate.hpp
Go to the documentation of this file.
1 /*
2  SESSION-SERVICE-MUTATE.hpp - session implementation service API: add/remove session contents
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 
30 #ifndef MOBJECT_SESSION_SESSION_SERVICE_MUTATE_H
31 #define MOBJECT_SESSION_SESSION_SERVICE_MUTATE_H
32 
33 //#include "steam/mobject/session.hpp"
34 //#include "lib/meta/generator.hpp"
36 
37 
38 
39 
40 namespace steam {
41 namespace mobject {
42 namespace session {
43 
44 
53  {
54  public:
55  typedef PlacementMO const& PMO;
56  typedef PlacementMO::ID const& PID;
57 
58  static PID attach_toModel (PMO, PID) ;
59  static bool detach_and_clear (PID) ;
60  static bool detach (PID) ;
61  };
62 
63 
64 
65 }}} // namespace steam::mobject::session
66 #endif
Core abstraction: placement of a media object into session context.
Implementation-level service for resolving an Placement-ID.
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:65
static PID attach_toModel(PMO, PID)
attach an object by placement onto the session.
static bool detach_and_clear(PID)
detach the denoted element from the model including all children.
static bool detach(PID)
detach the denoted leaf element from the model.