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
20
struct
stream_meta_type_legacy
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
36
static
void
SetProperties
(
const
adtf::ucom::iobject_ptr<adtf::base::IProperties>
& pProperties)
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
tChar
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/types.h:54
adtf::base::spider::property
Definition:
properties_v2.h:236
adtf::ucom::ant::iobject_ptr
Base object pointer to realize binary compatible reference counting in interface methods.
Definition:
object_ptr_intf.h:74
adtf
Namespace for entire ADTF SDK.
Definition:
ddl_specification_legacy.dox:2
adtf::adtf2::ant::stream_meta_type_legacy
Legacy stream meta type that maps the default media type from ADTF 2.
Definition:
stream_meta_type_legacy.h:21
adtf::adtf2::ant::stream_meta_type_legacy::strMajorTypeProperty
static constexpr const tChar *const strMajorTypeProperty
The name of the major type property.
Definition:
stream_meta_type_legacy.h:25
adtf::adtf2::ant::stream_meta_type_legacy::strSubTypeProperty
static constexpr const tChar *const strSubTypeProperty
The name of the sub type property.
Definition:
stream_meta_type_legacy.h:27
adtf::adtf2::ant::stream_meta_type_legacy::SetProperties
static void SetProperties(const adtf::ucom::iobject_ptr< adtf::base::IProperties > &pProperties)
Adds the properties of this meta type.
Definition:
stream_meta_type_legacy.h:36
adtf::adtf2::ant::stream_meta_type_legacy::strFlagsProperty
static constexpr const tChar *const strFlagsProperty
The name of the media description struct name property.
Definition:
stream_meta_type_legacy.h:29
adtf::adtf2::ant::stream_meta_type_legacy::MetaTypeName
static constexpr const tChar *const MetaTypeName
The name of this meta type.
Definition:
stream_meta_type_legacy.h:23
Copyright © VW Group. All rights reserved. (Generated on Thu Mar 14 2024 by doxygen 1.9.1)