|
ADTF
|
#include <sample.h>
Public Member Functions | |
| output_sample_data (base::flash::tNanoSeconds tmSampleTime) | |
| output_sample_data (tTimeStamp tmSampleTime) | |
| output_sample_data (base::flash::tNanoSeconds tmSampleTime, const T &oValue) | |
| output_sample_data (base::flash::tNanoSeconds tmSampleTime, const T &oValue, uint32_t nSubStreamId) | |
| output_sample_data (tTimeStamp tmSampleTime, const T &oValue) | |
| output_sample_data (const ant::ISample &oSampleToCopy) | |
| output_sample_data (const ucom::ant::iobject_ptr< const ant::ISample > &pSampleToCopy) | |
| output_sample_data (output_sample_data &&)=default | |
| output_sample_data & | operator= (output_sample_data &&)=default |
| output_sample_data & | operator= (const T &oValue) |
| void | SetSubStreamId (uint32_t nSubStreamId) |
| T * | GetDataPtr () |
| const T * | GetDataPtr () const |
| T * | operator-> () |
| const T * | operator-> () const |
| T & | GetData () |
| const T & | GetData () const |
| T & | operator* () |
| const T & | operator* () const |
| operator T& () | |
| operator const T & () const | |
| ucom::ant::object_ptr< ant::ISample > | Release () |
| tResult | SetSampleInfo (const ISampleInfo::tHashKey &oHash, const adtf::util::cVariant oValue) |
Protected Attributes | |
| ucom::ant::object_ptr< ant::ISample > | m_pSample |
| ucom::ant::object_ptr_locked< ant::ISampleBuffer > | m_pBuffer |
Wrapper class that facilitates the handling of output samples.
Use one of its constructors to initialize the data, then update it and finally call Release() to retrieve a sample that you can write via ISampleWriter::Write().
|
inlineexplicit |
Initializes the data timestamp
or
| [in] | tmSampleTime | The timestamp. |
| tResult | In case of an error. |
|
inlineexplicit |
Initializes the data timestamp
| [in] | tmSampleTime | The timestamp. |
| tResult | In case of an error. |
|
inline |
Initializes the data timestamp and value
| [in] | tmSampleTime | The timestamp. |
| [in] | oValue | The value of the sample data |
| tResult | In case of an error. |
|
inline |
Initializes the data timestamp and value
| [in] | tmSampleTime | The timestamp. |
| [in] | oValue | The value of the sample data |
| tResult | In case of an error. |
|
inlineexplicit |
Initializes the data from an existing sample
| [in] | oSampleToCopy | The sample to copy. |
| tResult | In case of an error. |
|
inlineexplicit |
Initializes the data from an existing sample
| [in] | pSampleToCopy | The sample to copy. |
| tResult | In case of an error. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
Assigns a new value to the data.
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
Returns a sample that contains the data and resets all internal data. Do not call any other methods after you called this method.
| ERR_INVALID_STATE | If Release() has been called. |
|
inline |
Sets a variant value for the hash key oHash into the current samples sample information.
| [in] | oHash | The hash key of the value. |
| [in] | oValue | value to set. |
| ERR_NOERROR | value is set |
| ERR_INVALID_TYPE | Type is not supported. See base::ant::IHashValueMapValue::tType |
|
inline |
Sets the Substream id of the generated sample.
| [in] | nSubStreamId | The substream id. |