|
ADTF
|
#include <streamitem_intf.h>
Inherits adtf::streaming::ant::IStreamItem.
Public Member Functions | |
| constexpr | cStreamItem () noexcept |
| CTOR. | |
| cStreamItem (const IStreamItem &oItem) | |
| constexpr | cStreamItem (const ucom::ant::iobject_ptr< const ISample > &pSample) noexcept |
| constexpr | cStreamItem (const ucom::ant::iobject_ptr< const IStreamType > &pStreamType) noexcept |
| cStreamItem (const cStreamItem &oOther) noexcept | |
| copy CTOR | |
| cStreamItem (cStreamItem &&oOther) noexcept | |
| move CTOR | |
| cStreamItem & | operator= (const cStreamItem &)=default |
| copy operator | |
| cStreamItem & | operator= (cStreamItem &&)=default |
| move operator | |
| tType | GetType () const noexcept override |
| tResult | GetObject (ucom::ant::iobject_ptr< const ucom::ant::IObject > &pObject) const noexcept override |
| tResult | GetSample (ucom::ant::iobject_ptr< const ISample > &pSample) const noexcept override |
| tResult | GetStreamType (ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const noexcept override |
| tResult | SetSample (const ucom::ant::iobject_ptr< const ISample > &pSample) noexcept override |
| tResult | SetStreamType (const ucom::ant::iobject_ptr< const IStreamType > &pStreamType) noexcept override |
| tResult | CopyTo (IStreamItem &oDest) const noexcept |
Additional Inherited Members | |
Public Types inherited from adtf::streaming::ant::IStreamItem | |
| enum class | tType : uint32_t { Undefined = 0 , StreamType = 1 , Sample = 2 } |
| serval types are defined More... | |
Protected Member Functions inherited from adtf::streaming::ant::IStreamItem | |
| ~IStreamItem ()=default | |
| not destructable | |
Default implementation of an StreamItem as container of the sample stream s Queue
|
inline |
copy CTOR from interface
| oItem | [in] item to copy |
|
inlineconstexprnoexcept |
initializer CTOR
| pSample | [in] sample to set immediately |
|
inlineconstexprnoexcept |
initializer CTOR
| pStreamType | [in] StreamType to set immediately |
|
inlinenoexcept |
Copy its content to the oDest container
| oDest | [in] Destination item to copy the content to. |
| ERR_INVALID_TYPE | The content of this item is not initialized. |
|
inlineoverridevirtualnoexcept |
Retrieves the object of the StreamItem.
| ERR_NOERROR | Object successfully retrieved |
Implements adtf::streaming::ant::IStreamItem.
|
inlineoverridevirtualnoexcept |
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.
| ERR_NOERROR | Sample successfully retrieved |
Implements adtf::streaming::ant::IStreamItem.
|
inlineoverridevirtualnoexcept |
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.
| ERR_NOERROR | StreamType successfully retrieved |
Implements adtf::streaming::ant::IStreamItem.
|
inlineoverridevirtualnoexcept |
Retrieves the type of the sample item. See tType for more info.
Implements adtf::streaming::ant::IStreamItem.
|
inlineoverridevirtualnoexcept |
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.
| pSample | [in] Sample to set |
| ERR_NOERROR | Sample successfully set |
Implements adtf::streaming::ant::IStreamItem.
|
inlineoverridevirtualnoexcept |
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.
| pStreamType | [in] StreamType to set |
| ERR_NOERROR | Sample successfully set |
Implements adtf::streaming::ant::IStreamItem.