ADTF
Loading...
Searching...
No Matches
adtf::streaming::ISampleBufferFactory Class Referenceabstract

bring latest ant::ISampleBufferFactory to users scope More...

#include <samplebuffer_intf.h>

Inherits adtf::ucom::ant::IObject.

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
 
- Public Member Functions inherited from adtf::ucom::ant::IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 

Protected Member Functions

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

Detailed Description

bring latest ant::ISampleBufferFactory to users scope

The SampleBuffer factory manages and can create SampleBuffers

Member Function Documentation

◆ GetBuffer()

virtual tResult adtf::streaming::ant::ISampleBufferFactory::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.

The documentation for this class was generated from the following file: