DUDS
Distributed Update of Data from Something
PosixClock.hpp File Reference
#include <duds/hardware/devices/clocks/Clock.hpp>
#include <time.h>
Include dependency graph for PosixClock.hpp:

Go to the source code of this file.

Classes

class  duds::hardware::devices::clocks::GenericPosixClock< SVT, SQT, TVT, TQT >
 A clock driver to use clocks through the POSIX interface. More...
 
struct  duds::hardware::devices::clocks::PosixClockUnsupported
 An attempt was made to use a POSIX clock that is not supported by the system. More...
 
struct  duds::hardware::devices::clocks::GenericPosixClock< SVT, SQT, TVT, TQT >::Token
 

Namespaces

 duds
 
 duds::hardware
 
 duds::hardware::devices
 The root namespace for various device drivers to support specific hardware items.
 
 duds::hardware::devices::clocks
 The place for clock drivers; a way to use time keeping devices.
 

Macros

#define CLOCK_TAI   11
 Present in Linux 3.10 kernels, but not always in the header files used to build software even on systems with the 3.10 kernel. More...
 

Typedefs

typedef GenericPosixClock< duds::data::GenericValue, double, duds::time::interstellar::NanoTime, float > duds::hardware::devices::clocks::PosixClock
 General use POSIX clock driver type. More...
 
typedef boost::error_info< struct Info_posixclockid, clockid_t > duds::hardware::devices::clocks::PosixClockId
 Indicates the POSIX clockid_t in an error involving a POSIX clock. More...
 
typedef std::shared_ptr< PosixClock > duds::hardware::devices::clocks::PosixClockSptr
 

Variables

constexpr boost::uuids::uuid duds::hardware::devices::clocks::PosixClockDeviceId
 The UUID for the POSIX clock device. More...
 

Macro Definition Documentation

◆ CLOCK_TAI

#define CLOCK_TAI   11

Present in Linux 3.10 kernels, but not always in the header files used to build software even on systems with the 3.10 kernel.

Defined here to be the same as in the kernel. Attempts to use this with older kernels will result in a run-time error.

Definition at line 23 of file PosixClock.hpp.