ADTF
Loading...
Searching...
No Matches
stream_type_helper.h
Go to the documentation of this file.
1
7#pragma once
13
14#include <type_traits>
15#include <string_view>
16
17namespace adtf
18{
19namespace filter
20{
21namespace flash
22{
31{
32public:
37 cStreamTypeHelper(std::nullptr_t pNull);
38
45
53
59
60#ifdef USE_ADTF_MEDIA_DESCRIPTION_LEGACY
61 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
72 template<typename Struct>
74 cStreamTypeHelper(mediadescription::flash::create_adtf_default_stream_type<Struct>())
75 {
76 }
77 #endif
78#endif
84
91 template<typename MetaType>
92 cStreamTypeHelper(const MetaType& oMetaType,
93 const std::enable_if_t<streaming::flash::is_stream_meta_type<MetaType>::value>* = nullptr):
94 m_pStreamType(ucom::ant::make_object_ptr<streaming::ant::cStreamType>(oMetaType))
95 {
96 }
97
102 template<typename Struct>
104 cStreamTypeHelper(mediadescription::stream_type_default<Struct>())
105 {
106 (void) oDescription;
107 }
108
114 cStreamTypeHelper(const ddl::DDStructure& oTypeDefinition);
115
120 template<typename StructType>
122 cStreamTypeHelper(oGeneratorStructure.GetStructure())
123 {
124 }
125
126 cStreamTypeHelper(const cStreamTypeHelper&) = default;
128
129 cStreamTypeHelper& operator=(const cStreamTypeHelper&) = default;
130 cStreamTypeHelper& operator=(cStreamTypeHelper&&) = default;
131
136
137private:
138 cStreamTypeHelper() = delete;
139
141};
142
143} // namespace flash
144
145namespace hollow
146{
154{
155public:
157
164 void SetSubStream(const char* strName, uint32_t nSubStreamId, const flash::cStreamTypeHelper& oType);
165
172 void SetSubStream(std::string_view strName, uint32_t nSubStreamId, const flash::cStreamTypeHelper& oType);
173
180 void AddSubStream(std::string_view strName, uint32_t nSubStreamId, const flash::cStreamTypeHelper& oType);
181};
182
183} // namespace hollow
184
187
188} // namespace filter
189} // namespace adtf
cStreamTypeHelper(std::nullptr_t pNull)
cSubStreamTypes(const MetaType &=MetaType())
Definition streammetatypesubstreams.h:138
Definition stream_type_helper.h:31
ucom::ant::object_ptr< const streaming::ant::IStreamType > GetStreamType() const
cStreamTypeHelper(const MetaType &oMetaType, const std::enable_if_t< streaming::flash::is_stream_meta_type< MetaType >::value > *=nullptr)
Definition stream_type_helper.h:92
cStreamTypeHelper(const mediadescription::osborn::structure< StructType > &oGeneratorStructure)
Definition stream_type_helper.h:121
cStreamTypeHelper(const ddl::DDStructure &oTypeDefinition)
cStreamTypeHelper(const streaming::hollow::cSubStreamTypes &oSubStreams)
cStreamTypeHelper(const ucom::ant::iobject_ptr< streaming::ant::IStreamType > &pExistingType)
cStreamTypeHelper(const streaming::ant::IStreamType &oExistingType)
cStreamTypeHelper(const mediadescription::osborn::description< Struct > &oDescription)
Definition stream_type_helper.h:103
cStreamTypeHelper(const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pExistingType)
cStreamTypeHelper(std::nullptr_t pNull)
Definition stream_type_helper.h:154
void AddSubStream(std::string_view strName, uint32_t nSubStreamId, const flash::cStreamTypeHelper &oType)
void SetSubStream(const char *strName, uint32_t nSubStreamId, const flash::cStreamTypeHelper &oType)
void SetSubStream(std::string_view strName, uint32_t nSubStreamId, const flash::cStreamTypeHelper &oType)
Definition type_reflection_legacy.h:289
Definition type_reflection.h:124
Defines access methods for the interface of a Stream Type.
Definition streamtype_intf.h:96
Definition streammetatypesubstreams.h:130
cSubStreamTypes(const MetaType &=MetaType())
Definition streammetatypesubstreams.h:138
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
Definition object_ptr.h:384
Utility class for a complete valid data definition of one StructType and its dependencies....
Definition ddstructure.h:57
Namespace for all functionality of the ADTF Filter SDK provided since v3.0.
Definition filter.h:26
Namespace for all functionality of the ADTF Filter SDK provided since v3.5.
Definition triggered_filter.h:179
Namespace for all functionality of the ADTF Filter SDK provided since v3.7.
Definition data_triggered_filter.h:96
Namespace for the ADTF Filter SDK.
Definition configurable_runner.h:18
Namespace for the ADTF Mediadescription SDK.
Definition codec_sample_streamer.h:22
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
Namespace for the ADTF uCOM SDK.
Definition adtf_system.h:324
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
Definition md_sample_data_legacy.h:36
Definition md_sample_data.h:54