#include <Time.h>
Public Member Functions | |
| Time () | |
| default constructor | |
| Time (long int s, long int u) | |
| long int constructor | |
| Time (Decimal t) | |
| Decimal constructor. | |
| Time (const Time &t) | |
| copy constructor | |
| Time & | operator= (const Time &t) |
| assigment operator = | |
| Time & | operator+= (const Time &t) |
| compound assignment operator += | |
| Time & | operator-= (const Time &t) |
| compound assignment operator -= | |
| const Time | operator+ (const Time &other) const |
| binary arithmetic operator + | |
| const Time | operator- (const Time &other) const |
| binary arithmetic operator - | |
| Time & | operator*= (Decimal scalar) |
| compound assignment operator * | |
| Time & | operator* (Decimal scalar) |
| compound assignment operator * | |
| bool | operator== (const Time &other) const |
| compound operator == | |
| bool | operator!= (const Time &other) const |
| compound operator != | |
| bool | operator> (const Time &other) const |
| greater than operator > | |
| bool | operator< (const Time &other) const |
| less than operator > | |
| bool | operator>= (const Time &other) const |
| geq operator > | |
| bool | operator<= (const Time &other) const |
| leq operator > | |
| long int | sec () |
| elements | |
| long int | usec () |
| Decimal | dCast () |
| decimal cast of Time (in secs) | |
| Decimal | freq () |
| frequency | |
| string | print () |
| print | |
| string | printFreq () |
| print the frequency | |
| string | printDCast () |
Friends | |
| class | boost::serialization::access |
exampleCommModule.cpp, exampleDraWin.cpp, and exampleThread.cpp.
| Time::Time | ( | ) |
default constructor
in how many part is divided the second, 1000000 is usec
| Time::Time | ( | long int | s, | |
| long int | u | |||
| ) |
long int constructor
| Time::Time | ( | Decimal | t | ) |
Decimal constructor.
| Time::Time | ( | const Time & | t | ) |
copy constructor
| bool Time::operator== | ( | const Time & | other | ) | const |
compound operator ==
| bool Time::operator!= | ( | const Time & | other | ) | const |
compound operator !=
| bool Time::operator> | ( | const Time & | other | ) | const |
greater than operator >
| bool Time::operator< | ( | const Time & | other | ) | const |
less than operator >
| bool Time::operator>= | ( | const Time & | other | ) | const |
geq operator >
| bool Time::operator<= | ( | const Time & | other | ) | const |
leq operator >
| long int Time::sec | ( | ) |
elements
| long int Time::usec | ( | ) |
| Decimal Time::dCast | ( | ) |
| Decimal Time::freq | ( | ) |
frequency
| string Time::print | ( | void | ) |
| string Time::printFreq | ( | ) |
print the frequency
| string Time::printDCast | ( | ) |
friend class boost::serialization::access [friend] |
1.5.6