brings latest ant::IStreamItem to users scope
More...
#include <streamitem_intf.h>
Inherited by adtf::streaming::ant::cStreamItem.
|
|
| ~IStreamItem ()=default |
| | not destructable
|
| |
brings latest ant::IStreamItem to users scope
The IStreamItem interface is the base type for all object which are passed through a stream
◆ tType
serval types are defined
| Enumerator |
|---|
| StreamType | item is a IStreamType. Mind: All StreamType changes will be queue too !!
|
| Sample | item is a queue item contains a ISample
|
◆ GetObject()
Retrieves the object of the StreamItem.
- Return values
-
| ERR_NOERROR | Object successfully retrieved |
◆ GetSample()
Retrieves the sample of the StreamItem if GetType is tType::Sample
The StreamItem was created to prevent ucom_casts call while transmissions and to define clearly which items are supported.
- Return values
-
| ERR_NOERROR | Sample successfully retrieved |
◆ GetStreamType()
Retrieves the StreamType of the StreamItem if GetType is tType::StreamType
The StreamItem was created to prevent ucom_casts call while transmissions and to define clearly which items are supported.
- Return values
-
| ERR_NOERROR | StreamType successfully retrieved |
◆ GetType()
| virtual tType adtf::streaming::ant::IStreamItem::GetType |
( |
| ) |
const |
|
pure virtual |
Retrieves the type of the sample item. See tType for more info.
- Returns
- Returns the type of the sample item
◆ SetSample()
Sets a Sample to the StreamItem container and set tType::Sample
The StreamItem was created to prevent ucom_casts call while transmissions and to define clearly which items are supported.
- Parameters
-
| pSample | [in] Sample to set |
- Return values
-
| ERR_NOERROR | Sample successfully set |
◆ SetStreamType()
Sets a StreamType to the StreamItem container and set tType::StreamType
The StreamItem was created to prevent ucom_casts call while transmissions and to define clearly which items are supported.
- Parameters
-
| pStreamType | [in] StreamType to set |
- Return values
-
| ERR_NOERROR | Sample successfully set |
The documentation for this class was generated from the following file: