ADTF
Loading...
Searching...
No Matches
adtf::services::ant::IReferenceClock::IClock Class Referenceabstract

#include <reference_clock_intf.h>

Inherits adtf::ucom::ant::IObject.

Inherited by adtf::services::flash::IReferenceClock::IClock.

Public Member Functions

 ADTF_IID (IClock, "clock.reference_clock.ant.streaming.adtf.iid")
 
virtual tResult GetName (adtf::base::ant::IString &&strName) const =0
 
virtual tTimeStamp GetTime () const =0
 
- Public Member Functions inherited from adtf::ucom::ant::IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 

Additional Inherited Members

- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

Interface for clocks.

See also
Example Demo Virtual Clock

Member Function Documentation

◆ ADTF_IID()

adtf::services::ant::IReferenceClock::IClock::ADTF_IID ( IClock ,
"clock.reference_clock.ant.streaming.adtf.iid"  )

Marks the IClock to be castable with the adtf::ucom::ant::ucom_cast

See also
ADTF_IID(_interface, _striid)

◆ GetName()

virtual tResult adtf::services::ant::IReferenceClock::IClock::GetName ( adtf::base::ant::IString && strName) const
pure virtual
Returns
The name of the clock.

◆ GetTime()

virtual tTimeStamp adtf::services::ant::IReferenceClock::IClock::GetTime ( ) const
pure virtual

Returns the current time of the clock. Keep in mind that this should be roughly microseconds.

Returns
The current time of the clock.

The documentation for this class was generated from the following file: