14 #include <type_traits>
15 #include <string_view>
59 #ifdef USE_ADTF_MEDIA_DESCRIPTION_LEGACY
60 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
71 template<
typename Struct>
90 template<
typename MetaType>
92 m_pStreamType(ucom::ant::
make_object_ptr<streaming::ant::cStreamType>(oMetaType))
101 template<
typename Struct>
118 template<
typename StructType>
Helper class that wraps different objects into an adtf::streaming::ant::IStreamType.
cStreamTypeHelper(const streaming::ant::IStreamType &oExistingType)
Initialize the helper with an existing IStreamType reference.
cStreamTypeHelper(const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pExistingType)
Initialize the helper with an existing const IStreamType pointer.
cStreamTypeHelper(const ucom::ant::iobject_ptr< streaming::ant::IStreamType > &pExistingType)
Initialize the helper with an existing IStreamType pointer.
cStreamTypeHelper(const ddl::DDStructure &oTypeDefinition)
Initialize the helper with a structure definition.
ucom::ant::object_ptr< const streaming::ant::IStreamType > GetStreamType() const
cStreamTypeHelper(std::nullptr_t pNull)
Initialize with an empty stream type.
cStreamTypeHelper(const MetaType &oMetaType, const std::enable_if_t< streaming::flash::is_stream_meta_type< MetaType >::value > *=nullptr)
Initializes the helper with a stream meta type.
cStreamTypeHelper(const mediadescription::osborn::description< Struct > &)
Initializes the helper with a generated media description.
cStreamTypeHelper(const streaming::hollow::cSubStreamTypes &oSubStreams)
Initialize the helper with a Substream helper.
cStreamTypeHelper(const mediadescription::osborn::structure< StructType > &oGeneratorStructure)
Initializes the helper with a type reflection generated media description.
Helper class to create a stream type with multiple Substreams.
void SetSubStream(const char *strName, uint32_t nSubStreamId, const flash::cStreamTypeHelper &oType)
Adds or updates a Substream.
void SetSubStream(std::string_view strName, uint32_t nSubStreamId, const flash::cStreamTypeHelper &oType)
Adds or updates a Substream.
Defines access methods for the interface of a Stream Type - see also Stream Type and Stream Meta Type...
Helper class to create a stream type with multiple Substreams.
cSubStreamTypes(const MetaType &=MetaType())
Constructor.
Base object pointer to realize binary compatible reference counting in interface methods.
Object pointer implementation used for reference counting on objects of type IObject.
Utility class for a complete valid data definition of one StructType and its dependencies.
Copyright © Audi Electronics Venture GmbH.
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.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.