ADTF  3.13.0
stream_meta_type_default

Use this Stream Meta Type if your sample data are structured and the memory layout can be described via DDL - see also Usage of Stream Meta Type "adtf/default". More...

Static Public Member Functions

static tVoid SetProperties (const adtf::ucom::iobject_ptr< adtf::base::ant::IProperties > &pProperties)
 Adds the properties of this meta type. More...
 
static tResult IsCompatible (const adtf::streaming::ant::IStreamType &oTypeToCheck, const adtf::streaming::ant::IStreamType &oTypeExpected)
 Compares the oTypeExpected Stream Type with the oTypeToCheck - see Default Stream Meta Types in ADTF for a summary of implementations. More...
 

Static Public Attributes

static constexpr const tChar *const MetaTypeName = "adtf/default"
 The name of this meta type.
 
static constexpr const tChar *const strMDDefinitionsProperty = "md_definitions"
 The name of the media description definitions property. More...
 
static constexpr const tChar *const strMDStructProperty = "md_struct"
 The name of the media description struct name property. More...
 
static constexpr const tChar *const strMDDataSerialized = "md_data_serialized"
 The name of the property defines wether the sample data are serialized or not serialized. More...
 

Detailed Description

Use this Stream Meta Type if your sample data are structured and the memory layout can be described via DDL - see also Usage of Stream Meta Type "adtf/default".

Concept template to create the "adtf/default" Stream Meta Type for the generator template adtf::streaming::ant::stream_meta_type. Create this ADTF Default Stream Type by using helper functions like:

Example code for creating this type with the help of the template description, see Demo Media Description Code Generation Filters Plugin.

See also
Stream Meta Type, Demo Media Description Code Generation Filters Plugin.

Definition at line 31 of file stream_meta_type_default.h.

Member Function Documentation

◆ IsCompatible()

static tResult IsCompatible ( const adtf::streaming::ant::IStreamType oTypeToCheck,
const adtf::streaming::ant::IStreamType oTypeExpected 
)
static

Compares the oTypeExpected Stream Type with the oTypeToCheck - see Default Stream Meta Types in ADTF for a summary of implementations.

Compatible to all other stream types of any Stream Meta Type, where the following conditions are met:

Remarks
: For a complete definition of the delivered default types and the information of which Stream Type is compatible to another one then see Default Stream Meta Types in ADTF.
Parameters
[in]oTypeToCheckThe incoming type to check.
[in]oTypeExpectedThe expected type which values are more significant.
Return values
ERR_NOERRORtypes are compatible
See also
Default Stream Meta Types in ADTF, AcceptType and IsCompatible implementations, adtf_ddl::cDDLCompare::IsEqualType.

◆ SetProperties()

static tVoid SetProperties ( const adtf::ucom::iobject_ptr< adtf::base::ant::IProperties > &  pProperties)
static

Adds the properties of this meta type.

Parameters
[out]pPropertiesThe properties will be added to this.
Returns
tVoid.

Member Data Documentation

◆ strMDDataSerialized

constexpr const tChar* const strMDDataSerialized = "md_data_serialized"
static

The name of the property defines wether the sample data are serialized or not serialized.

This Property defines wether the sample data are serialized (0) or not serialized (1). By default the value is set to 1! This determines that the DDL definitons for deserialized interpration is used. For more information on serialized/deserialized see DDL Definition File Format and Serialization of "adtf/default" Samples.

Definition at line 59 of file stream_meta_type_default.h.

◆ strMDDefinitionsProperty

constexpr const tChar* const strMDDefinitionsProperty = "md_definitions"
static

The name of the media description definitions property.

This Property contains a complete self-contained DDL definition which should contain the description of the complex type set in strMDStructProperty. See create_adtf_stream_type for creating the type with the help of the template adtf::mediadescription::description. See also Demo Media Description Code Generation Filters Plugin.

Definition at line 44 of file stream_meta_type_default.h.

◆ strMDStructProperty

constexpr const tChar* const strMDStructProperty = "md_struct"
static

The name of the media description struct name property.

This Property contains a complex type name / struct name out of the complete self-contained DDL definition in strMDDefinitionsProperty. See also Demo Media Description Code Generation Filters Plugin.

Definition at line 51 of file stream_meta_type_default.h.


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Tue Sep 28 2021 by doxygen 1.8.14)