|
| | cSampleWithCodec ()=default |
| |
| | cSampleWithCodec (cSampleCodec &&oCodec, const ucom::ant::iobject_ptr< const streaming::ant::ISample > &pSample) |
| |
| | cSampleWithCodec (cSampleWithCodec &&)=default |
| |
| cSampleWithCodec & | operator= (cSampleWithCodec &&)=default |
| |
| virtual | ~cSampleWithCodec () |
| |
| ucom::ant::object_ptr< const streaming::ant::ISample > | Release () |
| |
| | cSampleCodec () |
| |
| | cSampleCodec (cSampleCodec &&) |
| |
| cSampleCodec & | operator= (cSampleCodec &&) |
| |
| template<typename T> |
| void | SetElementValue (const tCodecIndex &oCodecIndex, const T &oValue) |
| | Sets the elements value from the given oValue. If this element is a enum type the enum types element name can be used in oValue if T = std::string. Otherwise the string value is automatically converted to the elments data type.
|
| |
| template<typename T> |
| void | SetElementValue (const tLeafCodecIndex &oLeafCodecIndex, const T &oValue) |
| | Sets the elements value from the given oValue. If this element is a enum type the enum types element name can be used in oValue if T = std::string. Otherwise the string value is automatically converted to the elments data type. You may use a valid codec index retrieved by the cSampleCodecFactory, but no other! This is to prepare for codec processing in advance:
|
| |
| void | SetElementVariantValue (const tCodecIndex &oCodecIndex, const a_util::variant::Variant &oValue) |
| |
| void | SetElementStringValue (const tCodecIndex &oCodecIndex, const std::string &strValue) |
| |
| void | SetElementRawValue (const tCodecIndex &oCodecIndex, const void *pValue, size_t szValueSize) |
| | Sets the elements value by copy the memory from pValue. You may use a valid codec index retrieved by the cSampleCodecFactory, but no other! This is to prepare for codec processing in advance:
|
| |
| void * | GetElementAddress (const tCodecIndex &oCodecIndex) |
| | Gets the elements value memory pointer into the given data for writig access.
|
| |
| tElement | GetElement (const tCodecIndex &oCodecIndex) |
| |
| tElement | GetElement (std::string_view strElementFullName) |
| |
| tElements & | GetElements () |
| |
| void * | GetElementAddress (std::string_view strElementFullName) |
| | Gets the elements value memory pointer into the given data for writing access.
|
| |
| size_t | GetBufferSize () const |
| | Gets the buffer size in bytes for the main structure.
|
| |
| size_t | GetBufferSize (ddl::tDataRepresentation eRep) const |
| | Gets the buffer size in bytes for the main structure.
|
| |
| const void * | GetData () const |
| | Get the current data pointer.
|
| |
| void * | GetData () |
| | Get the current data pointer for writing access.
|
| |
| size_t | GetDataSize () const |
| | Get the current data size.
|
| |
| tElement | GetElement (const tCodecIndex &oCodecIndex) const |
| |
| tElement | GetElement (std::string_view strElementFullName) const |
| |
| tResult | GetElement (tCodecLeafIndex nElementLeafIndex, const ddl::StructElement *&pElement) const |
| | Get the Element StructElement information.
|
| |
| const tElements & | GetElements () const |
| |
| const void * | GetElementAddress (const tCodecIndex &oCodecIndex) const |
| | Gets the elements value memory pointer into the given data.
|
| |
| const void * | GetElementAddress (tCodecLeafIndex nElementLeafIndex) const |
| | Legacy: Get the Element StructElement information.
|
| |
| | cSampleDecoderBase () |
| |
| | cSampleDecoderBase (cSampleDecoderBase &&) |
| |
| cSampleDecoderBase & | operator= (cSampleDecoderBase &&) |
| |
| tResult | IsValid () const |
| |
| tElement | GetElement (const tCodecIndex &oCodecIndex) const |
| |
| tElement | GetElement (std::string_view strElementFullName) const |
| |
| tElement | GetChildElement (const tCodecIndex &oCodecIndex, std::string_view strElementPath) const |
| |
| const tElements & | GetElements () const |
| |
| size_t | GetElementChildCount (const tCodecIndex &oCodecIndex) const |
| |
| std::string | GetElementFullName (const tCodecIndex &oCodecIndex) const |
| | Retrieves the full name of the element within its main structure.
|
| |
| std::string | GetElementName (const tCodecIndex &oCodecIndex) const |
| | Retrieves the name of the element within its structured element.
|
| |
| const std::string & | GetElementBaseName (const tCodecIndex &oCodecIndex) const |
| | Retrieves the base name of the element within its structured element.
|
| |
| size_t | GetStaticBufferSize () const |
| | Gets the static buffer size in bytes for the main structure.
|
| |
| size_t | GetStaticBufferSize (ddl::tDataRepresentation eRep) const |
| | Gets the static buffer size in bytes for the main structure.
|
| |
| ddl::tDataRepresentation | GetRepresentation () const |
| |
| template<typename T> |
| T | GetElementValue (const tCodecIndex &oCodecIndex) const |
| | Gets the elements value as value of type T. You may use a valid codec index retrieved by the cSampleCodecFactory, but no other! This is to prepare for decoding in advance:
|
| |
| template<typename T> |
| T | GetElementValue (const penguin::tLeafCodecIndex &oLeafCodecIndex) const |
| | Gets the elements value as value of type T. You may use a valid codec index retrieved by the cSampleCodecFactory, but no other! This is to prepare for decoding in advance:
|
| |
| a_util::variant::Variant | GetElementVariantValue (const tCodecIndex &oCodecIndex) const |
| |
| void | GetElementVariantValue (const tCodecIndex &oCodecIndex, a_util::variant::Variant &oValue) const |
| |
| std::string | GetElementStringValue (const tCodecIndex &oCodecIndex) const |
| |
| void | GetElementRawValue (const tCodecIndex &oCodecIndex, void *pValue, size_t szValueSize) const |
| | Copies the elements value to the given memory pointer in pValue.
|
| |
| const void * | GetElementAddress (const tCodecIndex &oCodecIndex) const |
| | Gets the elements value memory pointer into the given data.
|
| |
| void | Resolve (tCodecIndex &oCodecIndex) const |
| |
| tResult | GetElement (tCodecLeafIndex nElementLeafIndex, const ddl::StructElement *&pElement) const |
| | Get the Element StructElement information.
|
| |
| adtf_util::cVariant | GetElementValue (tCodecLeafIndex nElementLeafIndex) const |
| | Legacy: Get the Element Value.
|
| |
| tResult | GetElementValue (tCodecLeafIndex nElementLeafIndex, adtf_util::cVariant &oValue) const |
| | Legacy: Get the Element Value.
|
| |
| tResult | GetElementValue (const char *strElementName, adtf_util::cVariant &oValue) const |
| | Legacy: Get the Element Value.
|
| |
| tResult | GetElementValue (tCodecLeafIndex nElementLeafIndex, void *pValue) const |
| | Legacy: Copies the Element Value memory into the memory pointer. Keep in MIND this function is UNSAFE in case of value memory is biger than the given one.
|
| |
| tResult | GetElementValue (const char *strElementName, void *pValue) const |
| | Legacy: Get the Element Value pointer.
|
| |
| const void * | GetElementAddress (tCodecLeafIndex nElementLeafIndex) const |
| | Legacy: Get the Element StructElement information.
|
| |
| tCodecIndex | Resolve (tCodecLeafIndex nElementLeafIndex) const |
| |
| tCodecIndex | Resolve (tCodecLeafIndex nElementLeafIndex) const |
| |
| adtf_util::cVariant | GetElementValue (tCodecLeafIndex nElementLeafIndex) const |
| | Legacy: Get the Element Value.
|
| |
| tResult | GetElementValue (tCodecLeafIndex nElementLeafIndex, adtf_util::cVariant &oValue) const |
| | Legacy: Get the Element Value.
|
| |
| tResult | GetElementValue (const char *strElementName, adtf_util::cVariant &oValue) const |
| | Legacy: Get the Element Value.
|
| |
| tResult | GetElementValue (tCodecLeafIndex nElementLeafIndex, void *pValue) const |
| | Legacy: Copies the Element Value memory into the memory pointer. Keep in MIND this function is UNSAFE in case of value memory is biger than the given one.
|
| |
| tResult | GetElementValue (const char *strElementName, void *pValue) const |
| | Legacy: Get the Element Value pointer.
|
| |
| adtf_util::cString | GetElementValueString (tCodecLeafIndex nElementLeafIndex) const |
| | Legacy: Get the Element Value as string (resolved to the enum element name if is enum type)
|
| |
| tResult | GetElement (tCodecLeafIndex nElementLeafIndex, const ddl::StructElement *&pElement) const |
| | Get the Element StructElement information.
|
| |
| const void * | GetElementAddress (tCodecLeafIndex nElementLeafIndex) const |
| | Legacy: Get the Element StructElement information.
|
| |
| size_t | GetElementCount () const |
| | Legacy: Get the Element Leaf count.
|
| |
| tResult | SetElementValue (tCodecLeafIndex nElementLeafIndex, const adtf_util::cVariant &oValue) |
| | Legacy: Set the Element Value.
|
| |
| tResult | SetElementValue (const char *strElementName, const adtf_util::cVariant &oValue) |
| | Legacy: Set the Element Value.
|
| |
| void * | GetElementAddress (tCodecLeafIndex nElementLeafIndex) |
| | Legacy:Get the Element Address object.
|
| |
Helper class that combines a Sample Codec with a Sample instance.