ADTF
|
The Default implementation of the ISampleStream interface. More...
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. | |
Public Member Functions inherited from sample_stream< ISampleStream > | |
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. More... | |
tResult | AttachRouting (const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override |
Attaches a SampleStream where to route the Write / Flush and Run calls to. More... | |
tResult | DetachRouting (const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override |
Detaches a SampleStream where the routing was set by AttachRouting. More... | |
Public Member Functions inherited from object< detail::cSampleStreamBase, ISampleStream, named_graph_object< trigger_pipe_item< ISampleStream > > > | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. More... | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. More... | |
void | Destroy () const override |
Destruct and deallocate instantiations of type IObject . More... | |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
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 | |
Protected Member Functions inherited from sample_stream< ISampleStream > | |
sample_stream (sample_stream &&)=delete | |
sample_stream (const sample_stream &)=delete | |
sample_stream & | operator= (sample_stream &&)=delete |
sample_stream & | operator= (const sample_stream &)=delete |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
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.