vt::TimeTypeWrapper struct

Public types

using TimeTypeInternal = double

Constructors, destructors, conversion operators

TimeTypeWrapper(const TimeTypeInternal time = 0.0) explicit constexpr
operator double() const explicit

Public functions

auto operator+=(const TimeTypeWrapper& other) -> TimeTypeWrapper&
auto operator-=(const TimeTypeWrapper& other) -> TimeTypeWrapper&
auto operator*=(const double scalar) -> TimeTypeWrapper&
auto operator/=(const double scalar) -> TimeTypeWrapper&
auto seconds() const -> TimeTypeInternal
auto milliseconds() const -> TimeTypeInternal
auto microseconds() const -> TimeTypeInternal
template<typename Serializer>
void serialize(Serializer& s)

Friends

auto operator+(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> TimeTypeWrapper
auto operator-(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> TimeTypeWrapper
auto operator*(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> TimeTypeWrapper
auto operator*(const TimeTypeWrapper& time, const double scalar) -> TimeTypeWrapper
auto operator*(const double scalar, const TimeTypeWrapper& time) -> TimeTypeWrapper
auto operator/(const double scalar, const TimeTypeWrapper& time) -> TimeTypeWrapper
auto operator/(const TimeTypeWrapper& time, const double scalar) -> TimeTypeWrapper
auto operator/(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> TimeTypeWrapper
auto operator<(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> bool
auto operator<=(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> bool
auto operator>(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> bool
auto operator>=(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> bool
auto operator==(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> bool
auto operator!=(const TimeTypeWrapper& lhs, const TimeTypeWrapper& rhs) -> bool
auto sqrt(const TimeTypeWrapper& time) -> TimeTypeWrapper