ADTF
Loading...
Searching...
No Matches
media_description_type_legacy.h File Reference
Include dependency graph for media_description_type_legacy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  adtf
 Namespace for all functionality provided by ADTF and its SDKs.
 
namespace  adtf::mediadescription
 Namespace for the ADTF Mediadescription SDK.
 
namespace  adtf::mediadescription::ant
 Namespace for all functionality of the ADTF Mediadescription SDK provided since v3.0.
 
namespace  adtf::mediadescription::flash
 Namespace for all functionality of the ADTF Mediadescription SDK provided since v3.5.
 

Functions

tResult adtf::mediadescription::ant::create_adtf_default_stream_type (const char *strStructName, const char *strMediaDescription, ucom::iobject_ptr< adtf::streaming::IStreamType > &pStreamType, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 
tResult adtf::mediadescription::ant::create_adtf_default_stream_type (const char *strStructName, const char *strMediaDescription, ucom::iobject_ptr< adtf::streaming::IStreamType > &pStreamType, cSampleCodecFactory &oFactory, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 
tResult adtf::mediadescription::ant::create_adtf_default_stream_type_from_service (const char *strStructName, ucom::iobject_ptr< adtf::streaming::IStreamType > &pStreamType, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 
tResult adtf::mediadescription::ant::create_adtf_default_stream_type_from_service (const char *strStructName, ucom::iobject_ptr< adtf::streaming::IStreamType > &pStreamType, cSampleCodecFactory &oFactory, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 
tResult adtf::mediadescription::ant::set_stream_type_media_description (adtf::streaming::IStreamType &oStreamType, const char *strStructName, const char *strMediaDescription, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 
tResult adtf::mediadescription::ant::set_stream_type_media_description_from_service (adtf::streaming::IStreamType &oStreamType, const char *strStructName, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 
tResult adtf::mediadescription::ant::get_codec_factory_from_stream_type (const adtf::streaming::IStreamType &oStreamType, cSampleCodecFactory &oFactory)
 
tResult adtf::mediadescription::ant::add_stream_meta_type (const adtf::streaming::IStreamMetaType &oStreamTypeDef, adtf_ddl::cDDLDescription &oDescription)
 
template<typename WRITER>
tResult adtf::mediadescription::ant::make_sample_writer (WRITER &oWriter, const char *strNameOfWriter, const char *strDDLStructType)
 
template<typename READER>
tResult adtf::mediadescription::ant::make_sample_reader (READER &oReader, const char *strNameOfReader, const char *strDDLStructType)
 
template<typename WRITER>
tResult adtf::mediadescription::flash::make_sample_writer (WRITER &oWriter, const char *strNameOfWriter, const char *strDDLStructType)
 
template<typename READER>
tResult adtf::mediadescription::flash::make_sample_reader (READER &oReader, const char *strNameOfReader, const char *strDDLStructType)
 
ucom::ant::object_ptr< streaming::ant::IStreamTypeadtf::mediadescription::flash::create_adtf_default_stream_type (const cStructureType &type_definition)
 Create a stream type containing the media description of a given structure type definition.
 
ucom::ant::object_ptr< streaming::ant::IStreamTypeadtf::mediadescription::flash::create_adtf_default_stream_type (const char *strStructName, const char *strMediaDescription)
 Create a stream type continaing the given media description.
 
template<typename Struct>
ucom::ant::object_ptr< streaming::ant::IStreamTypeadtf::mediadescription::flash::create_adtf_default_stream_type ()
 Create a stream type from a generated media description.
 
tResult adtf::mediadescription::flash::set_media_description_properties (base::ant::IProperties &oProperties, const char *strStructName, const char *strMediaDescription, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 
tResult adtf::mediadescription::flash::set_media_description_properties (base::ant::IProperties &oProperties, const cStructureType &type_definition, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 
void adtf::mediadescription::flash::set_stream_type_media_description (streaming::ant::IStreamType &oStreamType, const cStructureType &type_definition)
 
std::tuple< std::string, std::string, adtf_ddl::tDataRepresentation > adtf::mediadescription::hollow::get_media_description_from_stream_type (const adtf::streaming::IStreamType &oStreamType)
 
ucom::ant::object_ptr< streaming::ant::IStreamTypeadtf::mediadescription::hollow::stream_type_from_service (const char *strStructName, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

Function Documentation

◆ get_media_description_from_stream_type()

std::tuple< std::string, std::string, adtf_ddl::tDataRepresentation > adtf::mediadescription::hollow::get_media_description_from_stream_type ( const adtf::streaming::IStreamType & oStreamType)

Extract the media description information from stream type.

Parameters
[in]oStreamTypeThe stream type containing the media description information.
Returns
A tuple containing the struct name, the struct description and the struct representation.
Exceptions
tResultin case the description could not be retrieved.

◆ stream_type_from_service()

ucom::ant::object_ptr< streaming::ant::IStreamType > adtf::mediadescription::hollow::stream_type_from_service ( const char * strStructName,
adtf_ddl::tDataRepresentation eRep = adtf_ddl::tDataRepresentation::Deserialized )

Get a stream type containing the media description of a struct from the (deprecated) media description service.

Parameters
[in]strStructNameThe name of the struct.
[in]eRepRepresentation of the data (serialized or deserialized)
Returns
A stream type that describes samples that contain data in form of the given struct.
Exceptions
tResultin case the description could not be retrieved.
Deprecated
Use adtf::ucom::make_object_ptr<stream_type_default<>>(const char*, ddl::tDataRepresentation) instead.