Namespace for all functionality of the ADTF Streaming SDK provided since v3.6. More...
Functions | |
void | set_description (base::ant::IConfiguration &oConfig, const char *strDescription) |
Sets description information. | |
void | set_editor (base::ant::IConfiguration &oConfig, const char *strName, const char *strUrl) |
Sets graph element editor information. | |
void | set_editors (base::ant::IConfiguration &oConfig, const std::vector< std::pair< std::string, std::string > > &oEditors) |
Sets multiple graph element editors. | |
base::flash::tNanoSeconds | get_sample_time (const ant::ISample &oSample) |
Returns the sample timestamp with nanosecond precision. | |
void | set_sample_time (const ucom::ant::iobject_ptr< ant::ISample > &pSample, base::flash::tNanoSeconds tmTimeStamp) |
Sets the sample timestamp with nanosecond precision. | |
void | set_sample_time (ant::ISample &oSample, base::flash::tNanoSeconds tmTimeStamp) |
Sets the sample timestamp with nanosecond precision. | |
Namespace for all functionality of the ADTF Streaming SDK provided since v3.6.
base::flash::tNanoSeconds get_sample_time | ( | const ant::ISample & | oSample | ) |
Returns the sample timestamp with nanosecond precision.
This will check if the sample supports nanosecond precision (via adtf::streaming::flash::ISample) and convert the microseconds timestamp if not.
oSample | The sample. |
References get_sample_time().
Referenced by get_sample_time().
void set_description | ( | base::ant::IConfiguration & | oConfig, |
const char * | strDescription ) |
Sets description information.
[in] | oConfig | The configuration instance where the name and url will be stored |
[in] | strDescription | The description. |
void set_editor | ( | base::ant::IConfiguration & | oConfig, |
const char * | strName, | ||
const char * | strUrl ) |
Sets graph element editor information.
[in] | oConfig | The configuration instance where the name and url will be stored |
[in] | strName | The name of the editor. |
[in] | strUrl | The url to the editor (a qml file). |
void set_editors | ( | base::ant::IConfiguration & | oConfig, |
const std::vector< std::pair< std::string, std::string > > & | oEditors ) |
Sets multiple graph element editors.
[in] | oConfig | The configuration instance where the names and urls will be stored |
[in] | oEditors | Pairs of names and urls of the editors. |
void set_sample_time | ( | ant::ISample & | oSample, |
base::flash::tNanoSeconds | tmTimeStamp ) |
Sets the sample timestamp with nanosecond precision.
This will check if the sample supports nanosecond precision (via adtf::streaming::flash::ISample) and convert the timestamp to microseconds if not.
oSample | The sample. |
tmTimeStamp | The timestamp. |
References set_sample_time().
void set_sample_time | ( | const ucom::ant::iobject_ptr< ant::ISample > & | pSample, |
base::flash::tNanoSeconds | tmTimeStamp ) |
Sets the sample timestamp with nanosecond precision.
This will check if the sample supports nanosecond precision (via adtf::streaming::flash::ISample) and convert the timestamp to microseconds if not.
pSample | The sample. |
tmTimeStamp | The timestamp. |
References set_sample_time().
Referenced by set_sample_time(), and set_sample_time().