Lumiera
0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
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
21
#include "
steam/mobject/session/root.hpp
"
22
#include "
common/query/defs-manager.hpp
"
23
24
using
lumiera::query::DefsManager
;
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
47
lib::idi::EntryID<Root>
48
Root::getID
()
49
{
50
return
EntryID<Root>
(
"session"
);
51
}
52
53
54
lib::idi::EntryID<Root>
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
lumiera::query::DefsManager
Organise a collection of preconfigured default objects.
Definition
defs-manager.hpp:131
steam::mobject::session::AbstractMO::throwIfInvalid
void throwIfInvalid() const
Definition
abstractmo.hpp:66
steam::mobject::session::Root::getID
static lib::idi::EntryID< Root > getID()
get an unique ID to identify "the model root".
Definition
root.cpp:48
steam::mobject::session::Root::isValid
virtual bool isValid() const
Definition
root.cpp:68
steam::mobject::session::Root::getAssetID
static lib::idi::EntryID< Root > getAssetID()
Definition
root.cpp:55
steam::mobject::session::Root::Root
Root(lumiera::query::DefsManager &)
Definition
root.cpp:32
defs-manager.hpp
Management of defaults and default rules.
steam::mobject::session
Namespace of Session and user visible high-level objects.
Definition
sequence.hpp:65
steam
Steam-Layer implementation namespace root.
root.hpp
MObject within the session to represent "the session itself".
lib::idi::EntryID
typed symbolic and hash ID for asset-like position accounting.
Definition
entry-id.hpp:219
steam
mobject
session
root.cpp
Generated on Fri Nov 7 2025 for Lumiera by
1.9.8