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) 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
30
#include "
steam/mobject/session/root.hpp
"
31
#include "
common/query/defs-manager.hpp
"
32
33
using
lumiera::query::DefsManager
;
34
using
lib::idi::EntryID
;
35
36
namespace
steam
{
37
namespace
mobject {
38
namespace
session
{
39
41
Root::Root (
DefsManager
& dM)
42
: defaults_(dM)
43
{
44
throwIfInvalid();
45
}
46
47
56
lib::idi::EntryID<Root>
57
Root::getID()
58
{
59
return
EntryID<Root>
(
"session"
);
60
}
61
62
63
lib::idi::EntryID<Root>
64
Root::getAssetID()
65
{
66
return
EntryID<Root>
(
"assets"
);
67
}
68
69
76
bool
77
Root::isValid()
const
78
{
79
return
true
;
80
}
81
83
84
85
}}}
// namespace steam::mobject::session
lib::idi::EntryID
typed symbolic and hash ID for asset-like position accounting.
Definition:
entry-id.hpp:135
steam
Steam-Layer implementation namespace root.
Definition:
dummy-player-facade.h:46
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:74
defs-manager.hpp
Management of defaults and default rules.
lumiera::query::DefsManager
Organise a collection of preconfigured default objects.
Definition:
defs-manager.hpp:138
steam
mobject
session
root.cpp
Generated on Sat Apr 20 2024 02:03:41 for Lumiera by
1.8.13