Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/time/timevalue.hpp"
a mutable time value, behaving like a plain number, allowing copy and re-accessing
Definition at line 232 of file timevalue.hpp.
Public Member Functions | |
TimeVar (TimeValue const &time=TimeValue(0)) | |
TimeVar (FSecs const &) | |
Allow to pick up precise fractional seconds. More... | |
TimeVar (TimeVar const &o) | |
Allowing copy and assignment. | |
operator FSecs () const | |
Support for micro-tick precise time arithmetics. | |
operator gavl_time_t () const | |
Support mixing with plain 64bit int arithmetics. | |
TimeVar & | operator*= (int64_t fact) |
Supporting multiplication with integral factor. | |
TimeVar & | operator+= (TimeVar const &tx) |
Supporting additive. | |
TimeVar | operator- () const |
Supporting sign flip. | |
TimeVar & | operator-= (TimeVar const &tx) |
TimeVar & | operator= (TimeValue const &o) |
Public Member Functions inherited from TimeValue | |
TimeValue (gavl_time_t val) | |
TimeValue (TimeValue const &o) | |
copy initialisation allowed | |
bool | isRegular () const |
operator std::string () const | |
Additional Inherited Members | |
Static Public Member Functions inherited from TimeValue | |
static TimeValue | buildRaw_ (gavl_time_t) |
Static Public Attributes inherited from TimeValue | |
static const gavl_time_t | SCALE = GAVL_TIME_SCALE |
Number of micro ticks (µs) per second as basic time scale. | |
Protected Member Functions inherited from TimeValue | |
TimeValue (TimeValue const &origin, TimeValue const &target) | |
TimeValue & | operator= (TimeValue const &o) |
Assigning of time values is not allowed, but derived classed might allow that. | |
Static Protected Member Functions inherited from TimeValue | |
static gavl_time_t | limitedDelta (gavl_time_t origin, gavl_time_t target) |
safe calculation of explicitly limited time offset | |
static gavl_time_t | limitedTime (gavl_time_t raw) |
explicit limit of allowed time range More... | |
Protected Attributes inherited from TimeValue | |
gavl_time_t | t_ |
the raw (internal) time value used to implement the time types | |
Allow to pick up precise fractional seconds.
Definition at line 779 of file timevalue.hpp.