Lumiera  0.pre.03
»edit your freedom«
viewer.cpp
Go to the documentation of this file.
1 /*
2  Viewer - asset corresponding to a viewer element in the GUI
3 
4  Copyright (C) Lumiera.org
5  2011, 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/asset/viewer.hpp"
31 //#include "steam/mobject/session/fork.hpp"
32 //#include "steam/mobject/placement.hpp"
33 //#include "steam/mobject/session/mobjectfactory.hpp"
34 //#include "steam/mobject/session/binding.hpp"
35 //#include "steam/assetmanager.hpp"
36 
37 
38 namespace steam {
39 namespace asset {
40 
41 // using lib::AutoRegistered;
42 
43 
44 
47  : Struct (idi)
48  {
49  UNIMPLEMENTED ("anything regarding Viewer Assets");
50  }
51 
52 
53 //PViewer
54 //Viewer::create (Asset::Ident const& idi)
55 //{
56 // REQUIRE (getRegistry, "can't create a Timeline prior to session initialisation");
57 //
58 // PTimeline newElement (AssetManager::instance().wrap (*new Viewer(idi)));
59 // getRegistry().append (newElement);
60 //
61 // ENSURE (newElement);
62 // ENSURE (getRegistry().isRegistered (*newElement));
63 // return newElement;
64 //}
65 
66 
67  void
69  {
70 // AutoRegistered<Timeline>::detach();
72  }
73 
74 
75 
76 
77 }} // namespace steam::asset
virtual void unlink()
release all links to other Asset objects held internally.
Definition: asset.cpp:173
structural element corresponding to a viewer in the GUI.
Steam-Layer implementation namespace root.
a POD comprised of all the information sufficiently identifying any given Asset.
Definition: asset.hpp:158
virtual void unlink()
create and register a new Timeline instance
Definition: viewer.cpp:68
Viewer(Ident const &)
Definition: viewer.cpp:46
key abstraction: structural asset Created automatically as a sideeffect of building the structure of ...
Definition: struct.hpp:113
The asset subsystem of the Steam-Layer.
Definition: wrapperptr.hpp:44