132 return !(oLeft == oRight);
194 ADTF3_DEPRECATED(
"Use adtf::ucom::make_object_ptr<stream_type_audio<>>() instead!")
206 ADTF3_DEPRECATED(
"Use adtf::ucom::make_object_ptr<stream_type_audio<>>(const tStreamAudioFormat&) instead!")
226 template<
typename T = lucky::tStreamAudioFormat>
229 static_assert(std::is_same_v<lucky::tStreamAudioFormat, T>,
230 "Currently only T=lucky::tStreamAudioFormat is possible."
231 "To support your own type you need to specialize this template stream_type_audio<T>");
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.
Property property implementation template.
Defines access methods for the interface of a Stream Type - see also Stream Type and Stream Meta Type...
virtual tResult GetMetaTypeName(base::ant::IString &&strTypeName) const =0
Get the meta type name of this instance.
Default StreamType implementation.
Generator template to create an instance of a ant::IStreamType class for ant::stream_meta_type_audio ...
Base object pointer to realize binary compatible reference counting in interface methods.
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
ucom::ant::object_ptr< ant::IStreamType > create_adtf_audio_stream_type()
Convinience functionality to create a stream type audio - see Stream Meta Type "adtf/audio".
tResult set_stream_type_audio_format(IStreamType &oType, const tStreamAudioFormat &sFormat)
sets the audio format properties within the stream type if meta type "adtf/audio" is set
bool operator==(const tStreamAudioFormat &oLeft, const tStreamAudioFormat &oRight)
is equal operator to compare tStreamAudioFormat
bool operator!=(const tStreamAudioFormat &oLeft, const tStreamAudioFormat &oRight)
is not equal operator to compare tStreamAudioFormat
tResult get_stream_type_audio_format(tStreamAudioFormat &sFormat, const IStreamType &oType)
retrievs the audio format from the properties of the stream type if meta type "adtf/audio" is set.
ant::object_ptr< T > object_ptr
Alias always bringing the latest version of ant::object_ptr into scope.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
#define RETURN_ERROR(code)
Return specific error code, which requires the calling function's return type to be tResult.
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
Copyright © Audi Electronics Venture GmbH.
#define adtf_string_intf(__string__)
The adtf_string_intf Macro helps to easily create a rvalue reference of a adtf::util::cString.
#define THROW_IF_FAILED(s)
throws if the expression returns a failed tResult