ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
adtf::streaming::giant Namespace Reference

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.
 

Detailed Description

Namespace for all functionality of the ADTF Streaming SDK provided since v3.6.

Function Documentation

◆ get_sample_time()

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.

Parameters
oSampleThe sample.
Returns
The timestamp.

References get_sample_time().

Referenced by get_sample_time().

◆ set_description()

void set_description ( base::ant::IConfiguration & oConfig,
const char * strDescription )

Sets description information.

See also
adtf::filter::flash::cGraphObject::SetDescription()
Parameters
[in]oConfigThe configuration instance where the name and url will be stored
[in]strDescriptionThe description.
Returns
Standard result.

◆ set_editor()

void set_editor ( base::ant::IConfiguration & oConfig,
const char * strName,
const char * strUrl )

Sets graph element editor information.

See also
adtf::filter::flash::cGraphObject::SetEditor()
Parameters
[in]oConfigThe configuration instance where the name and url will be stored
[in]strNameThe name of the editor.
[in]strUrlThe url to the editor (a qml file).
Returns
Standard result.

◆ set_editors()

void set_editors ( base::ant::IConfiguration & oConfig,
const std::vector< std::pair< std::string, std::string > > & oEditors )

Sets multiple graph element editors.

See also
adtf::filter::flash::cGraphObject::SetEditor()
Parameters
[in]oConfigThe configuration instance where the names and urls will be stored
[in]oEditorsPairs of names and urls of the editors.
Returns
Standard result.

◆ set_sample_time() [1/2]

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.

Parameters
oSampleThe sample.
tmTimeStampThe timestamp.

References set_sample_time().

◆ set_sample_time() [2/2]

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.

Parameters
pSampleThe sample.
tmTimeStampThe timestamp.

References set_sample_time().

Referenced by set_sample_time(), and set_sample_time().