Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
asset/meta.cpp
Go to the documentation of this file.
1/*
2 Meta(Asset) - key abstraction: metadata and organisational asset
3
4 Copyright (C)
5 2008, 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
21#include "steam/asset/meta.hpp"
22#include "lib/util.hpp"
23
25
26namespace steam {
27namespace asset {
28
29 using meta::Descriptor;
30
31 namespace // Implementation details
32 {
34 }
35
36 namespace meta {
37
38 Descriptor::~Descriptor() { } // emit VTable here...
39
40 }
41
42
45
46
47
54 template<class MA>
57 {
58 return meta::Builder<MA> (elementIdentity.getSym());
59 }
60
61
71 template<class MA>
73 MetaFactory::operator() (Descriptor const& prototype, EntryID<MA> elementIdentity)
74 {
75 UNIMPLEMENTED ("Meta-Factory: extend or supersede existing meta asset");
76 }
77
78
79
80}} // namespace steam::asset
81
82
83
84
85 /**************************************************/
86 /* explicit instantiations of the factory methods */
87 /**************************************************/
88
91
92
93namespace steam {
94namespace asset {
95
96 using meta::Descriptor;
97 using meta::Builder;
98 using meta::TimeGrid;
99
100 template Builder<TimeGrid> MetaFactory::operator() (EntryID<TimeGrid>);
101 template Builder<TimeGrid> MetaFactory::operator() (Descriptor const&, EntryID<TimeGrid>);
102
103 using meta::ErrorLog;
104
105 template Builder<ErrorLog> MetaFactory::operator() (EntryID<ErrorLog>);
106 template Builder<ErrorLog> MetaFactory::operator() (Descriptor const&, EntryID<ErrorLog>);
107
108}} // namespace steam::asset
Internal and organisational metadata.
Steam-Layer Interface: Asset Lookup and Organisation.
string const & getSym() const
Definition entry-id.hpp:169
Factory specialised for creating Metadata Asset objects.
meta::Builder< MA > operator()(lib::idi::EntryID< MA > elementIdentity)
Generic factory method for Metadata Asset instances.
static MetaFactory create
storage for the static MetaFactory instance
Interface: the unspecific, reflective base of meta assets.
virtual ~Descriptor()
this is an Interface
An entity to collect, possibly filter and persist incident records.
Building and configuring a meta asset.
The asset subsystem of the Steam-Layer.
Steam-Layer implementation namespace root.
typed symbolic and hash ID for asset-like position accounting.
Definition entry-id.hpp:219
To establish a reference scale for quantised time values.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...