ADTF
Loading...
Searching...
No Matches
cSampleStreamInPort

The Default implementation of the ISampleStream interface. More...

#include <samplestreaminport.h>

Inheritance diagram for cSampleStreamInPort:
[legend]

Public Member Functions

 ADTF_CLASS_ID_NAME (cSampleStreamInPort, "default_sample_stream_in_port.streaming.adtf.cid", "Sample Stream Inport")
 Implements adtf::ucom::IClassInfo.
 
 cSampleStreamInPort (const char *strName, const char *strPortID)
 CTOR initializes the name of the stream.
 
virtual ~cSampleStreamInPort ()=default
 DTOR.
 
tResult GetPortID (adtf::base::ant::IString &&strID)
 
- Public Member Functions inherited from object< IStreamingPort, IStreamingInPort, sample_stream< ISampleStreamInPort > >
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.
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast()
 

Protected Member Functions

 cSampleStreamInPort (const cSampleStreamInPort &)=delete
 deleted copy CTOR
 
 cSampleStreamInPort (cSampleStreamInPort &&)=delete
 deleted move CTOR
 
cSampleStreamInPortoperator= (const cSampleStreamInPort &)=delete
 deleted copy operator
 
cSampleStreamInPortoperator= (cSampleStreamInPort &&)=delete
 deleted move operator
 
 cSampleStreamInPort ()=default
 CTOR.
 
- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Private Attributes

adtf_util::cString m_strPortID
 

Detailed Description

The Default implementation of the ISampleStream interface.

This object implementation is also provided through the Default Core Objects Plugin delivered with ADTF installation.

See also
Sample Stream

Definition at line 27 of file samplestreaminport.h.

Constructor & Destructor Documentation

◆ cSampleStreamInPort()

cSampleStreamInPort ( const char * strName,
const char * strPortID )
inline

CTOR initializes the name of the stream.

Definition at line 54 of file samplestreaminport.h.

Member Function Documentation

◆ GetPortID()

tResult GetPortID ( adtf::base::ant::IString && strID)
inline

Definition at line 63 of file samplestreaminport.h.

Member Data Documentation

◆ m_strPortID

adtf_util::cString m_strPortID
private

Definition at line 68 of file samplestreaminport.h.