|
| decoding_sample_reader () |
| Default Constructor.
|
|
tResult | SetType (const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pStreamType) override |
| Sets the initial stream type of a streamer. More...
|
|
void | SetAcceptTypeCallback (const std::function< tResult(const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pStreamType)> &fnAcceptTypeCallback) |
| Sets a callback that will be called for each new Stream Type. More...
|
|
bool | GetNextDecoder (cSampleDecoder &oDecoder) |
| Returns a decoder for the next available Sample. More...
|
|
bool | GetNextDecoder (cSampleDecoder &oDecoder, base::flash::tNanoSeconds &tmSampleTime) |
| Returns a decoder for the next available Sample. More...
|
|
bool | GetLastDecoder (cSampleDecoder &oDecoder) |
| Returns a decoder for the last Sample currently available. More...
|
|
bool | GetLastDecoder (cSampleDecoder &oDecoder, base::flash::tNanoSeconds &tmSampleTime) |
| Returns a decoder for the last Sample currently available. More...
|
|
| cSampleReader (ant::ISampleReaderQueue &oQueue, ant::ISampleStreamAccess::tMode eAccessMode, bool bStoreLastSample) |
|
void | SetName (const char *strName) override |
| Sets the name of the streamer. More...
|
|
tResult | GetName (base::ant::IString &&strName) override |
| Retrieves the name of the streamer. More...
|
|
tResult | GetType (ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) const override |
| Returns the initial stream type of the streamer. More...
|
|
tResult | BeginStreaming (ISampleStream &oSampleStream) override |
| Begin streaming on the given sample stream. More...
|
|
tResult | EndStreaming () override |
| End streaming. More...
|
|
tResult | SetStreamerPin (const ucom::ant::iobject_ptr< IStreamerPin > &pStreamerPin) override |
| Sets the pin that the streamer is associated with. More...
|
|
void | SetAcceptTypeCallback (const std::function< tResult(const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)> &fnAcceptTypeCallback) |
| Sets a callback function which is called while a Stream Type is received - see also AcceptType and IsCompatible implementations. More...
|
|
void | SetStreamErrorCallback (const std::function< tResult(tResult oStreamError)> &fnStreamErrorCallback) |
| A callback function to react on stream errors. More...
|
|
tResult | SetStreamError (tResult oError) override |
| Sets an error on the associated sample stream. More...
|
|
tResult | GetLastType (ucom::ant::iobject_ptr< const ant::IStreamType > &pType) override |
| Returns the last stream type that was read from the sample stream. More...
|
|
tResult | GetNextSample (ucom::ant::iobject_ptr< const ant::ISample > &pSample) override |
| Reads the next available sample from the associated sample stream. More...
|
|
tResult | GetLastSample (ucom::ant::iobject_ptr< const ant::ISample > &pSample) override |
| Reads the latest available sample from the associated sample stream. More...
|
|
void | Reset () |
|
tResult | ReadAllAvailableItems () override |
| Reads all available items from the sample stream into internal queues. More...
|
|
tResult | RequestSamples (ucom::ant::iobject_ptr< hollow::IStreamingRequest > &pRequest, uint32_t nSubStreamId, const base::ant::IProperties *pRequestProperties=nullptr) |
| RequestSamples of the given Substream to be generated and/or transmitted. More...
|
|
void | SetSynchronousTypeUpdateCallback (const std::function< tResult(const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)> &fnRequestTypeUpdateCallback) |
|
| cSampleCodecFactory () |
| Empty constructor. More...
|
|
| cSampleCodecFactory (const char *strStructName, const char *strMediaDescription, ddl::tDataRepresentation eDefaultDataRepresentation=ddl::tDataRepresentation::Deserialized) |
| Constructor that take a DDL string for initialization. More...
|
|
| cSampleCodecFactory (const ddl::dd::StructType &oStruct, const ddl::dd::DataDefinition &oParentDD, ddl::tDataRepresentation eDefaultDataRepresentation=ddl::tDataRepresentation::Deserialized) |
| Constructor that uses an OO-DDL struct for initialization. More...
|
|
| cSampleCodecFactory (const std::pair< std::string, std::string > &oMDDescription, ddl::tDataRepresentation eDefaultDataRepresentation=ddl::tDataRepresentation::Deserialized) |
| Construct a new c Sample Codec Factory. More...
|
|
| cSampleCodecFactory (const ddl::DDStructure &oTypeDefinition, ddl::tDataRepresentation eDefaultDataRepresentation=ddl::tDataRepresentation::Deserialized) |
| Construct a new c Sample Codec Factory. More...
|
|
| cSampleCodecFactory (const streaming::ant::IStreamType &oStreamType) |
| Construct a new c Sample Codec Factory. More...
|
|
| cSampleCodecFactory (const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pStreamType) |
| Construct a new c Sample Codec Factory. More...
|
|
| cSampleCodecFactory (const cSampleCodecFactory &) |
| Copy constructor.
|
|
| cSampleCodecFactory (cSampleCodecFactory &&) |
| Move constructor.
|
|
cSampleCodecFactory & | operator= (const cSampleCodecFactory &) |
| assignment operator
|
|
cSampleCodecFactory & | operator= (cSampleCodecFactory &&) |
| Move assignment operator.
|
|
tResult | IsValid () const |
| Check if the factory is in a valid state. More...
|
|
cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::streaming::ISample &oSample, ddl::tDataRepresentation eDataRepresentation) const |
| Creates a static decoder for the given sample. More...
|
|
cStaticSampleCodec | MakeStaticCodecFor (adtf::streaming::ISample &oSample, ddl::tDataRepresentation eDataRepresentation) const |
| Creates a static codec for the given sample. More...
|
|
cSampleDecoder | MakeDecoderFor (const adtf::streaming::ISample &oSample, ddl::tDataRepresentation eDataRepresentation) const |
| Creates a decoder for the given sample. More...
|
|
cSampleCodec | MakeCodecFor (adtf::streaming::ISample &oSample, ddl::tDataRepresentation eDataRepresentation) const |
| Creates a codec for the given sample. More...
|
|
tElement | GetElement (const tCodecIndex &oCodecIndex) const |
| Retrieves an element for the codec index. More...
|
|
tElement | GetElement (const std::string &strElementFullName) const |
| Retrieves an element for the given name. More...
|
|
const tElements & | GetElements () const |
| Retrieves the elements of the factory to get element information. More...
|
|
size_t | GetElementChildCount (const tCodecIndex &oCodecIndex) const |
| Retrieves the amount of child elements for the given codec index. More...
|
|
std::string | GetElementFullName (const tCodecIndex &oCodecIndex) const |
| Retrieves the full name of the element within its main structure. More...
|
|
std::string | GetElementName (const tCodecIndex &oCodecIndex) const |
| Retrieves the name of the element within its structured element. More...
|
|
const std::string & | GetElementBaseName (const tCodecIndex &oCodecIndex) const |
| Retrieves the base name of the element within its structured element. More...
|
|
size_t | GetStaticBufferSize (ddl::tDataRepresentation eRep=ddl::tDataRepresentation::Deserialized) const |
| Gets the static buffer size in bytes for the structure. More...
|
|
ddl::tDataRepresentation | GetDefaultDataRepresentation () const |
| Returns the current default data representation whuke creating codec or decoder. More...
|
|
cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample, ddl::tDataRepresentation eDataRepresentation) const |
| Creates a static decoder for the given sample. More...
|
|
cSampleDecoder | MakeDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample, ddl::tDataRepresentation eDataRepresentation) const |
| Creates a decoder for the given sample. More...
|
|
cStaticSampleCodec | MakeStaticCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample, ddl::tDataRepresentation eDataRepresentation) const |
| Creates a static codec for the given sample. More...
|
|
cSampleCodec | MakeCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample, ddl::tDataRepresentation eDataRepresentation) const |
| Creates a codec for the given sample. More...
|
|
cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample) const |
| Creates a static decoder for the given sample using the default data representation. More...
|
|
cSampleDecoder | MakeDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample) const |
| Creates a decoder for the given sample using the default data representation. More...
|
|
cStaticSampleCodec | MakeStaticCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample) const |
| Creates a static codec for the given sample using the default data representation. More...
|
|
cSampleCodec | MakeCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample) const |
| Creates a codec for the given sample using the default data representation. More...
|
|
cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::streaming::ISample &oSample) const |
| Creates a static decoder for the given sample using the default data representation. More...
|
|
cSampleDecoder | MakeDecoderFor (const adtf::streaming::ISample &oSample) const |
| Creates a decoder for the given sample using the default data representation. More...
|
|
cStaticSampleCodec | MakeStaticCodecFor (adtf::streaming::ISample &oSample) const |
| Creates a static codec for the given sample using the default data representation. More...
|
|
cSampleCodec | MakeCodecFor (adtf::streaming::ISample &oSample) const |
| Creates a codec for the given sample using the default data representation. More...
|
|
void | Resolve (tCodecIndex &oCodecIndex) const |
| retrieves the lyoutinformation for the given codec index. More...
|
|
tCodecIndex | Resolve (tCodecLeafIndex nElementIndex) const |
| Legacy: Retrieves a codec index with element information for the given leaf index. More...
|
|
size_t | GetStaticElementCount () const |
| Legacy: Gets the leaf count. More...
|
|
tResult | GetStaticElement (tCodecLeafIndex nElementLeafIndex, const ddl::StructElement *&pElement) const |
| Legacy: Access information about an element. More...
|
|
tCodecLeafIndex | FindIndex (const char *strElementName) const |
| Legacy: Retrieves the leaf index of the first element in the given element path. More...
|
|
tCodecLeafIndex | FindArrayIndex (const char *strArrayName) const |
| Legacy: Retrieves the leaf index of the first element in the given element path. More...
|
|
tCodecLeafIndex | FindStructIndex (const char *strStructName) const |
| Legacy: Retrieves the leaf index of the first element in the given element path. More...
|
|
template<typename ReaderImplementation = streaming::flash::cDynamicSampleReader>
class adtf::mediadescription::osborn::decoding_sample_reader< ReaderImplementation >
This reader uses the media description to decode sample data.
Just use it instead of the usual adtf::streaming::flash::cDynamicSampleReader implementation.
See Qt5 Media Description Display for an example usage.
Definition at line 33 of file codec_sample_streamer.h.