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
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
lib::idi::EntryID
typed symbolic and hash ID for asset-like position accounting.
Definition:
entry-id.hpp:126
steam
Steam-Layer implementation namespace root.
Definition:
dummy-player-facade.h:37
root.hpp
MObject within the session to represent "the session itself".
steam::mobject::session
Namespace of Session and user visible high-level objects.
Definition:
sequence.hpp:65
defs-manager.hpp
Management of defaults and default rules.
lumiera::query::DefsManager
Organise a collection of preconfigured default objects.
Definition:
defs-manager.hpp:129
steam
mobject
session
root.cpp
Generated on Fri Dec 13 2024 05:05:35 for Lumiera by
1.8.13