|
Safe DDS
|
Classes | |
| interface | ISpinnable |
| Any entity that implements this interface is able to spin, meaning that this entity needs to do a periodic synchronization action. More... | |
| class | BasicExecutor |
| Basic executor implementation. More... | |
| struct | TimePoint |
| TimePoint represents a moment in time with nanoseconds precision. More... | |
| class | Timer |
| Timer implementation, triggers every TimePeriod. More... | |
Functions | |
| uint32_t | frac_to_nano (uint32_t fractions) noexcept |
| Conversion from RTPS fractions of second to nanosecond. More... | |
| uint32_t | nano_to_frac (uint32_t nanosecs) noexcept |
| Conversion from nanoseconds to RTPS fractions of second. More... | |
| bool | operator!= (const TimePoint &first, const TimePoint &second) noexcept |
| Operator!= for TimePoint objects. More... | |
| bool | operator== (const TimePoint &first, const TimePoint &second) noexcept |
| Operator== for TimePoint objects. More... | |
| bool | operator> (const TimePoint &first, const TimePoint &second) noexcept |
| Operator> for TimePoint objects. More... | |
| bool | operator>= (const TimePoint &first, const TimePoint &second) noexcept |
| Operator>= for TimePoint objects. More... | |
| bool | operator< (const TimePoint &first, const TimePoint &second) noexcept |
| Operator< for TimePoint objects. More... | |
| bool | operator<= (const TimePoint &first, const TimePoint &second) noexcept |
| Operator<= for TimePoint objects. More... | |
| TimePoint | operator- (const TimePoint &first, const TimePoint &second) noexcept |
| Operator- for TimePoint objects. More... | |
| TimePoint | operator+ (const TimePoint &first, const TimePoint &second) noexcept |
| Operator+ for TimePoint objects. More... | |
Variables | |
| constexpr uint32_t | MS_PER_S = 1000UL |
| Time conversion constant: milliseconds in seconds. More... | |
| constexpr uint32_t | US_PER_S = 1000000UL |
| Time conversion constant: microseconds in seconds. More... | |
| constexpr uint32_t | NS_PER_MS = 1000000UL |
| Time conversion constant: nanoseconds in milliseconds. More... | |
| constexpr uint64_t | NS_PER_S = 1000000000ULL |
| Time conversion constant: nanoseconds in seconds. More... | |
| constexpr uint64_t | NS_PER_US = 1000UL |
| Time conversion constant: nanoseconds to microseconds. More... | |
| constexpr uint64_t | US_PER_MS = 1000UL |
| Time conversion constant: microseconds in millisecond. More... | |
| constexpr uint64_t | C_FRACTIONS_PER_SEC = 4294967296ULL |
| Nanoseconds to IETF RFC 1305 fractions of second conversion constant. More... | |
| constexpr TimePoint | TIME_ZERO = {0, 0} |
Reserved TimePoint value for initial timestamp. More... | |
| constexpr TimePoint | TIME_INVALID = {-1, 0xFFFFFFFFU} |
Reserved TimePoint value for an invalid timestamp. More... | |
| constexpr TimePoint | TIME_INFINITE = {0x7FFFFFFF, 0xFFFFFFFFU} |
Reserved TimePoint value for infinite time. More... | |
| constexpr TimePoint | TIME_MAX_REPRESENTABLE = {0x7FFFFFFF, 999999999U} |
Reserved TimePoint value for max representable time. More... | |
|
inlinenoexcept |
Conversion from RTPS fractions of second to nanosecond.
| fractions | Fractions of second: second/2^(32). |
|
inlinenoexcept |
Conversion from nanoseconds to RTPS fractions of second.
| nanosecs | Nanoseconds, valid values shall not reach a complete second. |
|
constexpr |
Nanoseconds to IETF RFC 1305 fractions of second conversion constant.
|
constexpr |
Time conversion constant: milliseconds in seconds.
|
constexpr |
Time conversion constant: nanoseconds in milliseconds.
|
constexpr |
Time conversion constant: nanoseconds in seconds.
|
constexpr |
Time conversion constant: nanoseconds to microseconds.
|
constexpr |
Reserved TimePoint value for infinite time.
|
constexpr |
Reserved TimePoint value for an invalid timestamp.
|
constexpr |
Reserved TimePoint value for max representable time.
|
constexpr |
Reserved TimePoint value for initial timestamp.
|
constexpr |
Time conversion constant: microseconds in millisecond.
|
constexpr |
Time conversion constant: microseconds in seconds.