Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



IPvGenDCChunkData Class Referenceabstract

Generic chunk data interface for GenDC parts. More...

#include <PvGenDCInterfaces.h>

Public Member Functions

virtual bool HasChunks () const =0
 Returns true if the buffer has data chunks. More...
 
virtual uint32_t GetChunkCount () const =0
 Returns the number of chunks. More...
 
virtual PvResult GetChunkIDByIndex (uint32_t aIndex, uint32_t &aID) const =0
 Get chunk ID by index. More...
 
virtual uint32_t GetChunkSizeByIndex (uint32_t aIndex) const =0
 Get chunk size by index. More...
 
virtual uint32_t GetChunkSizeByID (uint32_t aID) const =0
 Get chunk size by ID. More...
 
virtual const uint8_t * GetChunkRawDataByIndex (uint32_t aIndex) const =0
 Get chunk raw data by index. More...
 
virtual const uint8_t * GetChunkRawDataByID (uint32_t aID) const =0
 Get chunk raw data by ID. More...
 
virtual uint32_t GetChunkLayoutID () const =0
 Get the chunk data layout ID. More...
 

Detailed Description

Generic chunk data interface for GenDC parts.

This interface provides access to chunk data within a GenDC part

Member Function Documentation

◆ GetChunkCount()

virtual uint32_t IPvGenDCChunkData::GetChunkCount ( ) const
pure virtual

Returns the number of chunks.

Returns
Data chunks count. 0 if no chunks are available.

◆ GetChunkIDByIndex()

virtual PvResult IPvGenDCChunkData::GetChunkIDByIndex ( uint32_t  aIndex,
uint32_t &  aID 
) const
pure virtual

Get chunk ID by index.

Parameters
[in]aIndexData chunk index.
[out]aIDData chunk ID for aIndex.
Returns
Includes:

◆ GetChunkLayoutID()

virtual uint32_t IPvGenDCChunkData::GetChunkLayoutID ( ) const
pure virtual

Get the chunk data layout ID.

Returns
The current chunk data layout ID.

◆ GetChunkRawDataByID()

virtual const uint8_t* IPvGenDCChunkData::GetChunkRawDataByID ( uint32_t  aID) const
pure virtual

Get chunk raw data by ID.

Parameters
[in]aIDData chunk ID.
Returns
Pointer to chunk data. NULL if the chunk ID is not found.

◆ GetChunkRawDataByIndex()

virtual const uint8_t* IPvGenDCChunkData::GetChunkRawDataByIndex ( uint32_t  aIndex) const
pure virtual

Get chunk raw data by index.

Parameters
[in]aIndexData chunk index.
Returns
Pointer to chunk data. NULL if the index is out of range.

◆ GetChunkSizeByID()

virtual uint32_t IPvGenDCChunkData::GetChunkSizeByID ( uint32_t  aID) const
pure virtual

Get chunk size by ID.

Parameters
[in]aIDData chunk ID.
Returns
Data chunk size. 0 if the chunk ID is not found.

◆ GetChunkSizeByIndex()

virtual uint32_t IPvGenDCChunkData::GetChunkSizeByIndex ( uint32_t  aIndex) const
pure virtual

Get chunk size by index.

Parameters
[in]aIndexData chunk index.
Returns
Data chunk size. 0 if the index is out of range.

◆ HasChunks()

virtual bool IPvGenDCChunkData::HasChunks ( ) const
pure virtual

Returns true if the buffer has data chunks.

Returns
True if the buffer holds data chunks, false if not.

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

Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com