Zth (libzth)
|
#include <fsm14.h>
Public Member Functions | |
constexpr | GuardPollInterval (bool enabled=false) |
constexpr | GuardPollInterval (GuardPollInterval &&) noexcept=default |
GuardPollInterval & | operator= (GuardPollInterval &&) noexcept=default |
constexpr | GuardPollInterval (GuardPollInterval const &) noexcept=default |
GuardPollInterval & | operator= (GuardPollInterval const &) noexcept=default |
template<typename... A> | |
constexpr | GuardPollInterval (A &&... a) noexcept |
constexpr | operator bool () const noexcept |
Public Member Functions inherited from zth::TimeInterval | |
constexpr | TimeInterval () noexcept |
constexpr | TimeInterval (time_t s, long ns=0, bool negative=false) noexcept |
constexpr | TimeInterval (struct timespec const &ts) noexcept |
TimeInterval & | operator= (TimeInterval const &t) noexcept |
constexpr | TimeInterval (TimeInterval const &t) noexcept |
TimeInterval (float dt) | |
TimeInterval (double dt) | |
TimeInterval (long double dt) | |
template<typename T > | |
constexpr | TimeInterval (T dt) noexcept |
constexpr bool | isNormal () const noexcept |
constexpr bool | isNegative () const noexcept |
constexpr bool | isPositive () const noexcept |
constexpr bool | isNull () const noexcept |
constexpr bool | isInfinite () const noexcept |
constexpr bool | hasPassed () const noexcept |
constexpr struct timespec const & | ts () const noexcept |
constexpr double | s () const noexcept |
template<typename T > | |
constexpr T | s () const noexcept |
constexpr bool | isAbsBiggerThan (TimeInterval const &t) const noexcept |
constexpr bool | isBiggerThan (TimeInterval const &t) const noexcept |
constexpr bool | operator== (TimeInterval const &rhs) const noexcept |
constexpr bool | operator> (TimeInterval const &rhs) const noexcept |
constexpr bool | operator>= (TimeInterval const &rhs) const noexcept |
constexpr bool | operator< (TimeInterval const &rhs) const noexcept |
constexpr bool | operator<= (TimeInterval const &rhs) const noexcept |
constexpr void | add (TimeInterval const &t) noexcept |
constexpr void | sub (TimeInterval const &t) noexcept |
template<typename T > | |
constexpr void | mul (T x) noexcept |
constexpr TimeInterval & | operator+= (TimeInterval const &rhs) noexcept |
constexpr TimeInterval | operator+ (TimeInterval const &rhs) const noexcept |
constexpr TimeInterval & | operator-= (TimeInterval const &rhs) noexcept |
constexpr TimeInterval | operator- (TimeInterval const &rhs) const noexcept |
constexpr TimeInterval | operator- () const noexcept |
template<typename T > | |
constexpr TimeInterval & | operator*= (T x) noexcept |
template<typename T > | |
constexpr TimeInterval | operator* (T x) const noexcept |
template<typename T > | |
constexpr TimeInterval & | operator/= (T x) noexcept |
template<typename T > | |
constexpr TimeInterval | operator/ (T x) const noexcept |
string | str () const |
Additional Inherited Members | |
Static Public Member Functions inherited from zth::TimeInterval | |
constexpr static TimeInterval | infinity () noexcept |
constexpr static TimeInterval | null () noexcept |
template<typename T > | |
static constexpr TimeInterval | from_s (T s) |
template<typename T > | |
static constexpr TimeInterval | from_ms (T ms) |
template<typename T > | |
static constexpr TimeInterval | from_us (T us) |
template<typename T > | |
static constexpr TimeInterval | from_ns (T ns) |
Static Public Attributes inherited from zth::TimeInterval | |
static long const | BILLION = 1000000000L |
|
inlineconstexpr |
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |