|
|
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. | |
Represents a frequency.
Definition at line 16 of file Frequency.h.
Definition at line 14 of file Frequency.cpp.
|
static |
|
static |
| bool operator!= | ( | const Frequency & | rhs | ) | const |
Definition at line 205 of file Frequency.cpp.
| Frequency operator* | ( | double | rhs | ) | const |
Definition at line 103 of file Frequency.cpp.
| Frequency operator* | ( | int | rhs | ) | const |
Definition at line 109 of file Frequency.cpp.
| Frequency operator* | ( | std::int64_t | rhs | ) | const |
Definition at line 115 of file Frequency.cpp.
| 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.
Definition at line 77 of file Frequency.cpp.
Definition at line 83 of file Frequency.cpp.
Definition at line 90 of file Frequency.cpp.
Definition at line 96 of file Frequency.cpp.
| double operator/ | ( | const Frequency & | rhs | ) | const |
Definition at line 142 of file Frequency.cpp.
| Frequency operator/ | ( | double | rhs | ) | const |
Definition at line 148 of file Frequency.cpp.
| Frequency operator/ | ( | int | rhs | ) | const |
Definition at line 154 of file Frequency.cpp.
| Frequency operator/ | ( | std::int64_t | rhs | ) | const |
Definition at line 160 of file Frequency.cpp.
| 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 186 of file Frequency.cpp.
| bool operator<= | ( | const Frequency & | rhs | ) | const |
Definition at line 192 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 |
Definition at line 60 of file Frequency.cpp.
| 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.