Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Translating and wiring output designations.
OutputMapping is a complement to the OutputDesignation handles used at various places in the high-level model. It is used when translating a given output spec into another connection target
Definition in file output-mapping.hpp.
#include "lib/error.hpp"
#include "lib/util.hpp"
#include "lib/hash-value.h"
#include "steam/asset/pipe.hpp"
#include "common/query.hpp"
#include <boost/operators.hpp>
#include <map>
Classes | |
class | _def< DEF > |
class | OutputMapping< DEF > |
OutputMapping is a facility to resolve output designations. More... | |
struct | _def< DEF >::Rebind< FUN > |
struct | _def< DEF >::Rebind< RET(DEF::*)(PId)> |
class | OutputMapping< DEF >::Resolver |
Functions | |
Query< asset::Pipe > | build_corresponding_sourceQuery (Query< asset::Pipe > const &) |
..and build the corresponding defaults source query for this case | |
uint | is_defaults_query_with_channel (Query< asset::Pipe > const &) |
detect the special case, when actually the Nth solution of a defaults query is requested | |
HashVal | resolveQuery (Query< asset::Pipe > const &) |
delegate target pipe resolution to the rules system More... | |
HashVal | slot (Query< asset::Pipe > const &) |
yield a suitable table slot for this query More... | |
Namespaces | |
steam | |
Steam-Layer implementation namespace root. | |
steam::mobject | |
Media-Objects, edit operations and high-level session. | |
struct steam::mobject::anonymous_namespace{output-mapping.hpp}::_def::Rebind |
struct steam::mobject::anonymous_namespace{output-mapping.hpp}::_def::Rebind< RET(DEF::*)(PId)> |
HashVal slot | ( | Query< asset::Pipe > const & | query | ) |
yield a suitable table slot for this query
to allow for the use of queries mixed with normal Pipe-IDs in a single table, we rely on the hash_value()
function, to be picked up by ADL
Definition at line 153 of file output-designation.cpp.
References steam::mobject::_mapping::slot().
Referenced by steam::mobject::_mapping::slot().
HashVal resolveQuery | ( | Query< asset::Pipe > const & | query4pipe | ) |
delegate target pipe resolution to the rules system
Query | for pipe, which is handed over as-is to the rules engine. |
Definition at line 164 of file output-designation.cpp.
References ConfigResolver::instance, QueryHandler< TY >::resolve(), and steam::mobject::_mapping::resolveQuery().
Referenced by steam::mobject::_mapping::resolveQuery().