29 #ifndef STEAM_ENGINE_DIAGNOSTIC_BUFFR_PROVIDER_H 30 #define STEAM_ENGINE_DIAGNOSTIC_BUFFR_PROVIDER_H 53 class TrackingHeapBlockProvider;
65 std::unique_ptr<TrackingHeapBlockProvider> pImpl_;
97 bool buffer_was_used (uint bufferID)
const;
98 bool buffer_was_closed (uint bufferID)
const;
99 void* accessMemory (uint bufferID)
const;
100 bool all_buffers_released()
const;
Helper for unit tests: Buffer provider reference implementation.
static lib::Depend< DiagnosticBufferProvider > diagnostics
Storage for the diagnostics frontend.
Any copy and copy construction prohibited.
static DiagnosticBufferProvider & access(BufferProvider const &)
access the diagnostic API of the buffer provider
Steam-Layer implementation namespace root.
Access point to singletons and other kinds of dependencies designated by type.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
Singleton services and Dependency Injection.
Helper holding a pair of type-build-up and destruction functors.
simple BufferProvider implementation with additional allocation tracking.
Lumiera error handling (C++ interface).
static BufferProvider & build()
build a new Diagnostic Buffer Provider instance, discard the existing one.
Helper to abstract creation and lifecycle of a dependency.
Interface: a facility providing and managing working buffers for media calculations.
Abstraction to represent buffer management and lifecycle within the render engine.