ADTF  3.15.3
IReferenceClock::IClockabstract

Interface for clocks. More...

Inheritance diagram for IReferenceClock::IClock:
[legend]

Public Member Functions

 ADTF_IID (IClock, "clock.reference_clock.ant.streaming.adtf.iid")
 Marks the IClock to be castable with the adtf::ucom::ant::ucom_cast. More...
 
virtual tResult GetName (adtf::base::ant::IString &&strName) const =0
 
virtual tTimeStamp GetTime () const =0
 Returns the current time of the clock. More...
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast() More...
 

Additional Inherited Members

- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 

Detailed Description

Interface for clocks.

See also
Demo Virtual Clock Plugin

Definition at line 98 of file reference_clock_intf.h.

Member Function Documentation

◆ ADTF_IID()

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 GetName ( adtf::base::ant::IString &&  strName) const
pure virtual
Returns
The name of the clock.

◆ GetTime()

virtual tTimeStamp 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.