13 #include <type_traits>
14 #include <string_view>
39 static constexpr
const char*
const MetaTypeName =
"adtf/substreams";
45 static constexpr
const char*
const SubStreams =
"substreams";
144 template <typename MetaType = stream_meta_type_substreams, typename = std::enable_if_t<is_stream_meta_type<MetaType>::value, MetaType>>
200 class cImplementation;
201 std::unique_ptr<cImplementation> m_pImplementation;
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
A common result class usable as return value throughout.
Defintion of a property set container interface.
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.
void SetSubStream(std::string_view strName, uint32_t nSubStreamId, const ucom::ant::iobject_ptr< const ant::IStreamType > &pType)
Adds or updates a Substream.
virtual ~cSubStreamTypes()
Destructor.
ucom::ant::object_ptr< ant::IStreamType > GetStreamType() const
Get a Stream Type that contains all currently set Substreams.
void SetSubStream(const char *strName, uint32_t nSubStreamId, const ucom::ant::iobject_ptr< const ant::IStreamType > &pType)
Adds or updates a Substream.
cSubStreamTypes(const ucom::ant::iobject_ptr< const ant::IStreamMetaType > &pMetaType)
Constructor.
void SetRequestProperties(const base::ant::IProperties &oProperties, const char *strSubStreamName="")
Sets the common or Substream specific request properties.
ucom::ant::object_ptr< const streaming::ant::IStreamType > GetSubStreamType(const char *strName) const
Retrieve the Stream Type of a given Substream.
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.
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.
object_ptr< T > ucom_object_ptr_cast(const iobject_ptr< U > &i_oOther)
Create an object_ptr with an already shared resource of implicitly convertible type.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.