ADTF  3.13.0
cStaticSampleCodec

Codec for samples with static data. More...

Inheritance diagram for cStaticSampleCodec:
[legend]

Public Member Functions

 cStaticSampleCodec ()=default
 Default constructor.
 
 cStaticSampleCodec (cStaticSampleCodec &&)=default
 Move constructor.
 
cStaticSampleCodecoperator= (cStaticSampleCodec &&)=default
 Move assignment operator.
 
- Public Member Functions inherited from cStaticCodec
 cStaticCodec ()=default
 Default constructor.
 
 cStaticCodec (cStaticCodec &&)=default
 Move constructor.
 
cStaticCodecoperator= (cStaticCodec &&)=default
 Move assignment operator.
 
tResult SetElementValue (tSize nIndex, const tVoid *pValue)
 Sets the current value of the given element by copying its data from the passed-in location. More...
 
tResult SetElementValue (tSize nIndex, const A_UTILS_NS::cVariant &oValue)
 Sets the current value of the given element to the given value. More...
 
tVoidGetElementAddress (tSize nIndex)
 
tResult SetConstants ()
 Sets all elements to their constant values defined in the DDL. More...
 
const tVoidGetElementAddress (tSize nIndex) const
 
- Public Member Functions inherited from cStaticDecoder
 cStaticDecoder ()
 Default constructor.
 
 cStaticDecoder (cStaticDecoder &&)=default
 Move constructor.
 
cStaticDecoderoperator= (cStaticDecoder &&)=default
 Move assignment operator.
 
virtual tResult IsValid () const
 
virtual tSize GetElementCount () const
 
tResult GetElement (tSize nIndex, const tStructElement *&pElement) const
 Access information about an element. More...
 
tResult GetElementValue (tSize nIndex, tVoid *pValue) const
 Returns the current value of the given element by copying its data to the passed-in location. More...
 
tResult GetElementValue (tSize nIndex, A_UTILS_NS::cVariant &oValue) const
 Returns the current value of the given element as a variant. More...
 
const tVoidGetElementAddress (tSize nIndex) const
 
tSize GetStaticBufferSize (tDataRepresentation eRep=tDataRepresentation::Deserialized) const
 
tDataRepresentation GetRepresentation () const
 

Private Member Functions

 cStaticSampleCodec (adtf_ddl::cStaticCodec &&oCodec, adtf::ucom::object_ptr_locked< adtf::streaming::ISampleBuffer > &&pBuffer)
 For internal use only.
 

Private Attributes

adtf::ucom::object_ptr_locked< adtf::streaming::ISampleBufferm_pBuffer
 For internal use only.
 

Additional Inherited Members

- Protected Member Functions inherited from cStaticDecoder
 cStaticDecoder (std::shared_ptr< const cStructLayout > pLayout, const tVoid *pData, tSize nDataSize, tDataRepresentation eRep)
 For internal use only.
 
virtual const tStructLayoutElement * GetLayoutElement (tSize nIndex) const
 For internal use only.
 
- Protected Attributes inherited from cStaticDecoder
std::shared_ptr< const cStructLayout > m_pLayout
 For internal use only.
 
const tVoidm_pData
 For internal use only.
 
tSize m_nDataSize
 For internal use only.
 
const cElementAccessor * m_pElementAccessor
 For internal use only.
 

Detailed Description

Codec for samples with static data.

Definition at line 62 of file sample_codec.h.


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Tue Sep 28 2021 by doxygen 1.8.14)