38#ifndef BLOCXX_TIMEOUT_TIMER_HPP_INCLUDE_GUARD_
39#define BLOCXX_TIMEOUT_TIMER_HPP_INCLUDE_GUARD_
41#include "blocxx/BLOCXX_config.h"
46#ifdef BLOCXX_HAVE_SYS_TIME_H
107 bool expired()
const;
112 bool infinite()
const;
114#ifdef BLOCXX_HAVE_STRUCT_TIMEVAL
121#ifdef BLOCXX_HAVE_STRUCT_TIMESPEC
127 Timeout asRelativeTimeout()
const;
133 Timeout asAbsoluteTimeout()
const;
146 double calcSeconds()
const;
150 virtual DateTime getCurrentTime()
const;
The DateTime class is an abstraction for date time data.
A timeout can be absolute, which means that it will happen at the specified DateTime.
A TimeoutTimer is used by an algorithm to determine when a timeout has expired.
bool operator==(const Array< T > &x, const Array< T > &y)