The Default implementation of the ISampleStream interface. More...
#include <samplestream.h>
Public Types | |
template<typename T> | |
using | iobject_ptr = adtf::ucom::ant::iobject_ptr < T > |
used type for iobject_ptr | |
Public Member Functions | |
ADTF_CLASS_ID_NAME (cSampleStream, "sample_stream.streaming.adtf.cid", "Sample Stream") | |
Implements adtf::ucom::IClassInfo. | |
cSampleStream ()=default | |
CTOR. | |
cSampleStream (const char *strName) | |
CTOR initializes the name of the stream. | |
virtual | ~cSampleStream ()=default |
DTOR. | |
![]() | |
sample_stream (const char *strName) | |
tResult | SetName (const char *strName) override |
tResult | SetParent (const ucom::ant::IObject *oParentObject) override |
tResult | Open (const char *strName, adtf::ucom::ant::iobject_ptr< ISampleInStream > &pInStream, const adtf::ucom::ant::iobject_ptr< const IStreamType > &pInitialAcceptedStreamType, ISampleStream::IPushReadEventSink *&pPushEventSink, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize) override |
tResult | Open (const char *strName, adtf::ucom::ant::iobject_ptr< ISampleOutStream > &pOutStream, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize) override |
tResult | GetType (adtf::ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const override |
tTimeStamp | GetTime () const override |
Returns the last flush time and so the current position of the stream. | |
tResult | SetStreamError (const tResult &oError) override |
Sets and forwards a StreamError to the readers. | |
tResult | AttachRouting (const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override |
Attaches a SampleStream where to route the Write / Flush and Run calls to. | |
tResult | DetachRouting (const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override |
Detaches a SampleStream where the routing was set by AttachRouting. | |
sample_stream (const char *strName) | |
tResult | SetName (const char *strName) override |
tResult | SetParent (const ucom::ant::IObject *oParentObject) override |
tResult | Open (const char *strName, adtf::ucom::ant::iobject_ptr< ISampleInStream > &pInStream, const adtf::ucom::ant::iobject_ptr< const IStreamType > &pInitialAcceptedStreamType, ISampleStream::IPushReadEventSink *&pPushEventSink, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize) override |
tResult | Open (const char *strName, adtf::ucom::ant::iobject_ptr< ISampleOutStream > &pOutStream, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize) override |
tResult | GetType (adtf::ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const override |
tTimeStamp | GetTime () const override |
Returns the last flush time and so the current position of the stream. | |
tResult | SetStreamError (const tResult &oError) override |
Sets and forwards a StreamError to the readers. | |
tResult | AttachRouting (const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override |
Attaches a SampleStream where to route the Write / Flush and Run calls to. | |
tResult | DetachRouting (const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override |
Detaches a SampleStream where the routing was set by AttachRouting. | |
sample_stream (const char *strName) | |
tResult | SetName (const char *strName) override |
tResult | SetParent (const ucom::ant::IObject *oParentObject) override |
tResult | Open (const char *strName, adtf::ucom::ant::iobject_ptr< ISampleInStream > &pInStream, const adtf::ucom::ant::iobject_ptr< const IStreamType > &pInitialAcceptedStreamType, ISampleStream::IPushReadEventSink *&pPushEventSink, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize) override |
tResult | Open (const char *strName, adtf::ucom::ant::iobject_ptr< ISampleOutStream > &pOutStream, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize) override |
tResult | GetType (adtf::ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const override |
tTimeStamp | GetTime () const override |
Returns the last flush time and so the current position of the stream. | |
tResult | SetStreamError (const tResult &oError) override |
Sets and forwards a StreamError to the readers. | |
tResult | AttachRouting (const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override |
Attaches a SampleStream where to route the Write / Flush and Run calls to. | |
tResult | DetachRouting (const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override |
Detaches a SampleStream where the routing was set by AttachRouting. | |
![]() | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. | |
void | Destroy () const override |
Switch from non-virtual destructor to virtual destructor. | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. | |
void | Destroy () const override |
Switch from non-virtual destructor to virtual destructor. | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. | |
void | Destroy () const override |
Switch from non-virtual destructor to virtual destructor. | |
![]() | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() | |
Protected Member Functions | |
cSampleStream (const cSampleStream &)=delete | |
deleted copy CTOR | |
cSampleStream (cSampleStream &&)=delete | |
deleted move CTOR | |
cSampleStream & | operator= (const cSampleStream &)=delete |
deleted copy operator | |
cSampleStream & | operator= (cSampleStream &&)=delete |
deleted move operator | |
![]() | |
sample_stream (sample_stream &&)=delete | |
sample_stream (const sample_stream &)=delete | |
sample_stream & | operator= (sample_stream &&)=delete |
sample_stream & | operator= (const sample_stream &)=delete |
sample_stream (sample_stream &&)=delete | |
sample_stream (const sample_stream &)=delete | |
sample_stream & | operator= (sample_stream &&)=delete |
sample_stream & | operator= (const sample_stream &)=delete |
sample_stream (sample_stream &&)=delete | |
sample_stream (const sample_stream &)=delete | |
sample_stream & | operator= (sample_stream &&)=delete |
sample_stream & | operator= (const sample_stream &)=delete |
![]() | |
~IObject ()=default | |
Protected destructor --> Only the final implementation can be destroyed! | |
Private Member Functions | |
A_UTILS_D (cSampleStream) | |
private d-pointer | |
The Default implementation of the ISampleStream interface.
This object implementation is also provided through the Default Core Objects Plugin delivered with ADTF installation.
Definition at line 250 of file samplestream.h.
using iobject_ptr = adtf::ucom::ant::iobject_ptr < T > |
used type for iobject_ptr
Definition at line 263 of file samplestream.h.
|
inline |
CTOR initializes the name of the stream.
Definition at line 279 of file samplestream.h.