ADTF
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
v
Enumerator
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Typedefs
_
a
b
c
d
e
f
h
i
m
n
o
p
r
s
t
u
v
x
Enumerations
a
c
d
e
f
i
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
Related Symbols
Files
File List
File Members
All
_
a
c
d
e
f
h
i
l
m
o
p
r
s
t
u
Functions
Variables
Typedefs
Macros
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
discrete_clock.h
Go to the documentation of this file.
1
7
#pragma once
8
#include "
base_clock.h
"
9
10
11
namespace
adtf
12
{
13
14
namespace
system
15
{
16
17
namespace
ant
18
{
19
25
class
cDiscreteClock
:
public
cBaseClock
26
{
27
private
:
28
std::atomic_int_least64_t m_nCurrentTime;
29
30
public
:
33
cDiscreteClock
(
const
char
* strName);
34
35
public
:
36
tTimeStamp GetTime()
const override
;
37
38
public
:
45
tResult
Reset
(tTimeStamp tmNewTime);
52
tResult
SetTime
(tTimeStamp tmNewTime);
53
};
25
class
cDiscreteClock
:
public
cBaseClock
{
…
};
54
55
}
56
57
namespace
flash
58
{
59
61
class
cDiscreteClock
:
public
cBaseClock
62
{
63
private
:
64
adtf::base::flash::tNanoSeconds
m_nCurrentTime;
65
66
public
:
69
cDiscreteClock
();
70
73
cDiscreteClock
(
const
char
* strName);
74
75
public
:
76
adtf::base::flash::tNanoSeconds
GetTimeNs()
const override
;
77
78
public
:
85
tResult
Reset
(tTimeStamp tmNewTime);
86
93
tResult
SetTime
(tTimeStamp tmNewTime);
94
101
tResult
Reset
(
adtf::base::flash::tNanoSeconds
tmNewTime);
102
109
tResult
SetTime
(
adtf::base::flash::tNanoSeconds
tmNewTime);
110
};
61
class
cDiscreteClock
:
public
cBaseClock
{
…
};
111
112
}
113
114
using
flash::cDiscreteClock
;
115
116
}
117
118
}
base_clock.h
tResult
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition
result.h:899
adtf::system::ant::cBaseClock::cBaseClock
cBaseClock(const char *strName)
adtf::system::ant::cDiscreteClock::SetTime
tResult SetTime(tTimeStamp tmNewTime)
adtf::system::ant::cDiscreteClock::Reset
tResult Reset(tTimeStamp tmNewTime)
adtf::system::ant::cDiscreteClock::cDiscreteClock
cDiscreteClock(const char *strName)
adtf::system::cDiscreteClock::cDiscreteClock
cDiscreteClock()
adtf::system::flash::cBaseClock::cBaseClock
cBaseClock()
adtf::system::flash::cDiscreteClock
Definition
discrete_clock.h:62
adtf::system::flash::cDiscreteClock::SetTime
tResult SetTime(adtf::base::flash::tNanoSeconds tmNewTime)
adtf::system::flash::cDiscreteClock::cDiscreteClock
cDiscreteClock(const char *strName)
adtf::system::flash::cDiscreteClock::cDiscreteClock
cDiscreteClock()
adtf::system::flash::cDiscreteClock::Reset
tResult Reset(tTimeStamp tmNewTime)
adtf::system::flash::cDiscreteClock::Reset
tResult Reset(adtf::base::flash::tNanoSeconds tmNewTime)
adtf::system::flash::cDiscreteClock::SetTime
tResult SetTime(tTimeStamp tmNewTime)
adtf::system::ant
Namespace for all functionality of the ADTF System SDK provided since v3.0.
Definition
adtf_service.h:16
adtf::system::flash
Namespace for all functionality of the ADTF System SDK provided since v3.5.
Definition
base_clock.h:66
adtf::system
Namespace for the ADTF System SDK.
Definition
adtf_service.h:14
adtf
Namespace for all functionality provided by ADTF and its SDKs.
Definition
adtf_client_connector.h:14
adtf::base::flash::tNanoSeconds
A timestamp with nanosecond precision.
Definition
chrono.h:23
src
libraries
systemsdk
include
adtfsystemsdk
discrete_clock.h
Copyright © CARIAD SE. All rights reserved | Generated on Wed Nov 19 2025 by doxygen 1.13.2 | GIT Commit Hash: 21ff3de8293035958b559ef2bf239cf21cce2613