|
OpenAB
1.0.1
|
Class representing time stamp. Allows for basic operations like adding and subtracting time stamps. More...
#include <TimeStamp.hpp>
Public Member Functions | |
| TimeStamp () | |
| Constructor. More... | |
| TimeStamp (bool current) | |
| TimeStamp (__time_t s, __suseconds_t us) | |
| virtual | ~TimeStamp () |
| Destructor, virtual by default. More... | |
| TimeStamp | operator+ (const TimeStamp &other) const |
| TimeStamp | operator- (const TimeStamp &other) const |
| TimeStamp & | operator+= (const TimeStamp &other) |
| TimeStamp & | operator-= (const TimeStamp &other) |
| bool | operator< (const TimeStamp &other) const |
| bool | operator<= (const TimeStamp &other) const |
| bool | operator> (const TimeStamp &other) const |
| bool | operator>= (const TimeStamp &other) const |
| void | setNow () |
| unsigned int | toMs () const |
| std::string | toString () const |
Class representing time stamp. Allows for basic operations like adding and subtracting time stamps.
| OpenAB::TimeStamp::TimeStamp | ( | ) |
Constructor.
| OpenAB::TimeStamp::TimeStamp | ( | bool | current | ) |
| OpenAB::TimeStamp::TimeStamp | ( | __time_t | s, |
| __suseconds_t | us | ||
| ) |
|
virtual |
Destructor, virtual by default.
| bool OpenAB::TimeStamp::operator< | ( | const TimeStamp & | other | ) | const |
| bool OpenAB::TimeStamp::operator<= | ( | const TimeStamp & | other | ) | const |
| bool OpenAB::TimeStamp::operator> | ( | const TimeStamp & | other | ) | const |
| bool OpenAB::TimeStamp::operator>= | ( | const TimeStamp & | other | ) | const |
| void OpenAB::TimeStamp::setNow | ( | ) |
| unsigned int OpenAB::TimeStamp::toMs | ( | ) | const |
| std::string OpenAB::TimeStamp::toString | ( | ) | const |