ADTF  3.18.3
adtf_remote_clock_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include <adtf_utils.h>
9 #include <adtf_ucom3.h>
10 
11 namespace adtf
12 {
13 namespace remote
14 {
15 namespace ant
16 {
17 
22 class IClock
23 {
24 public:
26  ADTF_IID(IClock, "clock.ant.remote.adtf");
27 
29  static constexpr const tChar* const DEFAULT_NAME = "clock";
30 
31 public:
33  virtual tTimeStamp GetStreamTime() const = 0;
35  virtual tTimeStamp GetTime() const = 0;
38  virtual const char* GetClocks() const = 0;
41  virtual tTimeStamp GetTimeOfClock(const char* strClockName) const = 0;
42 };
43 
44 }
45 using ant::IClock;
46 }
47 }
Copyright © Audi Electronics Venture GmbH.
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
The Remote Clock interface provides access to retrieve information of the current adtf::services::ant...
virtual tTimeStamp GetTime() const =0
Retrieves the current reference time.
ADTF_IID(IClock, "clock.ant.remote.adtf")
RPC IID of the Clock.
static constexpr const tChar *const DEFAULT_NAME
Default rpc object server name within an ADTF system.
virtual const char * GetClocks() const =0
Returns the current available clocks within adtf::services::ant::IReferenceClock.
virtual tTimeStamp GetStreamTime() const =0
Retrieves the stream time which is reset at the start of the stream.
virtual tTimeStamp GetTimeOfClock(const char *strClockName) const =0
Returns the current timestamp of the adtf::services::ant::IReferenceClock if strClockName is availabl...
Namespace for entire ADTF SDK.