ADTF
Loading...
Searching...
No Matches
ISampleBufferFactoryabstract

The SampleBuffer factory manages and can create SampleBuffers. More...

#include <samplebuffer_intf.h>

Inheritance diagram for ISampleBufferFactory:
[legend]

Public Member Functions

 ADTF_IID (ISampleBufferFactory, "samplebufferfactory.ant.streaming.adtf.iid")
 defintion of interfac id
 
virtual tResult GetBuffer (ucom::ant::iobject_ptr< ISampleBuffer > &pBuffer, size_t szPreAllocateSize)=0
 Retrieve a Buffer of the factory with the szPreAllocateSize in bytes.
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast()
 

Protected Member Functions

 ~ISampleBufferFactory ()=default
 not destructable
 
- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

The SampleBuffer factory manages and can create SampleBuffers.

Definition at line 104 of file samplebuffer_intf.h.

Member Function Documentation

◆ GetBuffer()

virtual tResult GetBuffer ( ucom::ant::iobject_ptr< ISampleBuffer > & pBuffer,
size_t szPreAllocateSize )
pure virtual

Retrieve a Buffer of the factory with the szPreAllocateSize in bytes.

Parameters
pBuffer[in,out] object refernce to set the created buffer to.
szPreAllocateSize[in] size in byte which to preallocate.
Returns
Standard Result Code.