ADTF
|
Use this Stream Meta Type if your sample data are structured and the memory layout can be described via DDL Specification - see also Usage of Stream Meta Type "adtf/default". More...
Public Member Functions | |
stream_meta_type_default ()=default | |
CTOR. | |
Static Public Member Functions | |
static void | SetProperties (const adtf::ucom::iobject_ptr< adtf::base::ant::IProperties > &pProperties) |
Adds the default properties of this meta type to pProperties . 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 ddl media description definitions property. More... | |
static constexpr const tChar *const | strMDStructProperty = "md_struct" |
The name of the ddl media description struct name property, containing the struct type for the whole sample data content. 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... | |
Use this Stream Meta Type if your sample data are structured and the memory layout can be described via DDL Specification - see also Usage of Stream Meta Type "adtf/default".
This class is a the "adtf/default" Stream Meta Type for the generator template stream_meta_type_default. Create this ADTF Default Stream Type by using following:
Example code for creating this type with the help of the template description, see Demo Media Description Code Generation Filters Plugin.
Definition at line 33 of file stream_meta_type_default.h.
|
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:
[in] | oTypeToCheck | The incoming type to check. |
[in] | oTypeExpected | The expected type which values are more significant. |
ERR_NOERROR | types are compatible |
|
static |
Adds the default properties of this meta type to pProperties
.
[in] | pProperties | The properties to the default values to. |
|
staticconstexpr |
The name of the property defines wether the sample data are serialized or not serialized.
This property defines wether the sample data are serialized (true) or not serialized (false). By default the value is set to false! This determines that the DDL definitons for deserialized interpretation is used. For more information on serialized/deserialized see page_ddl_specification and Serialization of "adtf/default" Samples.
Definition at line 64 of file stream_meta_type_default.h.
|
staticconstexpr |
The name of the ddl 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 stream_type_default 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 49 of file stream_meta_type_default.h.
|
staticconstexpr |
The name of the ddl media description struct name property, containing the struct type for the whole sample data content.
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 56 of file stream_meta_type_default.h.