bring latest ant::ISampleBuffer to users scope
More...
#include <samplebuffer_intf.h>
Inherits adtf::ucom::ant::ISharedLockedObject.
|
|
| ~ISampleBuffer ()=default |
| | not destructable
|
| |
|
| ~ISharedLockedObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
|
| ~ILockedObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
|
| ~IObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
bring latest ant::ISampleBuffer to users scope
The SampleBuffer is the memory block object for the data of a ISample.
◆ GetCapacity()
| virtual size_t adtf::streaming::ant::ISampleBuffer::GetCapacity |
( |
| ) |
const |
|
pure virtual |
Returns the current maximal capacity in bytes.
◆ GetPtr() [1/2]
| virtual const void * adtf::streaming::ant::ISampleBuffer::GetPtr |
( |
| ) |
const |
|
pure virtual |
Direct Reading Access. Retrieves the raw buffer content pointer.
- Returns
- the buffers raw pointer.
◆ GetPtr() [2/2]
| virtual void * adtf::streaming::ant::ISampleBuffer::GetPtr |
( |
| ) |
|
|
pure virtual |
Direct Writing Access. Retrieves the raw buffer content pointer.
- Warning
- Do not write more than GetSize() bytes !
- Returns
- the buffers raw pointer.
◆ GetSize()
| virtual size_t adtf::streaming::ant::ISampleBuffer::GetSize |
( |
| ) |
const |
|
pure virtual |
Returns the current size in bytes.
◆ Read()
Copy Reading Access. The buffer content will be copied to the given memory. Depending on implemntation of the buffer, it will grow automatically.
- Parameters
-
| [in,out] | oBufferRead | Memory to copy to. |
- Returns
- Standard Result Code.
◆ Reserve()
| virtual tResult adtf::streaming::ant::ISampleBuffer::Reserve |
( |
size_t | szSize | ) |
|
|
pure virtual |
Reserves memory. Capacity will be at least szSize bytes. Current data will be lost.
- Parameters
-
| szSize | [in] Size in bytes. |
- Returns
- standard result.
◆ Resize()
| virtual tResult adtf::streaming::ant::ISampleBuffer::Resize |
( |
size_t | szSize | ) |
|
|
pure virtual |
Resizes the Buffer. Capacity will be at least szSize bytes. Current data will be retained.
- Parameters
-
| szSize | [in] Size in bytes. |
- Returns
- standard result.
◆ Write()
Copy Writing Access. The given memory will be copied to the buffer. Depending on implemntation of the buffer, it will grow automatically.
- Parameters
-
| [in] | oBufferWrite | Memory to copy from. |
- Returns
- Standard Result Code.
The documentation for this class was generated from the following file: