48 #ifndef ENGINE_BUFFHANDLE_H 49 #define ENGINE_BUFFHANDLE_H 85 , subClassification_(detail)
94 bool verifyValidity()
const;
95 size_t determineBufferSize()
const;
97 operator HashVal()
const {
return subClassification_; }
125 : descriptor_(typeInfo)
126 , pBuffer_(static_cast<PBuff>(storage))
131 explicit operator bool()
const {
return isValid(); }
138 template<
typename BU>
141 template<
typename BU>
157 return bool(pBuffer_)
158 && descriptor_.verifyValidity();
170 return descriptor_.determineBufferSize();
174 template<
typename BU>
175 void takeOwnershipFor();
176 void takeOwnershipFor(
BuffDescr const& type);
178 void emergencyCleanup();
Framework for classification of media streams.
An opaque descriptor to identify the type and further properties of a data buffer.
Steam-Layer implementation namespace root.
uint announce(uint count)
convenience shortcut to start a buffer handling cycle
BuffHandle(BuffDescr const &typeInfo, void *storage=0)
Lumiera error handling (C++ interface).
Hash value types and utilities.
Handle for a buffer for processing data, abstracting away the actual implementation.
size_t HashVal
a STL compatible hash value
Interface: a facility providing and managing working buffers for media calculations.
placeholder type for the contents of a data buffer.