Lumiera  0.pre.03
»edit your freedom«
wrapperptr.hpp
Go to the documentation of this file.
1 /*
2  WRAPPERPTR.hpp - variant record able to hold a pointer to some smart-ptr/wrapper types, providing conversions
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 
31 #ifndef LUMIERA_WRAPPERPTR_H
32 #define LUMIERA_WRAPPERPTR_H
33 
34 
35 #include "lib/variant-o.hpp"
36 #include "lib/access-casted-o.hpp"
37 
38 #include "lib/meta/typelist.hpp"
40 #include "lib/p.hpp"
41 
42 
43 namespace steam {
44  namespace asset { class Asset; }
45  namespace mobject { class MObject; }
46 
47 
50  > ::List
52 }
53 
54 namespace lumiera {
55 
56 
57 
72 
73 
74 
75 } // namespace lumiera
76 #endif
Helper for accessing a value, employing either conversion or downcast, depending on the relation of t...
lib::VariantO< steam::WrapperTypes, util::AccessCasted_O > WrapperPtr
helper to treat various sorts of smart-ptrs uniformly.
Definition: wrapperptr.hpp:71
A template metaprogramming technique for manipulating collections of types.
Core abstraction: placement of a media object into session context.
Customised refcounting smart pointer.
Steam-Layer implementation namespace root.
MObject is the interface class for all "Media Objects".
Definition: mobject.hpp:79
Superinterface describing especially bookkeeping properties.
Definition: asset.hpp:148
Lumiera public interface.
Definition: advice.cpp:113
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
Definition: trait.hpp:80
The asset subsystem of the Steam-Layer.
Definition: wrapperptr.hpp:44
This file defines a simple alternative to boost::variant.