17 #ifndef CYBER_TIME_DURATION_H_ 18 #define CYBER_TIME_DURATION_H_ 29 explicit Duration(int64_t nanoseconds);
32 Duration(uint32_t seconds, uint32_t nanoseconds);
57 int64_t nanoseconds_ = 0;
65 #endif // CYBER_TIME_DURATION_H_ Duration operator-() const
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
std::ostream & operator<<(std::ostream &os, const Duration &rhs)
Duration & operator-=(const Duration &rhs)
Duration & operator+=(const Duration &rhs)
Duration operator*(double scale) const
Duration operator+(const Duration &rhs) const
bool operator<=(const Duration &rhs) const
bool operator>(const Duration &rhs) const
Duration & operator*=(double scale)
bool operator!=(const Duration &rhs) const
int64_t ToNanosecond() const
bool operator<(const Duration &rhs) const
bool operator==(const Duration &rhs) const
Definition: duration.h:26
bool operator>=(const Duration &rhs) const
Duration & operator=(const Duration &other)