16#define CID_ADTF_REFERENCE_CLOCK "reference_clock.service.adtf.cid"
199 virtual tTimeStamp
Sync2RefTime(tTimeStamp tmRefStreamTime, tTimeStamp tmInputTime) = 0;
350 ADTF3_DEPRECATED(
"Use adtf::services::vision::GetSync2RefChannel(adtf::ucom::ant::iobject_ptr<adtf::services::vision::IReferenceClock::ISync2RefChannel>& pSync2RefChannel, const char* strName = nullptr, const char* strMethod = nullptr) instead.")
352 const
char* strName =
nullptr, const
char* strMethod =
nullptr) const = 0;
451 ADTF3_DEPRECATED(
"Use adtf::services::vision::GetSync2RefChannel(adtf::ucom::ant::iobject_ptr<adtf::services::vision::IReferenceClock::ISync2RefChannel>& pSync2RefChannel, const char* strName = nullptr, const char* strMethod = nullptr) instead.")
453 const
char* strName =
nullptr, const
char* strMethod =
nullptr) const = 0;
510 ADTF3_DEPRECATED(
"Use adtf::services::vision::GetSync2RefChannel(adtf::ucom::ant::iobject_ptr<adtf::services::vision::IReferenceClock::ISync2RefChannel>& pSync2RefChannel, const char* strName = nullptr, const char* strMethod = nullptr) instead.")
512 const
char* strName =
nullptr, const
char* strMethod =
nullptr) const = 0;
600 ADTF3_DEPRECATED(
"Use adtf::services::vision::GetSync2RefChannel(bool bSystemClockTimestamps, adtf::ucom::ant::iobject_ptr<adtf::services::vision::IReferenceClock::ISync2RefChannel>& pSync2RefChannel, const char* strName) instead.")
603 const
char* strName =
nullptr) const = 0;
770 ADTF3_DEPRECATED(
"Use adtf::services::vision::GetSync2RefChannel(tTimeBase eTimeBase, adtf::ucom::ant::iobject_ptr<adtf::services::vision::IReferenceClock::ISync2RefChannel>& pSync2RefChannel, const char* strName) instead.")
773 const
char* strName =
nullptr) const = 0;
816 const char* strName =
nullptr,
817 const char* strMethod =
nullptr)
const = 0;
833 const char* strName =
nullptr)
const = 0;
847 const char* strName =
nullptr)
const = 0;
859 ADTF_IID(ISimulationClock,
"simulation_clock.detail.streaming.adtf.iid");
861 virtual tResult SetClockSpeed(
double fSpeed) = 0;
865 virtual bool IsRunning()
const = 0;
866 virtual double GetClockSpeed()
const = 0;
874using vision::IReferenceClock;
#define ADTF3_DEPRECATED(_depr_message_)
Definition adtf_base_deprecated.h:27
#define ADTF_IID(_interface, _striid)
Definition adtf_iid.h:19
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition string_intf.h:29
Definition reference_clock_intf.h:801
Definition reference_clock_intf.h:126
virtual tResult HandleClock(const ucom::ant::iobject_ptr< IClock > &pClock)=0
Definition reference_clock_intf.h:100
virtual tResult GetName(adtf::base::ant::IString &&strName) const =0
virtual tTimeStamp GetTime() const =0
ADTF_IID(IClock, "clock.reference_clock.ant.streaming.adtf.iid")
Definition reference_clock_intf.h:206
ADTF_IID(ISync2RefChannelFactory, "sync2ref_channel_factory.reference_clock.ant.streaming.adtf.iid")
Definition reference_clock_intf.h:140
virtual tTimeStamp Sync2RefTime(tTimeStamp tmRefStreamTime, tTimeStamp tmInputTime)=0
ADTF_IID(ISync2RefChannel, "sync2ref_channel.reference_clock.ant.streaming.adtf.iid")
virtual tTimeStamp Sync2RefTime(tTimeStamp tmInputTime)=0
Definition reference_clock_intf.h:223
virtual tResult HandleSync2RefFactory(ISync2RefChannelFactory &oFactory)=0
The IReferenceClock interface provides the reference time source for the filter graph.
Definition reference_clock_intf.h:34
virtual tResult RegisterClock(const adtf::ucom::ant::iobject_ptr< IClock > &pClock)=0
virtual tResult GetClock(const char *strName, adtf::ucom::ant::iobject_ptr< IClock > &pClock) const =0
virtual tResult ListSync2RefMethods(ISync2RefListCallback &oCallback)=0
virtual tResult SetMainClock(const char *strName)=0
ADTF_IID(IReferenceClock, "reference_clock.ant.streaming.adtf.iid")
virtual tResult GetClocks(IClockListCallback &oCallback) const =0
virtual tResult GetMainClock(adtf::base::ant::IString &&strName) const =0
virtual tResult UnregisterSync2RefFactory(const adtf::ucom::ant::iobject_ptr< ISync2RefChannelFactory > &oSync2RefFactory)=0
virtual tTimeStamp GetTime() const =0
virtual tResult GetStreamClock(adtf::base::ant::IString &&strName) const =0
virtual tResult GetSync2RefChannel(adtf::ucom::ant::iobject_ptr< ISync2RefChannel > &pSync2RefChannel, const char *strName=nullptr, const char *strMethod=nullptr) const =0
virtual tResult SetStreamClock(const char *strName)=0
static const int ADTF_MAX_CLOCK_NAME_LENGTH
Definition reference_clock_intf.h:52
~IReferenceClock()=default
not destructable
virtual tTimeStamp GetStreamTime() const =0
tReferenceClockEventId
Definition reference_clock_intf.h:60
@ EVENT_TimeResetBegin
Event describes the Time reset before setting a new time.
Definition reference_clock_intf.h:62
@ EVENT_TimeUpdate
Event describes that the time has been updated, only emitted by non-continuous clocks.
Definition reference_clock_intf.h:66
@ EVENT_TimeResetEnd
Event describes the Time reset after a new time was set.
Definition reference_clock_intf.h:64
virtual tResult RegisterSync2RefFactory(const adtf::ucom::ant::iobject_ptr< ISync2RefChannelFactory > &oSync2RefFactory)=0
virtual tResult UnregisterClock(const adtf::ucom::ant::iobject_ptr< IClock > &pClock)=0
Definition reference_clock_intf.h:403
virtual base::flash::tNanoSeconds GetTimeNs() const =0
ADTF_IID(IClock, "clock.reference_clock.flash.streaming.adtf.iid")
Definition reference_clock_intf.h:423
ADTF_IID(ISync2RefChannel, "sync2ref_channel.reference_clock.flash.streaming.adtf.iid")
The IReferenceClock interface provides the reference time source for the filter graph.
Definition reference_clock_intf.h:364
virtual tResult GetSync2RefChannel(adtf::ucom::ant::iobject_ptr< ISync2RefChannel > &pSync2RefChannel, const char *strName=nullptr, const char *strMethod=nullptr) const =0
ADTF_IID(IReferenceClock, "reference_clock.flash.streaming.adtf.iid")
~IReferenceClock()=default
not destructable
Definition reference_clock_intf.h:484
ADTF_IID(ISync2RefChannel, "sync2ref_channel.reference_clock.giant.streaming.adtf.iid")
virtual void SyncReset()=0
The IReferenceClock interface provides the reference time source for the filter graph.
Definition reference_clock_intf.h:465
~IReferenceClock()=default
not destructable
ADTF_IID(IReferenceClock, "reference_clock.giant.streaming.adtf.iid")
virtual tResult GetSync2RefChannel(adtf::ucom::ant::iobject_ptr< ISync2RefChannel > &pSync2RefChannel, const char *strName=nullptr, const char *strMethod=nullptr) const =0
Definition reference_clock_intf.h:541
virtual bool IsSystemClock() const =0
The IReferenceClock interface provides the reference time source for the filter graph.
Definition reference_clock_intf.h:524
virtual tResult ConvertTimeOffset(adtf::base::flash::tNanoSeconds tmOffset, adtf::base::ant::IString &&strStringRepresentation) const =0
virtual tResult ConvertStreamTime(adtf::base::flash::tNanoSeconds tmStreamTime, adtf::base::ant::IString &&strStringRepresentation) const =0
virtual tResult ConvertStreamTime(const char *strStringRepresentation, adtf::base::flash::tNanoSeconds &tmStreamTime) const =0
virtual tResult GetSync2RefChannel(bool bSystemClockTimestamps, adtf::ucom::ant::iobject_ptr< giant::IReferenceClock::ISync2RefChannel > &pSync2RefChannel, const char *strName=nullptr) const =0
virtual tResult ConvertTimeOffset(const char *strStringRepresentation, adtf::base::flash::tNanoSeconds &tmOffset) const =0
ADTF_IID(IReferenceClock, "reference_clock.osborn.streaming.adtf.iid")
~IReferenceClock()=default
not destructable
Definition reference_clock_intf.h:704
virtual tResult GetTimeGuard(const char *strName, ucom::ant::iobject_ptr< ITimeGuard > &pGuard)=0
Definition reference_clock_intf.h:635
virtual bool IsBroken(tTimePointId eTimePointId) const =0
virtual base::flash::tNanoSeconds GetTimePoint(tTimePointId eTimePointId) const =0
virtual tResult WaitUntilBegin() const =0
static constexpr base::flash::tNanoSeconds NoTimePoint
Definition reference_clock_intf.h:657
tTimePointId
The two time points of a barrier.
Definition reference_clock_intf.h:649
@ Begin
The begin time point.
Definition reference_clock_intf.h:650
@ End
The end time point.
Definition reference_clock_intf.h:651
Definition reference_clock_intf.h:677
virtual tResult CreateBarrier(base::flash::tNanoSeconds tmBegin, base::flash::tNanoSeconds tmEnd, ucom::ant::iobject_ptr< ITimeBarrier > &pBarrier)=0
The IReferenceClock interface provides the reference time source for the filter graph.
Definition reference_clock_intf.h:615
virtual tResult GetTimeGuard(const char *strName, ucom::ant::iobject_ptr< ITimeGuard > &pGuard)=0
ADTF_IID(IReferenceClock, "reference_clock.penguin.streaming.adtf.iid")
~IReferenceClock()=default
not destructable
The IReferenceClock interface provides the reference time source for the filter graph.
Definition reference_clock_intf.h:733
tTimeBase
The time bases of a timestamp.
Definition reference_clock_intf.h:749
@ UNSPECIFIED
no timebase specified
Definition reference_clock_intf.h:750
@ POSIX_TAI
Posix TAI timebase.
Definition reference_clock_intf.h:752
@ POSIX_UTC
Posix UTC timebase.
Definition reference_clock_intf.h:751
ADTF_IID(IReferenceClock, "reference_clock.riddler.streaming.adtf.iid")
~IReferenceClock()=default
not destructable
virtual tResult GetSync2RefChannel(tTimeBase eTimeBase, adtf::ucom::ant::iobject_ptr< IReferenceClock::ISync2RefChannel > &pSync2RefChannel, const char *strName=nullptr) const =0
Definition reference_clock_intf.h:782
virtual tResult GetSync2RefChannel(tTimeBase eTimeBase, adtf::ucom::ant::iobject_ptr< IReferenceClock::ISync2RefChannel > &pSync2RefChannel, const char *strName=nullptr) const =0
virtual tResult GetSync2RefChannel(adtf::ucom::ant::iobject_ptr< ISync2RefChannel > &pSync2RefChannel, const char *strName=nullptr, const char *strMethod=nullptr) const =0
~IReferenceClock()=default
not destructable
ADTF_IID(IReferenceClock, "reference_clock.vision.streaming.adtf.iid")
virtual tResult GetSync2RefChannel(bool bSystemClockTimestamps, adtf::ucom::ant::iobject_ptr< IReferenceClock::ISync2RefChannel > &pSync2RefChannel, const char *strName=nullptr) const =0
Definition object_intf.h:33
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
Namespace for all service interfaces provided since v3.0.
Definition rpc_object_server_registry_intf.h:82
Namespace for all service interfaces provided since v3.5.
Definition signal_listening_intf.h:112
Namespace for all service interfaces provided since v3.6.
Definition reference_clock_intf.h:459
Namespace for all service interfaces provided since v3.14.
Definition reference_clock_intf.h:518
Namespace for all service interfaces provided since v3.15.
Definition reference_clock_intf.h:609
Namespace for all service interfaces provided since v3.17.
Definition reference_clock_intf.h:728
Namespace for all service interfaces provided since v3.21.
Definition macroresolver_intf.h:222
Namespace for the ADTF uCOM SDK.
Definition adtf_system.h:324
ant::IObject IObject
Alias always bringing the latest version of ant::IObject into scope.
Definition object_intf.h:109
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
A timestamp with nanosecond precision.
Definition chrono.h:23
Definition reference_clock_intf.h:83
int nEventId
EventId shown in IReferenceClock::tReferenceClockEventId.
Definition reference_clock_intf.h:87
tTimeStamp nOldTime
The old time before set new time.
Definition reference_clock_intf.h:89
tTimeStamp nNewTime
The new time set.
Definition reference_clock_intf.h:91
tHandle hObject
sender of the event
Definition reference_clock_intf.h:85
Definition reference_clock_intf.h:392
adtf::base::flash::tNanoSeconds nNewTimeNs
The new time set.
Definition reference_clock_intf.h:396
adtf::base::flash::tNanoSeconds nOldTimeNs
The old time before set new time.
Definition reference_clock_intf.h:394