56 #ifndef ENGINE_BUFFHANDLE_H 57 #define ENGINE_BUFFHANDLE_H 93 , subClassification_(detail)
102 bool verifyValidity()
const;
103 size_t determineBufferSize()
const;
105 operator HashVal()
const {
return subClassification_; }
129 : descriptor_(typeInfo)
130 , pBuffer_(static_cast<PBuff>(storage))
135 explicit operator bool()
const {
return isValid(); }
142 template<
typename BU>
145 template<
typename BU>
161 return bool(pBuffer_)
162 && descriptor_.verifyValidity();
174 return descriptor_.determineBufferSize();
178 template<
typename BU>
179 void takeOwnershipFor();
182 void emergencyCleanup();
Framework for classification of media streams.
Steam-Layer implementation namespace root.
BuffHandle(BufferDescriptor const &typeInfo, void *storage=0)
An opaque descriptor to identify the type and further properties of a data buffer.
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.