|
roo_quantity
API Documentation for roo_quantity
|
Representation of elapsed, internally stored as floating-point seconds. More...
#include <time.h>
Public Member Functions | |
| Time () | |
| Creates a time object representing an 'unknown' time. | |
| Time (const roo_time::Duration &duration) | |
| float | inSeconds () const |
| Returns the time in seconds. | |
| float | inMilliseconds () const |
| Returns the time in milliseconds. | |
| float | inMicroseconds () const |
| Returns the time in microseconds. | |
| float | inNanoseconds () const |
| Returns the time in nanoseconds. | |
| bool | isUnknown () const |
| Returns whether the object represents an unknown time. | |
| bool | operator< (const Time &other) const |
| bool | operator== (const Time &other) const |
| bool | operator> (const Time &other) const |
| bool | operator<= (const Time &other) const |
| bool | operator>= (const Time &other) const |
| bool | operator!= (const Time &other) const |
| Time & | operator+= (const Time &other) |
| Time & | operator-= (const Time &other) |
| Time & | operator*= (float multi) |
| Time & | operator/= (float div) |
Friends | |
| Time | UnknownTime () |
| Returns a time object representing an unknown time. | |
| Time | TimeInSeconds (float) |
| Returns a time object equivalent to the specified time expressed in seconds. | |
Representation of elapsed, internally stored as floating-point seconds.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the time in seconds.
Definition at line 30 of file time.h.
Referenced by roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator+(), operator+=(), roo_quantity::operator-(), roo_quantity::operator-(), operator-=(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), and roo_quantity::operator/().
|
inline |
|
inline |
Definition at line 56 of file time.h.
References inSeconds().
Definition at line 61 of file time.h.
References inSeconds().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |