ADTF  3.18.2
stream_meta_type_legacy.h
Go to the documentation of this file.
1 
7 #ifndef _STREAM_TYPELEGACY_CLASS_HEADER_
8 #define _STREAM_TYPELEGACY_CLASS_HEADER_
9 
10 namespace adtf
11 {
12 namespace adtf2
13 {
14 namespace ant
15 {
16 
21 {
23  static constexpr const tChar* const MetaTypeName = "adtf2/legacy";
25  static constexpr const tChar* const strMajorTypeProperty = "major";
27  static constexpr const tChar* const strSubTypeProperty = "sub";
29  static constexpr const tChar* const strFlagsProperty = "flags";
30 
37  {
38  pProperties->SetProperty(adtf::base::property<uint32_t>(strMajorTypeProperty, 0));
39  pProperties->SetProperty(adtf::base::property<uint32_t>(strSubTypeProperty, 0));
40  pProperties->SetProperty(adtf::base::property<uint32_t>(strFlagsProperty, 0));
41  }
42 };
43 
44 } //namespace ant
45 
46 using ant::stream_meta_type_legacy;
47 
48 } //namespace adtf2
49 } // namespace adtf
50 
51 //*************************************************************************************************
52 #endif // _STREAM_TYPELEGACY_CLASS_HEADER_
53 
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
Base object pointer to realize binary compatible reference counting in interface methods.
Namespace for entire ADTF SDK.
Legacy stream meta type that maps the default media type from ADTF 2.
static constexpr const tChar *const strMajorTypeProperty
The name of the major type property.
static constexpr const tChar *const strSubTypeProperty
The name of the sub type property.
static void SetProperties(const adtf::ucom::iobject_ptr< adtf::base::IProperties > &pProperties)
Adds the properties of this meta type.
static constexpr const tChar *const strFlagsProperty
The name of the media description struct name property.
static constexpr const tChar *const MetaTypeName
The name of this meta type.