|
Represents a frequency. More...
#include <ArmarXCore/core/time/Frequency.h>
Public Member Functions | |
Frequency (const Duration &cycleDuration) | |
bool | operator!= (const Frequency &rhs) const |
Frequency | operator* (double rhs) const |
Frequency | operator* (int rhs) const |
Frequency | operator* (std::int64_t rhs) const |
Frequency & | operator*= (double rhs) |
Frequency & | operator*= (int rhs) |
Frequency & | operator*= (std::int64_t rhs) |
Frequency | operator+ (const Frequency &rhs) const |
Frequency & | operator+= (const Frequency &rhs) |
Frequency | operator- (const Frequency &rhs) const |
Frequency & | operator-= (const Frequency &rhs) |
double | operator/ (const Frequency &rhs) const |
Frequency | operator/ (double rhs) const |
Frequency | operator/ (int rhs) const |
Frequency | operator/ (std::int64_t rhs) const |
Frequency & | operator/= (double rhs) |
Frequency & | operator/= (int rhs) |
Frequency & | operator/= (std::int64_t rhs) |
bool | operator< (const Frequency &rhs) const |
bool | operator<= (const Frequency &rhs) const |
bool | operator== (const Frequency &rhs) const |
bool | operator> (const Frequency &rhs) const |
bool | operator>= (const Frequency &rhs) const |
Duration | toCycleDuration () const |
std::string | toFrequencyString () const |
std::int64_t | toHertz () const |
double | toHertzDouble () const |
Static Public Member Functions | |
static Frequency | Hertz (std::int64_t hertz) |
static Frequency | HertzDouble (double hertz) |
Protected Attributes | |
Duration | _cycleDuration |
Current cycle duration. More... | |
Represents a frequency.
Definition at line 16 of file Frequency.h.
|
static |
Definition at line 20 of file Frequency.cpp.
|
static |
Definition at line 30 of file Frequency.cpp.
bool operator!= | ( | const Frequency & | rhs | ) | const |
Definition at line 205 of file Frequency.cpp.
Frequency operator* | ( | double | rhs | ) | const |
Frequency operator* | ( | int | rhs | ) | const |
Frequency operator* | ( | std::int64_t | rhs | ) | const |
Frequency & operator*= | ( | double | rhs | ) |
Definition at line 121 of file Frequency.cpp.
Frequency & operator*= | ( | int | rhs | ) |
Definition at line 128 of file Frequency.cpp.
Frequency & operator*= | ( | std::int64_t | rhs | ) |
Definition at line 135 of file Frequency.cpp.
double operator/ | ( | const Frequency & | rhs | ) | const |
Frequency operator/ | ( | double | rhs | ) | const |
Frequency operator/ | ( | int | rhs | ) | const |
Frequency operator/ | ( | std::int64_t | rhs | ) | const |
Frequency & operator/= | ( | double | rhs | ) |
Definition at line 166 of file Frequency.cpp.
Frequency & operator/= | ( | int | rhs | ) |
Definition at line 173 of file Frequency.cpp.
Frequency & operator/= | ( | std::int64_t | rhs | ) |
Definition at line 180 of file Frequency.cpp.
bool operator< | ( | const Frequency & | rhs | ) | const |
Definition at line 187 of file Frequency.cpp.
bool operator<= | ( | const Frequency & | rhs | ) | const |
Definition at line 193 of file Frequency.cpp.
bool operator== | ( | const Frequency & | rhs | ) | const |
Definition at line 199 of file Frequency.cpp.
bool operator> | ( | const Frequency & | rhs | ) | const |
Definition at line 217 of file Frequency.cpp.
bool operator>= | ( | const Frequency & | rhs | ) | const |
Definition at line 211 of file Frequency.cpp.
Duration toCycleDuration | ( | ) | const |
std::string toFrequencyString | ( | ) | const |
Definition at line 66 of file Frequency.cpp.
std::int64_t toHertz | ( | ) | const |
Definition at line 40 of file Frequency.cpp.
double toHertzDouble | ( | ) | const |
Definition at line 50 of file Frequency.cpp.
|
protected |
Current cycle duration.
Definition at line 86 of file Frequency.h.