Lumiera  0.pre.03
»edit your freedom«
viewer.hpp
Go to the documentation of this file.
1 /*
2  VIEWER.hpp - asset corresponding to a viewer element in the GUI
3 
4  Copyright (C)
5  2011, 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 
38 #ifndef ASSET_VIEWER_H
39 #define ASSET_VIEWER_H
40 
41 #include "steam/asset/struct.hpp"
42 //#include "steam/mobject/mobject.hpp"
43 //#include "steam/mobject/placement.hpp"
45 //#include "steam/mobject/session/binding.hpp" ////TODO avoidable??
46 #include "lib/p.hpp"
47 #include "lib/element-tracker.hpp"
48 
49 
50 //#include <vector>
51 //#include <string>
52 
53 //using std::vector;
54 //using std::string;
55 
56 namespace steam {
57 namespace mobject {
58 namespace session {
59 
60  class Binding;
61  typedef MORef<Binding> RBinding;
62 }}
63 
64 
65 namespace asset {
66 
67 
68  class Viewer;
69  typedef lib::P<Viewer> PViewer;
70 
71 
75  class Viewer
76  : public Struct
77 // , public lib::AutoRegistered<Viewer>
78  {
79 
80  Viewer (Ident const&);
81 
82  public:
84 // static PTimeline create (Asset::Ident const& idi, RBinding const& sequenceBinding);
85 
86  protected:
87  virtual void unlink ();
88 
89  };
90 
91 
92 
93 
95 
96 
97 }} // namespace steam::asset
98 #endif
Customised refcounting smart pointer.
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:65
External MObject/Placement reference.
a POD comprised of all the information sufficiently identifying any given Asset.
Definition: asset.hpp:149
Tracking instances automatically on creation and disposal.
TODO type comment.
Definition: viewer.hpp:75
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
Definition: trait.hpp:71
key abstraction: structural asset Created automatically as a sideeffect of building the structure of ...
Definition: struct.hpp:104
The asset subsystem of the Steam-Layer.
Definition: wrapperptr.hpp:35
Asset representation of structural elements within the model.