ADTF  3.18.2
sample_codec.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Classes

class  cSampleDecoderBase
 Decoder Base Class. More...
 
class  cStaticSampleDecoder
 Decoder for samples with static data content. More...
 
class  cStaticSampleCodec
 Codec for samples with static data content. More...
 
class  cSampleDecoder
 Decoder for samples with static and/or dynamic data. More...
 
class  cSampleCodec
 Codec for samples with static and/or dynamic data. More...
 
class  cSampleCodecFactory
 Factory class for ddl codecs for samples. More...
 

Namespaces

 adtf
 Namespace for entire ADTF SDK.
 
 adtf::mediadescription
 Namespace for the ADTF Media Description SDK.
 
 adtf::mediadescription::osborn
 Namespace for all functionality provided since v3.14.
 
 adtf::mediadescription::quiet
 Namespace for all functionality provided since v3.16.
 

Typedefs

template<typename ElementsType >
using element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &)>
 Callback type for member elements.
 
template<typename ElementsType >
using element_control_callback = std::function< bool(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &)>
 Callback type for member elements. More...
 
template<typename ElementsType >
using array_element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, size_t)>
 Callback type for array elements. More...
 
template<typename ElementsType >
using array_element_control_callback = std::function< bool(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, size_t)>
 Callback type for array elements. More...
 
template<typename ElementsType >
using element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, const ddl::dd::datamodel::StructType::Element &)>
 Callback type for member elements.
 
template<typename ElementsType >
using element_control_callback = std::function< bool(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, const ddl::dd::datamodel::StructType::Element &)>
 Callback type for member elements. More...
 
template<typename ElementsType >
using array_element_callback = std::function< void(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, size_t, const ddl::dd::datamodel::StructType::Element &)>
 Callback type for array elements. More...
 
template<typename ElementsType >
using array_element_control_callback = std::function< bool(std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &, size_t, const ddl::dd::datamodel::StructType::Element &)>
 Callback type for array elements. More...
 

Functions

template<typename ElementsType >
void for_each_leaf_element (ElementsType &oElements, const element_callback< ElementsType > &fnCallback)
 Iterates ALL leaf elements within ALL array elements. More...
 
template<typename T >
std::vector< tCodecIndex > get_codec_indices (const T &oDecoderOrFactory)
 Get the codec indices object. More...
 
template<typename ElementsType >
void for_each_element (ElementsType &oElements, const element_callback< ElementsType > &fnCallback)
 Iterates elements without array elements (also structures). More...
 
template<typename ElementsType >
void for_each_element_infix (ElementsType &oElements, const element_callback< ElementsType > &fnLeafCallback, const element_control_callback< ElementsType > &fnEnterMemberCallback, const element_callback< ElementsType > &fnLeaveMemberCallback, const array_element_control_callback< ElementsType > &fnEnterArrayMemberCallback, const array_element_callback< ElementsType > &fnLeaveArrayMemberCallback)
 Iterates elements and array elements in a callback-controlled fashion. More...
 
template<typename T >
adtf_util::cVariant get_value_as_variant (const T &oDecoder, const tCodecIndex &oCodecIndex)
 Get value as variant. More...
 
template<typename ElementsType >
void for_each_element_infix (ElementsType &oElements, const ddl::dd::datamodel::StructType::Elements &oModelElements, const ddl::dd::datamodel::DataDefinition &oDataDefinition, const element_callback< ElementsType > &fnLeafCallback, const element_control_callback< ElementsType > &fnEnterMemberCallback, const element_callback< ElementsType > &fnLeaveMemberCallback, const array_element_control_callback< ElementsType > &fnEnterArrayMemberCallback, const array_element_callback< ElementsType > &fnLeaveArrayMemberCallback)
 Iterates elements and array elements in a callback-controlled fashion. More...
 
template<typename ElementsType >
void for_each_element_infix (std::conditional_t< std::is_const< ElementsType >::value, const typename ElementsType::element_type, typename ElementsType::element_type > &oCurrentElement, const ddl::dd::datamodel::StructType::Element &oModelElement, const ddl::dd::datamodel::DataDefinition &oDataDefinition, const element_callback< ElementsType > &fnLeafCallback, const element_control_callback< ElementsType > &fnEnterMemberCallback, const element_callback< ElementsType > &fnLeaveMemberCallback, const array_element_control_callback< ElementsType > &fnEnterArrayMemberCallback, const array_element_callback< ElementsType > &fnLeaveArrayMemberCallback)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file sample_codec.h.