Lumiera  0.pre.03
»edit your freedom«
root.cpp
Go to the documentation of this file.
1 /*
2  Root - root element of the high-level model, global session scope
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 
23 
25 using lib::idi::EntryID;
26 
27 namespace steam {
28 namespace mobject {
29 namespace session {
30 
32  Root::Root (DefsManager& dM)
33  : defaults_(dM)
34  {
35  throwIfInvalid();
36  }
37 
38 
48  Root::getID()
49  {
50  return EntryID<Root>("session");
51  }
52 
53 
55  Root::getAssetID()
56  {
57  return EntryID<Root>("assets");
58  }
59 
60 
67  bool
68  Root::isValid() const
69  {
70  return true;
71  }
72 
74 
75 
76 }}} // namespace steam::mobject::session
typed symbolic and hash ID for asset-like position accounting.
Definition: entry-id.hpp:126
Steam-Layer implementation namespace root.
MObject within the session to represent "the session itself".
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:65
Management of defaults and default rules.
Organise a collection of preconfigured default objects.