|
|
Namespaces | |
| dto | |
Classes | |
| class | Clock |
| Clock to get date/time from a specific clock type or wait for certain durations or until certain date/times in a given clock. More... | |
| class | DateTime |
| Represents a point in time. More... | |
| class | Duration |
| Represents a duration. More... | |
| class | Frequency |
| Represents a frequency. More... | |
| class | Metronome |
| Simple rate limiter for use in loops to maintain a certain frequency given a clock. More... | |
| class | ScopedStopWatch |
| Measures the time this stop watch was inside the current scope. More... | |
| class | StopWatch |
Measures the passed time between the construction or calling reset() and stop(). More... | |
Enumerations | |
| enum | ClockType { Realtime, Monotonic, Virtual, Unknown } |
| Describes the type of clock. More... | |
Functions | |
| void | from_json (const simox::json::json &j, ClockType &bo) |
| void | from_json (const simox::json::json &j, DateTime &bo) |
| void | from_json (const simox::json::json &j, Duration &bo) |
| void | from_json (const simox::json::json &j, Frequency &bo) |
| void | fromIce (const dto::ClockType::ClockTypeEnum &dto, ClockType &bo) |
| void | fromIce (const dto::DateTime &dto, DateTime &bo) |
| void | fromIce (const dto::Duration &dto, Duration &bo) |
| void | fromIce (const dto::Frequency &dto, Frequency &bo) |
| void | fromIce (const IceUtil::Time &dto, DateTime &bo) |
| void | fromIce (const IceUtil::Time &dto, Duration &bo) |
| Frequency | operator/ (const double cyclesPerDuration, const Duration &duration) |
| Frequency | operator/ (const int cyclesPerDuration, const Duration &duration) |
| Frequency | operator/ (const std::int64_t cyclesPerDuration, const Duration &duration) |
| std::ostream & | operator<< (std::ostream &out, const DateTime &rhs) |
| std::ostream & | operator<< (std::ostream &out, const Duration &rhs) |
| std::ostream & | operator<< (std::ostream &out, const Frequency &rhs) |
| void | to_json (simox::json::json &j, const ClockType &bo) |
| void | to_json (simox::json::json &j, const DateTime &bo) |
| void | to_json (simox::json::json &j, const Duration &bo) |
| void | to_json (simox::json::json &j, const Frequency &bo) |
| void | toIce (dto::ClockType::ClockTypeEnum &dto, const ClockType &bo) |
| void | toIce (dto::DateTime &dto, const DateTime &bo) |
| void | toIce (dto::Duration &dto, const Duration &bo) |
| void | toIce (dto::Frequency &dto, const Frequency &bo) |
| void | toIce (IceUtil::Time &dto, const DateTime &bo) |
| void | toIce (IceUtil::Time &dto, const Duration &bo) |
Variables | |
| const simox::meta::EnumNames< ClockType > | ClockTypeNames |
|
strong |
Describes the type of clock.
Definition at line 9 of file ClockType.h.
| void from_json | ( | const simox::json::json & | j, |
| ClockType & | bo | ||
| ) |
Definition at line 18 of file json_conversions.cpp.
| void from_json | ( | const simox::json::json & | j, |
| DateTime & | bo | ||
| ) |
Definition at line 59 of file json_conversions.cpp.
| void from_json | ( | const simox::json::json & | j, |
| Duration & | bo | ||
| ) |
| void from_json | ( | const simox::json::json & | j, |
| Frequency & | bo | ||
| ) |
Definition at line 44 of file json_conversions.cpp.
| void fromIce | ( | const dto::ClockType::ClockTypeEnum & | dto, |
| ClockType & | bo | ||
| ) |
| void fromIce | ( | const dto::DateTime & | dto, |
| DateTime & | bo | ||
| ) |
| void fromIce | ( | const dto::Duration & | dto, |
| Duration & | bo | ||
| ) |
| void fromIce | ( | const dto::Frequency & | dto, |
| Frequency & | bo | ||
| ) |
| void fromIce | ( | const IceUtil::Time & | dto, |
| DateTime & | bo | ||
| ) |
| void fromIce | ( | const IceUtil::Time & | dto, |
| Duration & | bo | ||
| ) |
Definition at line 230 of file Frequency.cpp.
Definition at line 236 of file Frequency.cpp.
| std::ostream & operator<< | ( | std::ostream & | out, |
| const DateTime & | rhs | ||
| ) |
| std::ostream & operator<< | ( | std::ostream & | out, |
| const Duration & | rhs | ||
| ) |
| std::ostream & operator<< | ( | std::ostream & | out, |
| const Frequency & | rhs | ||
| ) |
| void to_json | ( | simox::json::json & | j, |
| const ClockType & | bo | ||
| ) |
Definition at line 12 of file json_conversions.cpp.
| void to_json | ( | simox::json::json & | j, |
| const DateTime & | bo | ||
| ) |
Definition at line 50 of file json_conversions.cpp.
| void to_json | ( | simox::json::json & | j, |
| const Duration & | bo | ||
| ) |
Definition at line 24 of file json_conversions.cpp.
| void to_json | ( | simox::json::json & | j, |
| const Frequency & | bo | ||
| ) |
Definition at line 37 of file json_conversions.cpp.
| void toIce | ( | dto::ClockType::ClockTypeEnum & | dto, |
| const ClockType & | bo | ||
| ) |
| void toIce | ( | dto::DateTime & | dto, |
| const DateTime & | bo | ||
| ) |
| void toIce | ( | dto::Duration & | dto, |
| const Duration & | bo | ||
| ) |
Definition at line 57 of file ice_conversions.cpp.
| void toIce | ( | dto::Frequency & | dto, |
| const Frequency & | bo | ||
| ) |
| void toIce | ( | IceUtil::Time & | dto, |
| const DateTime & | bo | ||
| ) |
Definition at line 115 of file ice_conversions.cpp.
| void toIce | ( | IceUtil::Time & | dto, |
| const Duration & | bo | ||
| ) |
Definition at line 101 of file ice_conversions.cpp.
| const simox::meta::EnumNames< time::ClockType > ClockTypeNames |
Definition at line 6 of file ClockTypeNames.cpp.