|
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 17 of file Frequency.h.
|
static |
Definition at line 23 of file Frequency.cpp.
|
static |
Definition at line 34 of file Frequency.cpp.
bool operator!= | ( | const Frequency & | rhs | ) | const |
Definition at line 234 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 137 of file Frequency.cpp.
Frequency & operator*= | ( | int | rhs | ) |
Definition at line 145 of file Frequency.cpp.
Frequency & operator*= | ( | std::int64_t | rhs | ) |
Definition at line 153 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 189 of file Frequency.cpp.
Frequency & operator/= | ( | int | rhs | ) |
Definition at line 197 of file Frequency.cpp.
Frequency & operator/= | ( | std::int64_t | rhs | ) |
Definition at line 205 of file Frequency.cpp.
bool operator< | ( | const Frequency & | rhs | ) | const |
Definition at line 213 of file Frequency.cpp.
bool operator<= | ( | const Frequency & | rhs | ) | const |
Definition at line 220 of file Frequency.cpp.
bool operator== | ( | const Frequency & | rhs | ) | const |
Definition at line 227 of file Frequency.cpp.
bool operator> | ( | const Frequency & | rhs | ) | const |
Definition at line 248 of file Frequency.cpp.
bool operator>= | ( | const Frequency & | rhs | ) | const |
Definition at line 241 of file Frequency.cpp.
Duration toCycleDuration | ( | ) | const |
std::string toFrequencyString | ( | ) | const |
Definition at line 74 of file Frequency.cpp.
std::int64_t toHertz | ( | ) | const |
Definition at line 45 of file Frequency.cpp.
double toHertzDouble | ( | ) | const |
Definition at line 56 of file Frequency.cpp.
|
protected |
Current cycle duration.
Definition at line 87 of file Frequency.h.