37#ifndef STEAM_PLAY_DUMMY_BUILDER_CONTEXT_H
38#define STEAM_PLAY_DUMMY_BUILDER_CONTEXT_H
72 void pushout (
BuffHandle const&)
override { UNIMPLEMENTED (
"pushout (BuffHandle const&)"); }
73 void discard (
BuffHandle const&)
override { UNIMPLEMENTED (
"discard (BuffHandle const&)"); }
74 void shutDown ()
override { UNIMPLEMENTED (
"shutDown() Connection"); }
165 dataSinks_.emplace_back().activate(std::make_shared<UnimplementedConnection>());
166 dataSinks_.emplace_back().activate(std::make_shared<UnimplementedConnection>());
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
basic constant internal time value.
Generic interface to express a query for specifically typed result elements exposing some capabilitie...
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
key abstraction: structural asset Created automatically as a sideeffect of building the structure of ...
static StructFactory retrieve
storage for the static StructFactory instance
Handle for a buffer for processing data, abstracting away the actual implementation.
Management facility for tracking model ports.
ModelPortDescriptor const & definePort(PID pipe, StID element_exposing_this_port)
create and register a new model port entry, within the pending transaction
static void shutdown()
globally deactivate access to model ports
static ModelPortRegistry * setActiveInstance(ModelPortRegistry &newRegistry)
switch the implicit link to the global ModelPort registry to point to the given implementation instan...
void commit()
activate pending model port changes.
Handle designating a point within the model, where actually output data can be pulled.
void pushout(BuffHandle const &) override
void discard(BuffHandle const &) override
void transfer(BuffHandle const &) override
bool isTimely(FrameID, TimeValue) override
~UnimplementedConnection()
emit VTable here...
BuffHandle claimBufferFor(FrameID) override
UnimplementedConnection()=default
Extension module to build an opaque data source, accessible as Lumiera Forward Iterator.
Mutation and management facility for model ports within the builder.
Organising the output data calculation possibilities.
_SeqT< CON >::Iter eachEntry(CON &container)
const string namePortB("bus-B")
const uint NUMBER_OF_PORTS
std::pair< mobject::ModelPort, play::DataSink > DummyOutputLink
TID getTimeline(string id)
const string namePortA("bus-A")
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
bool contains(MAP &map, typename MAP::key_type const &key)
shortcut for containment test on a map
Mix-Ins to allow or prohibit various degrees of copying and cloning.
A global service to handle all external output connections.
Interface for concrete output implementations to talk to the OutputSlot frontend.
A "processing pipe" represented as Asset.
Basic and generic representation of an internal query.
helper for dummy render engine: Simulate the result of a build process, without actually running the ...
std::vector< ModelPort > modelPorts_
std::vector< DataSink > dataSinks_
SimulatedBuilderContext()
setup
DummyOutputLink getModelPort(uint index)
~SimulatedBuilderContext()
tear-down
ModelPorts getAllModelPorts()
ModelPortRegistry registry_
ModelPortRegistry * existingRegistry_
Top level structural element within the session.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...