87 Query<STRU> desired_name (isnil(nameID)?
"" :
"id("+nameID+
")");
88 STRU* pS = impl_->fabricate (desired_name);
116 typeHandler.
resolve (res, capabilities);
123 STRU* pS = impl_->fabricate(capabilities);
142 STRU* pS = impl_->fabricate(query);
160 normaliseID (pipeID);
161 normaliseID (streamID);
162 _Fmt descriptor(
"pipe(%s), stream(%s).");
163 Pipe* pP = impl_->fabricate (
Query<Pipe> (descriptor % pipeID % streamID));
Utilities to support working with predicate queries.
Steam-Layer Interface: Asset Lookup and Organisation.
Definition of a structural asset to express patterns of wiring or processing Processing patterns can ...
A "processing pipe" represented as Asset.
Basic and generic representation of an internal query.
the "front side" interface: the Steam-Layer code can use this QueryHandler to retrieve instances of t...
void normaliseID(string &id)
ensure standard format for a given id string.
virtual bool resolve(P< TY > &solution, Query< TY > const &q)=0
try to find or create an object of type TY fulfilling the given query.
This header is for including and configuring NoBug.
Steam-Layer implementation namespace root.
A front-end for using printf-style formatting.
Definition of the concrete frontend for rule based configuration within the session.
structural asset corresponding to the part of the model forming a processing pipe for generating medi...
static lib::Depend< AssetManager > instance
get at the system-wide asset manager instance.
lib::P< STRU > newInstance(Symbol nameID="")
invoke the factory to create new Structural Asset.
Implementation details, especially concerning how configuration queries are resolved and when to crea...
static StructFactory retrieve
storage for the static StructFactory instance
lib::P< STRU > operator()(Query< STRU > const &query)
Retrieve a suitable Structural Asset instance, possibly create one.
Structural building block of the session: a sequence of clips.
Token or Atom with distinct identity.
static lib::Depend< ConfigResolver > instance
Singleton factory instance, configured with the actual implementation type.
StructFactory()
using private implementation detail class
Marker types to indicate a literal string and a Symbol.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
Private implementation details of creating various structural assets.
lib::P< Pipe > newPipe(string pipeID, string streamID)
Factory method for creating Pipes explicitly.
lib::P< STRU > made4fake(Query< STRU > const &query)
special backdoor for fake-configrules.hpp This allows to simulate creation of objects triggered by ru...
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
user-visible Interface to the ConfigRules subsystem.
The asset subsystem of the Steam-Layer.
Asset representation of structural elements within the model.
Generic interface to express a query for specifically typed result elements exposing some capabilitie...
bool contains(SEQ const &cont, typename SEQ::const_reference val)
shortcut for brute-force containment test in any sequential container
Top level structural element within the session.