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

More...

#include <reference_clock_intf.h>

Inherits adtf::services::ant::IReferenceClock::IClock.

Public Member Functions

 ADTF_IID (IClock, "clock.reference_clock.flash.streaming.adtf.iid")
 
virtual base::flash::tNanoSeconds GetTimeNs () const =0
 
- Public Member Functions inherited from adtf::services::ant::IReferenceClock::IClock
 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::flash::IReferenceClock::IClock::ADTF_IID ( IClock ,
"clock.reference_clock.flash.streaming.adtf.iid"  )

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

See also
ADTF_IID(_interface, _striid)

◆ GetTimeNs()

virtual base::flash::tNanoSeconds adtf::services::flash::IReferenceClock::IClock::GetTimeNs ( ) const
pure virtual

Returns the current time of the clock in nanoseconds.

Returns
The current time of the clock.

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