Lumiera  0.pre.03
»edit your freedom«
testroot.hpp
Go to the documentation of this file.
1 /*
2  TESTROOT.hpp - test dummy model root for checking Model/Session functionality
3 
4  Copyright (C) Lumiera.org
5  2009, 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 
30 #ifndef MOBJECT_SESSION_TESTROOT_H
31 #define MOBJECT_SESSION_TESTROOT_H
32 
33 
36 #include "lib/symbol.hpp"
37 
38 using lib::Symbol;
39 
40 
41 namespace steam {
42 namespace mobject {
43 namespace session {
44 namespace test {
45 
46  inline Placement<Label>
47  make_dummyRoot()
48  {
49  Symbol labelType ("dummyRoot");
50  return MObject::create (labelType);
51  }
52 
53 
54 
55 
56 
57 }}}} // namespace steam::mobject::session::test
58 #endif
Definition: run.hpp:49
A marker or reference point in the Session.
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:74
Token or Atom with distinct identity.
Definition: symbol.hpp:126
Marker types to indicate a literal string and a Symbol.
Core factory to generate media objects for use in the Session model.
static session::MObjectFactory create
Storage for the (single, static) MObject factory object.
Definition: mobject.hpp:98