ADTF
|
Decoder for samples with static data. More...
Public Member Functions | |
cStaticSampleDecoder ()=default | |
Default constructor. | |
cStaticSampleDecoder (cStaticSampleDecoder &&)=default | |
Move constructor. | |
cStaticSampleDecoder & | operator= (cStaticSampleDecoder &&)=default |
Move assignment operator. | |
Public Member Functions inherited from cStaticDecoder | |
cStaticDecoder () | |
Default constructor. | |
cStaticDecoder (cStaticDecoder &&)=default | |
Move constructor. | |
cStaticDecoder & | operator= (cStaticDecoder &&)=default |
Move assignment operator. | |
virtual tResult | IsValid () const |
virtual size_t | GetElementCount () const |
tResult | GetElement (size_t nIndex, const tStructElement *&pElement) const |
Access information about an element. More... | |
tResult | GetElementValue (size_t nIndex, void *pValue) const |
Returns the current value of the given element by copying its data to the passed-in location. More... | |
tResult | GetElementValue (size_t nIndex, A_UTILS_NS::cVariant &oValue) const |
Returns the current value of the given element as a variant. More... | |
const void * | GetElementAddress (size_t nIndex) const |
size_t | GetStaticBufferSize (tDataRepresentation eRep=tDataRepresentation::Deserialized) const |
tDataRepresentation | GetRepresentation () const |
A_UTILS_NS::cString | GetElementValueString (size_t nIndex) const |
Returns the current value of the given element as a string. More... | |
Private Member Functions | |
cStaticSampleDecoder (adtf_ddl::cStaticDecoder &&oDecoder, adtf::ucom::object_ptr_shared_locked< const adtf::streaming::ISampleBuffer > &&pBuffer) | |
For internal use only. | |
Private Attributes | |
adtf::ucom::object_ptr_shared_locked< const adtf::streaming::ISampleBuffer > | m_pBuffer |
For internal use only. | |
Additional Inherited Members | |
Public Types inherited from cStaticDecoder | |
typedef adtf_ddl::tStructElement | DefinedStructElementType |
Static Public Member Functions inherited from cStaticDecoder | |
static const char * | GetStructElementName (const tStructElement *pElement) |
Access information about an element. More... | |
Protected Member Functions inherited from cStaticDecoder | |
cStaticDecoder (std::shared_ptr< const cStructLayout > pLayout, const void *pData, size_t nDataSize, tDataRepresentation eRep) | |
For internal use only. | |
virtual const tStructLayoutElement * | GetLayoutElement (size_t nIndex) const |
For internal use only. | |
Protected Attributes inherited from cStaticDecoder | |
std::shared_ptr< const cStructLayout > | m_pLayout |
For internal use only. | |
const void * | m_pData |
For internal use only. | |
size_t | m_nDataSize |
For internal use only. | |
const cElementAccessor * | m_pElementAccessor |
For internal use only. | |
Decoder for samples with static data.
Definition at line 27 of file sample_codec_legacy.h.