time.h
Go to the documentation of this file.
1 #pragma once
2 
6 
8 
9 // arondto forward declarations
10 namespace armarx::arondto
11 {
12  class ClockType;
13  class Duration;
14  class DateTime;
15  class Frequency;
16 } // namespace armarx::arondto
17 
18 namespace 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
34 
35  [[deprecated(
36  "Using IceUtil::Time in ArmarX is deprecated. Use armarx::DateTime instead.")]] void
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 
56 namespace armarx::aron
57 {
58  using time::fromAron;
59  using time::toAron;
60 } // namespace armarx::aron
61 
62 namespace armarx
63 {
65  using aron::time::toAron;
66 } // namespace armarx
IceUtil::toAron
void toAron(long &dto, const IceUtil::Time &bo)
Definition: time.cpp:16
armarx::arondto
Definition: framed.h:7
armarx::aron::time::fromAron
void fromAron(const arondto::ClockType &dto, ClockType &bo)
Definition: time.cpp:34
DateTime.h
Frequency.h
Duration.h
armarx::core::time::Frequency
Represents a frequency.
Definition: Frequency.h:17
armarx::aron::time::toAron
void toAron(arondto::ClockType &dto, const ClockType &bo)
Definition: time.cpp:54
IceUtil
Definition: Instance.h:21
aron_conversions.h
armarx::aron
Definition: DataDisplayVisitor.cpp:5
armarx::aron::time
Definition: time.h:40
armarx::core::time::ClockType
ClockType
Describes the type of clock.
Definition: ClockType.h:10
armarx::armem::Time
armarx::core::time::DateTime Time
Definition: forward_declarations.h:13
IceUtil::fromAron
void fromAron(const long &dto, IceUtil::Time &bo)
Definition: time.cpp:10
armarx::core::time::DateTime
Represents a point in time.
Definition: DateTime.h:24
armarx::core::time::Duration
Represents a duration.
Definition: Duration.h:17
armarx::armem::Duration
armarx::core::time::Duration Duration
Definition: forward_declarations.h:14
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::aron::bo
const std::optional< BoT > & bo
Definition: aron_conversions.h:168