ADTF
|
Namespace for all functionality provided since v3.5. More...
Classes | |
class | decoding_sample_reader |
This reader uses the media description to decode sample data. More... | |
class | cSampleWithCodec |
Helper class that combines a Sample Codec with a Sample instance. More... | |
class | encoding_sample_writer |
Sample Writer that provides samples that can be updated via a Codec. More... | |
class | cDDLPrinter |
Generates a DDL description from a structure definition. More... | |
class | cDumper |
Dumps a structure definition to an output stream. More... | |
struct | description |
Template to provide struct name and definition for a generated struct. More... | |
struct | indices |
Internal helper class. More... | |
class | md_sample_data |
Template to provide media description based access to Sample data. More... | |
class | md_array |
This class is used to wrap access to arrays of plain and enum types. More... | |
class | md_struct_array |
This class is used to wrap access to arrays of struct types. More... | |
class | md_sample_data_factory |
This factory provides instances of md_sample_data for incoming samples. More... | |
class | cSampleCodecFactory |
class | cType |
Base class for types. More... | |
struct | arithmetic_type |
Type implementation for arithmetic (POD) types. More... | |
class | cEnumerationType |
Type implementation for enumerations. More... | |
class | enumeration |
This is used to create an enumeration ytpe from an existing c++ enum. More... | |
class | enumeration< UnderlyingType, typename std::enable_if< std::is_arithmetic< UnderlyingType >::value >::type > |
This is used to create an enumeration type independently. More... | |
class | cStructureType |
Type implementation for structures. More... | |
class | structure |
This is used to create a structure type from an existing c++ struct definition. More... | |
class | structure< void > |
This is used to create a structure type independently. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &oStream, const cDDLPrinter &oPrinter) |
std::ostream & | operator<< (std::ostream &oStream, const cDumper &cDumper) |
template<typename WRITER > | |
tResult | make_sample_writer (WRITER &oWriter, const char *strNameOfWriter, const char *strDDLStructType) |
Helper template to setup a sample writer with a stream type set from the media description service. More... | |
template<typename READER > | |
tResult | make_sample_reader (READER &oReader, const char *strNameOfReader, const char *strDDLStructType) |
Helper template to setup a sample reader with a stream type set from the media description service. More... | |
ucom::ant::object_ptr< streaming::ant::IStreamType > | create_adtf_default_stream_type (const cStructureType &type_definition) |
Create a stream type containing the media description of a given structure type definition. More... | |
ucom::ant::object_ptr< streaming::ant::IStreamType > | create_adtf_default_stream_type (const char *strStructName, const char *strMediaDescription) |
Create a stream type continaing the given media description. More... | |
template<typename Struct > | |
ucom::ant::object_ptr< streaming::ant::IStreamType > | create_adtf_default_stream_type () |
Create a stream type from a generated media description. More... | |
tResult | set_media_description_properties (base::ant::IProperties &oProperties, const char *strStructName, const char *strMediaDescription, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized) |
Adds the media description properties to a properties object. More... | |
tResult | set_media_description_properties (base::ant::IProperties &oProperties, const cStructureType &type_definition, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized) |
Adds the media description properties to a properties object. More... | |
void | set_stream_type_media_description (streaming::ant::IStreamType &oStreamType, const cStructureType &type_definition) |
Adds the media description properties to a stream type. More... | |
Namespace for all functionality provided since v3.5.
ucom::ant::object_ptr<streaming::ant::IStreamType> adtf::mediadescription::flash::create_adtf_default_stream_type | ( | ) |
Create a stream type from a generated media description.
Struct | The struct that has been generated via Creating a DDL file and use it. |
Definition at line 259 of file media_description_type_legacy.h.
References create_adtf_default_stream_type().
ucom::ant::object_ptr<streaming::ant::IStreamType> adtf::mediadescription::flash::create_adtf_default_stream_type | ( | const char * | strStructName, |
const char * | strMediaDescription | ||
) |
Create a stream type continaing the given media description.
[in] | strStructName | The name of the struct. |
[in] | strMediaDescription | The description containing the struct definition. |
tResult | in case of error. |
ucom::ant::object_ptr<streaming::ant::IStreamType> adtf::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.
[in] | type_definition | A structure type definition. |
tResult | in case of error. |
Referenced by create_adtf_default_stream_type().
|
inline |
Helper template to setup a sample reader with a stream type set from the media description service.
[in,out] | oReader | The reader that should be setup. |
[in] | strNameOfReader | The name of the reader, which will be used to create an input pin. |
[in] | strDDLStructType | The name of the struct that the description should be retrieved from the media description service. |
Definition at line 224 of file media_description_type_legacy.h.
References adtf::ucom::ant::make_object_ptr(), and RETURN_IF_THROWS.
|
inline |
Helper template to setup a sample writer with a stream type set from the media description service.
[in,out] | oWriter | The writer that should be setup. |
[in] | strNameOfWriter | The name of the writer, which will be used to create an output pin. |
[in] | strDDLStructType | The name of the struct that the description should be retrieved from the media description service. |
Definition at line 207 of file media_description_type_legacy.h.
References adtf::ucom::ant::make_object_ptr(), and RETURN_IF_THROWS.
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 |
||
) |
Adds the media description properties to a properties object.
[out] | oProperties | The properties object where the properties should be added/set to. |
[in] | strStructName | The name of the struct. |
[in] | strMediaDescription | The media description containing the struct definition. |
[in] | eRep | The data representation of the struct that samples contain. |
tResult adtf::mediadescription::flash::set_media_description_properties | ( | base::ant::IProperties & | oProperties, |
const cStructureType & | type_definition, | ||
adtf_ddl::tDataRepresentation | eRep = adtf_ddl::tDataRepresentation::Deserialized |
||
) |
Adds the media description properties to a properties object.
[out] | oProperties | The properties object where the properties should be added/set to. |
[in] | type_definition | A structure type definition. |
[in] | eRep | The data representation of the struct that samples contain. |
void adtf::mediadescription::flash::set_stream_type_media_description | ( | streaming::ant::IStreamType & | oStreamType, |
const cStructureType & | type_definition | ||
) |
Adds the media description properties to a stream type.
[out] | oStreamType | The stream type where the properties should be added/set to. |
[in] | type_definition | A structure type definition. |
tResult | in case of error. |