Realtime -- Real-time Alarm Library

The Realtime library contains abstraction classes to offer an asynchronous real-time alarm notification system for applications. It is a wrapper around the Linux librt real-time library, and might be implemented less efficiently on other operating systems.

Header Files

Config.h
Config.h defines configuration-dependent macros used by the Realtime library. It should be included by client code that wants to make decisions based on the availability of optional features.
Time.h
Time.h defines several classes to represent absolute times measured by a variety of POSIX clocks, and relative time differences.
TimeVector
A class to represent differences between time points measured by the same POSIX clock.
TimePointRealtime
A class to represent absolute time points measured from the real-time clock, in seconds since the epoch (January 1st, 1970, 12:00 midnight).
TimePointMonotonic
A class to represent absolute time points measured from the monotonic clock, in seconds since some unspecified time in the past.
Timer.h
Timer is a class for high-resolution timing and thread suspension using a nanosecond-resolution monotonic system clock.
AlarmTimer.h
AlarmTimer is a wrapper class around per-process real-time events. It handles timer resource management and event handling.