Arc::Period Class Reference
Constructor & Destructor Documentation
Default constructor. The period is set to 0 length.
Arc::Period::Period |
( |
time_t |
|
) |
|
Constructor that takes a time_t variable and stores it.
Arc::Period::Period |
( |
time_t |
seconds, |
|
|
uint32_t |
nanoseconds | |
|
) |
| | |
Constructor that takes seconds and nanoseconds and stores them.
Arc::Period::Period |
( |
const std::string & |
, |
|
|
PeriodBase |
base = PeriodSeconds | |
|
) |
| | |
Constructor that tries to convert a string.
Member Function Documentation
time_t Arc::Period::GetPeriod |
( |
|
) |
const |
const sigc::slot<const char*>* Arc::Period::istr |
( |
|
) |
const |
Arc::Period::operator std::string |
( |
|
) |
const |
Returns a string representation of the period.
bool Arc::Period::operator!= |
( |
const Period & |
|
) |
const |
bool Arc::Period::operator< |
( |
const Period & |
|
) |
const |
bool Arc::Period::operator<= |
( |
const Period & |
|
) |
const |
Assignment operator from a Period.
Period& Arc::Period::operator= |
( |
time_t |
|
) |
|
Assignment operator from a time_t.
bool Arc::Period::operator== |
( |
const Period & |
|
) |
const |
bool Arc::Period::operator> |
( |
const Period & |
|
) |
const |
bool Arc::Period::operator>= |
( |
const Period & |
|
) |
const |
void Arc::Period::SetPeriod |
( |
time_t |
|
) |
|
The documentation for this class was generated from the following file: