20 #ifndef STEAM_ENGINE_DIAGNOSTIC_BUFFR_PROVIDER_H 21 #define STEAM_ENGINE_DIAGNOSTIC_BUFFR_PROVIDER_H 44 class TrackingHeapBlockProvider;
56 std::unique_ptr<TrackingHeapBlockProvider> pImpl_;
88 bool buffer_was_used (uint bufferID)
const;
89 bool buffer_was_closed (uint bufferID)
const;
90 void* accessMemory (uint bufferID)
const;
91 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.