Changeset 216ab52 in Lumiera

Timestamp:
2026-05-30T23:44:54Z (2 weeks ago)
Author:
Ichthyostega <prg@…>
Branches:
dev/play, documentation, integration
Children:
ab22f37
Parents:
9461443
git-author:
Ichthyostega <prg@…> (30/05/26 21:49:50)
git-committer:
Ichthyostega <prg@…> (30/05/26 23:44:54)
Message:

OutputSlot: integration with buffer management (+documentation)

Within the reworked design of the OutputSlot a proxy implementation
of the BufferProvider API is used (class OutputBufferProxy).

After analysis of the invocation patterns, I concluded that it seems adequate
to attach the special-purpose metadata generated by this integration
to the generic system of thread-local replicated BufferMetadata storage.

However, since thread-local instances are effectively static(global),
I was concerned that unit-testing might be impeded by accumulation of
stale metadata in the store linked to the main thread. Thus I created
a special configuration variant to retain the previously used setup
for the sake of unit testing (which applies especially to use of the
DiagnosticOutputSlot). Using a SimpleBufferStateRegistry for in
that case has the benefit that simply a local instance can be used
in the test and all metadata will be discarded afterwards.

Furthermore the factory syntax for obtaining an OutputSlot was improved,
drawing on the recent changes to lib::ScopedCollection.

Also I looked through some of the documentation and updated
the UML sequence diagram to reflect OutputSlot's improved internal structure

(No files)

Note: See TracChangeset for help on using the changeset viewer.