ADTF  3.14.3
cCodecLegacy< CodecType >abstract

Legacy class for cSampleCodec and cStaticSampleCodec. More...

Public Member Functions

tResult SetElementValue (tCodecLeafIndex nElementLeafIndex, const adtf_util::cVariant &oValue)
 Legacy: Set the Element Value. More...
 
tResult SetElementValue (const char *strElementName, const adtf_util::cVariant &oValue)
 Legacy: Set the Element Value. More...
 
void * GetElementAddress (tCodecLeafIndex nElementLeafIndex)
 Legacy:Get the Element Address object. More...
 

Protected Member Functions

virtual CodecType * getCodec ()=0
 Get the Codec. More...
 

Detailed Description

template<typename CodecType>
class adtf::mediadescription::osborn::adtf_ddl_access::cCodecLegacy< CodecType >

Legacy class for cSampleCodec and cStaticSampleCodec.

Template Parameters
CodecTypethe base type for the coder (ddlCodec or ddl::StaticCodec)
See also
The Codec Leaf Index.

Definition at line 169 of file sample_codec_access_legacy.h.

Member Function Documentation

◆ getCodec()

virtual CodecType* getCodec ( )
protectedpure virtual

◆ GetElementAddress()

void* GetElementAddress ( tCodecLeafIndex  nElementLeafIndex)
inline

Legacy:Get the Element Address object.

Parameters
nElementLeafIndexThe leaf index (between 0 and GetElementCount())
Return values
void*Pointer into data structure
nullptrElement not found

Definition at line 227 of file sample_codec_access_legacy.h.

References cCodecLegacy< CodecType >::getCodec().

◆ SetElementValue() [1/2]

tResult SetElementValue ( const char *  strElementName,
const adtf_util::cVariant &  oValue 
)
inline

Legacy: Set the Element Value.

Parameters
strElementNameThe element name
oValuethe value to set
Returns
tResult
Remarks
This function does not throw!

Definition at line 205 of file sample_codec_access_legacy.h.

References cCodecLegacy< CodecType >::getCodec().

◆ SetElementValue() [2/2]

tResult SetElementValue ( tCodecLeafIndex  nElementLeafIndex,
const adtf_util::cVariant &  oValue 
)
inline

Legacy: Set the Element Value.

Parameters
nElementLeafIndexThe leaf index (between 0 and GetElementCount())
oValuethe value to set
Returns
tResult
Remarks
This function does not throw!

Definition at line 182 of file sample_codec_access_legacy.h.

References cCodecLegacy< CodecType >::getCodec().


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Thu Jun 9 2022 by doxygen 1.9.1)