|
ADTF
|
#include <codec_sample_streamer_legacy.h>
Inherits adtf::mediadescription::ant::cSampleCodec.
Public Member Functions | |
| cSampleWithCodec ()=default | |
| cSampleWithCodec (ant::cSampleCodec &&oCodec, const ucom::ant::iobject_ptr< const streaming::ant::ISample > &pSample) | |
| cSampleWithCodec (cSampleWithCodec &&)=default | |
| cSampleWithCodec & | operator= (cSampleWithCodec &&)=default |
| ucom::ant::object_ptr< const streaming::ant::ISample > | Release () |
Public Member Functions inherited from adtf::mediadescription::ant::cSampleCodec | |
| cSampleCodec ()=default | |
| cSampleCodec (cSampleCodec &&)=default | |
| cSampleCodec & | operator= (cSampleCodec &&)=default |
| void | SetElementValue (const char *strElementName, const adtf::util::cVariant &oValue) |
Helper class that combines a Sample Codec with a Sample instance.
|
default |
Default Constructor -> invalid object.
| adtf::mediadescription::flash::cSampleWithCodec::cSampleWithCodec | ( | ant::cSampleCodec && | oCodec, |
| const ucom::ant::iobject_ptr< const streaming::ant::ISample > & | pSample ) |
Constructor that initializes a valid object.
| [in] | oCodec | The codec the encodes values into the sample. |
| [in] | pSample | The sample. |
| ucom::ant::object_ptr< const streaming::ant::ISample > adtf::mediadescription::flash::cSampleWithCodec::Release | ( | ) |
Retrieve the sample instance.
Call this when you're done updating the sample data in order to write it via streaming::flash::ISampleWriter::Write.
Do not call any other methods of the object after you have called this method.