83 string pipeID = isnil(arg)?
"Black Hole" : arg[1];
84 string streamID = 2>arg.size()?
"teststream" : arg[2];
87 normaliseID (streamID);
106 CHECK (pipe2 == pipe1);
108 CHECK (pipe2 == pipe1);
110 CHECK (pipe2 == pipe1);
112 CHECK (pipe2 == pipe1);
114 CHECK (pipe2 == pipe1);
123 "stream-ID \"%s\" not suitable for test, because "
124 "the default-pipe \"%s\" happens to have the same "
125 "stream-ID. We need it to be different",
126 sID.c_str(), pID.c_str()
129 string query_for_sID{
"stream("+sID+
")"};
132 CHECK (pipe2 != pipe1);
142 string new_pID =
_Fmt{
"dummy_%s_%i"}
148 CHECK (!
find (query_for_new));
150 CHECK (
find (query_for_new));
152 CHECK (pipe1 != pipe2);
172 CHECK (2 == pipe1.use_count());
173 hash = pipe1->getID();
180 CHECK ( aMang.
known (assetID));
182 CHECK (!aMang.
known (assetID));
185 CHECK (!
find(query_for_pID));
187 CHECK (
find(query_for_pID));
Steam-Layer Interface: Assets.
Steam-Layer Interface: Asset Lookup and Organisation.
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
Token or Atom with distinct identity.
Generic interface to express a query for specifically typed result elements exposing some capabilitie...
bool define(lib::P< TAR > const &, Query< TAR > const &=Query< TAR >())
register the given object as default, after ensuring it fulfils the query.
Facade for the Asset subsystem.
static lib::Depend< AssetManager > instance
get at the system-wide asset manager instance.
void remove(IDA id)
remove the given asset from the internal DB.
Superinterface describing especially bookkeeping properties.
thin wrapper around a size_t hash ID used as primary key for all Asset objects.
structural asset corresponding to the part of the model forming a processing pipe for generating medi...
static PPipe query(string const &properties)
convenience shortcut for retrieving default configured pipes
lib::P< STRU > newInstance(Symbol nameID="")
invoke the factory to create new Structural Asset.
key abstraction: structural asset Created automatically as a sideeffect of building the structure of ...
static StructFactory retrieve
storage for the static StructFactory instance
DefaultsAccess defaults
manages default configured objects
static session::SessManager & current
access point to the current Session
void verifyRemoval()
verify the defaults manager holds only weak refs, so if an object goes out of scope,...
void retrieveSimpleDefault(string)
virtual void run(Arg arg)
void failureCreatesNewDefault()
void retrieveConstrainedDefault(string pID, string sID)
A front-end for using printf-style formatting.
void normaliseID(string &id)
ensure standard format for a given id string.
bool find(Query< Pipe > &q)
shortcut: run just a query without creating new instances
Namespace of Session and user visible high-level objects.
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
bool isnil(lib::time::Duration const &dur)
A "processing pipe" represented as Asset.
Utilities to support working with predicate queries.
Basic and generic representation of an internal query.
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Primary Interface to the current Session.
Framework for classification of media streams.
Asset representation of structural elements within the model.
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...