time.h
Go to the documentation of this file.
1#pragma once
2
6
8
9// arondto forward declarations
10namespace armarx::arondto
11{
12 class ClockType;
13 class Duration;
14 class DateTime;
15 class Frequency;
16} // namespace armarx::arondto
17
18namespace IceUtil
19{
20 class Time;
21
22 /* Deprecated stuff from old time type */
23 [[deprecated(
24 "Using IceUtil::Time in ArmarX is deprecated. Use armarx::DateTime instead.")]] void
25 fromAron(const long& dto, IceUtil::Time& bo);
26
27 [[deprecated(
28 "Using IceUtil::Time in ArmarX is deprecated. Use armarx::DateTime instead.")]] void
29 toAron(long& dto, const IceUtil::Time& bo);
30
31 [[deprecated(
32 "Using IceUtil::Time in ArmarX is deprecated. Use armarx::DateTime instead.")]] void
33 fromAron(const IceUtil::Time& dto, armarx::DateTime& bo);
34
35 [[deprecated(
36 "Using IceUtil::Time in ArmarX is deprecated. Use armarx::DateTime instead.")]] void
37 toAron(IceUtil::Time& dto, const armarx::DateTime& bo);
38} // namespace IceUtil
39
41{
42 void fromAron(const arondto::ClockType& dto, ClockType& bo);
43 void toAron(arondto::ClockType& dto, const ClockType& bo);
44
45 void fromAron(const arondto::Duration& dto, Duration& bo);
46 void toAron(arondto::Duration& dto, const Duration& bo);
47
48 void fromAron(const arondto::Frequency& dto, Frequency& bo);
49 void toAron(arondto::Frequency& dto, const Frequency& bo);
50
51 void fromAron(const arondto::DateTime& dto, DateTime& bo);
52 void toAron(arondto::DateTime& dto, const DateTime& bo);
53
54} // namespace armarx::aron::time
55
56namespace armarx::aron
57{
58 using time::fromAron;
59 using time::toAron;
60} // namespace armarx::aron
61
62namespace armarx
63{
66} // namespace armarx
Represents a point in time.
Definition DateTime.h:25
Represents a duration.
Definition Duration.h:17
Represents a frequency.
Definition Frequency.h:17
void fromAron(const long &dto, IceUtil::Time &bo)
Definition time.cpp:10
void toAron(long &dto, const IceUtil::Time &bo)
Definition time.cpp:16
armarx::core::time::DateTime Time
armarx::core::time::Duration Duration
void fromAron(const arondto::ClockType &dto, ClockType &bo)
Definition time.cpp:34
void toAron(arondto::ClockType &dto, const ClockType &bo)
Definition time.cpp:54
ClockType
Describes the type of clock.
Definition ClockType.h:10
This file offers overloads of toIce() and fromIce() functions for STL container types.