|
ADTF
|
#include <sample_codec_legacy.h>
Inherited by adtf::mediadescription::flash::cSampleCodecFactory.
Public Member Functions | |
| cSampleCodecFactory ()=default | |
| cSampleCodecFactory (const char *strStructName, const char *strMediaDescription, adtf_ddl::tDataRepresentation eDefaultDataRepresentation=adtf_ddl::tDataRepresentation::Deserialized) | |
| cSampleCodecFactory (const adtf_ddl::cDDLComplex *pStruct, adtf_ddl::tDataRepresentation eDefaultDataRepresentation=adtf_ddl::tDataRepresentation::Deserialized) | |
| cSampleCodecFactory (cSampleCodecFactory &)=default | |
| cSampleCodecFactory (const cSampleCodecFactory &)=default | |
| cSampleCodecFactory (cSampleCodecFactory &&)=default | |
| cSampleCodecFactory & | operator= (cSampleCodecFactory &)=default |
| cSampleCodecFactory & | operator= (cSampleCodecFactory &&)=default |
| tResult | IsValid () const |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::streaming::ISample &oSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| cStaticSampleCodec | MakeStaticCodecFor (adtf::streaming::ISample &oSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| cSampleDecoder | MakeDecoderFor (const adtf::streaming::ISample &oSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| cSampleCodec | MakeCodecFor (adtf::streaming::ISample &oSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| size_t | GetStaticElementCount () const |
| tResult | GetStaticElement (size_t nIndex, const adtf_ddl::tStructElement *&pElement) const |
| size_t | GetStaticBufferSize (adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized) const |
| adtf_ddl::tDataRepresentation | GetDefaultDataRepresentation () const |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| cSampleDecoder | MakeDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| cStaticSampleCodec | MakeStaticCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| cSampleCodec | MakeCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample) const |
| cSampleDecoder | MakeDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample) const |
| cStaticSampleCodec | MakeStaticCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample) const |
| cSampleCodec | MakeCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample) const |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::streaming::ISample &oSample) const |
| cSampleDecoder | MakeDecoderFor (const adtf::streaming::ISample &oSample) const |
| cStaticSampleCodec | MakeStaticCodecFor (adtf::streaming::ISample &oSample) const |
| cSampleCodec | MakeCodecFor (adtf::streaming::ISample &oSample) const |
(Legacy) Factory class for ddl codecs for samples.
|
default |
Empty constructor. This exists to enable uninitialized member variables of this type that are move-assigned later on.
| adtf::mediadescription::ant::cSampleCodecFactory::cSampleCodecFactory | ( | const char * | strStructName, |
| const char * | strMediaDescription, | ||
| adtf_ddl::tDataRepresentation | eDefaultDataRepresentation = adtf_ddl::tDataRepresentation::Deserialized ) |
Constructor that take a DDL string for initialization.
| [in] | strStructName | The name of the struct for which codecs should be generated. |
| [in] | strMediaDescription | The DDL description. |
| [in] | eDefaultDataRepresentation | The representation used for the Make* factory methods without an parameter for the data representation. |
| adtf::mediadescription::ant::cSampleCodecFactory::cSampleCodecFactory | ( | const adtf_ddl::cDDLComplex * | pStruct, |
| adtf_ddl::tDataRepresentation | eDefaultDataRepresentation = adtf_ddl::tDataRepresentation::Deserialized ) |
Constructor that uses an OO-DDL struct for initialization.
| [in] | pStruct | The struct definition. |
| [in] | eDefaultDataRepresentation | The representation used for the Make* factory methods without an parameter for the data representation. |
|
default |
Copy constructor
|
default |
Copy constructor
|
default |
Move constructor
| adtf_ddl::tDataRepresentation adtf::mediadescription::ant::cSampleCodecFactory::GetDefaultDataRepresentation | ( | ) | const |
| size_t adtf::mediadescription::ant::cSampleCodecFactory::GetStaticBufferSize | ( | adtf_ddl::tDataRepresentation | eRep = adtf_ddl::tDataRepresentation::Deserialized | ) | const |
| [in] | eRep | The data representation for which the buffer size should be returned. |
| tResult adtf::mediadescription::ant::cSampleCodecFactory::GetStaticElement | ( | size_t | nIndex, |
| const adtf_ddl::tStructElement *& | pElement ) const |
Access information about an element.
| [in] | nIndex | The index of the element. |
| [out] | pElement | Pointer that will be updated to point to the element information. |
| ERR_INVALID_INDEX | Invalid index. |
| size_t adtf::mediadescription::ant::cSampleCodecFactory::GetStaticElementCount | ( | ) | const |
| tResult adtf::mediadescription::ant::cSampleCodecFactory::IsValid | ( | ) | const |
Check if the factory is in a valid state.
|
inline |
Creates a codec for the given sample using the default data representation.
| [in] | oSample | The sample. |
| cSampleCodec adtf::mediadescription::ant::cSampleCodecFactory::MakeCodecFor | ( | adtf::streaming::ISample & | oSample, |
| adtf_ddl::tDataRepresentation | eDataRepresentation ) const |
Creates a codec for the given sample.
| [out] | oSample | The sample. |
| [in] | eDataRepresentation | The data representation that the sample is in. |
|
inline |
Creates a codec for the given sample using the default data representation.
| [in] | pSample | The sample. |
|
inline |
Creates a codec for the given sample.
| [out] | pSample | The sample. |
| [in] | eDataRepresentation | The data representation that the sample is in. |
|
inline |
Creates a decoder for the given sample using the default data representation.
| [in] | oSample | The sample. |
| cSampleDecoder adtf::mediadescription::ant::cSampleCodecFactory::MakeDecoderFor | ( | const adtf::streaming::ISample & | oSample, |
| adtf_ddl::tDataRepresentation | eDataRepresentation ) const |
Creates a decoder for the given sample.
| [in] | oSample | The sample. |
| [in] | eDataRepresentation | The data representation that the sample is in. |
|
inline |
Creates a decoder for the given sample using the default data representation.
| [in] | pSample | The sample. |
|
inline |
Creates a decoder for the given sample.
| [in] | pSample | The sample. |
| [in] | eDataRepresentation | The data representation that the sample is in. |
|
inline |
Creates a static codec for the given sample using the default data representation.
| [in] | oSample | The sample. |
| cStaticSampleCodec adtf::mediadescription::ant::cSampleCodecFactory::MakeStaticCodecFor | ( | adtf::streaming::ISample & | oSample, |
| adtf_ddl::tDataRepresentation | eDataRepresentation ) const |
Creates a static codec for the given sample.
| [out] | oSample | The sample. |
| [in] | eDataRepresentation | The data representation that the sample is in. |
|
inline |
Creates a static codec for the given sample using the default data representation.
| [in] | pSample | The sample. |
|
inline |
Creates a static codec for the given sample.
| [out] | pSample | The sample. |
| [in] | eDataRepresentation | The data representation that the sample is in. |
|
inline |
Creates a static decoder for the given sample using the default data representation.
| [in] | oSample | The sample. |
| cStaticSampleDecoder adtf::mediadescription::ant::cSampleCodecFactory::MakeStaticDecoderFor | ( | const adtf::streaming::ISample & | oSample, |
| adtf_ddl::tDataRepresentation | eDataRepresentation ) const |
Creates a static decoder for the given sample.
| [in] | oSample | The sample. |
| [in] | eDataRepresentation | The data representation that the sample is in. |
|
inline |
Creates a static decoder for the given sample using the default data representation.
| [in] | pSample | The sample. |
|
inline |
Creates a static decoder for the given sample.
| [in] | pSample | The sample. |
| [in] | eDataRepresentation | The data representation that the sample is in. |
|
default |
Move assignment operator
|
default |
assignment operator