14 #ifdef USE_ADTF_MEDIA_DESCRIPTION_LEGACY
15 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
25 namespace mediadescription
37 ADTF3_DEPRECATED(
"Use adtf::ucom::make_object_ptr<stream_type_default<>>(const char*, const char*, "
38 "ddl::tDataRepresentation) instead!")
79 cSampleCodecFactory& oFactory,
92 tResult get_stream_description_xml(const
char* strName,
93 const
adtf::streaming::IStreamType& oStreamType,
94 adtf::base::IString&& strDDLStream);
96 tResult create_stream_type_from_xml(const
char* strXML,
97 adtf::base::IString&& strName,
101 const
adtf::streaming::IStreamType*>> oStreams,
102 adtf::base::IString&& strDDLStreams);
137 template<typename Struct>
141 static_assert(has_description_v<Struct>,
142 "create_adtf_default_stream_type<T>() can only be used if ddl description was generated with adtf_mdgen! "
143 "If you have another source for the description, use create_adtf_default_stream_type(...).");
146 description<Struct>::definition);
157 ADTF3_DEPRECATED(
"Use adtf::ucom::make_object_ptr<stream_type_default<>>(const char*, ddl::tDataRepresentation) instead!")
158 ucom::ant::
object_ptr<streaming::ant::IStreamType>
159 stream_type_from_service(const
char* strStructName,
168 using osborn::get_stream_description_xml;
169 using osborn::create_stream_type_from_xml;
170 using osborn::stream_type_from_service;
Copyright © Audi Electronics Venture GmbH.
#define ADTF3_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.
A common result class usable as return value throughout.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
std::enable_if< !std::is_base_of< enable_object_ptr_from_this< typename std::remove_cv< Implementation >::type >, typename std::remove_cv< Implementation >::type >::value, object_ptr< Implementation > >::type make_object_ptr(Args &&... args)
Create an instance of type object_ptr with Implementation as the shared resource.
ant::object_ptr< T > object_ptr
Alias always bringing the latest version of ant::object_ptr into scope.
ant::iobject_ptr< T > iobject_ptr
Alias always bringing the latest version of ant::iobject_ptr into scope.
ADTF adtf_util Namespace - Within adtf this is used as adtf::util or adtf_util and also defined as A_...
Namespace for entire ADTF SDK.
dd::DataDefinition DataDescription
Alias Name for DataDefinition, formally known as DataDescription.
definition of the ddl namespace
@ Deserialized
alias names for legacy reasons
DataRepresentation tDataRepresentation
Typedef provided for compatibility reasons.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.