19 #ifndef COIL_TIMEVALUE_H 20 #define COIL_TIMEVALUE_H 25 #define TIMEVALUE_ONE_SECOND_IN_USECS 1000000 // 1 [sec] = 1000000 [usec] 110 inline long int sec()
const {
return m_sec;}
131 inline long int usec()
const {
return m_usec;}
228 operator double()
const;
276 #endif // COIL_TIMEVALUE_H long int sec() const
Get value of second time scale.
Definition: TimeValue.h:110
int sign() const
Sign judgment.
TimeValue class.
Definition: TimeValue.h:40
TimeValue operator+(TimeValue &tm)
Time addition.
void normalize()
Normalize.
TimeValue(long sec=0, long usec=0)
Constructor.
TimeValue operator=(double time)
Convert double type into time type.
long int usec() const
Get value of micro second time scale.
Definition: TimeValue.h:131
TimeValue operator-(TimeValue &tm)
Time subtraction.
Common Object Interface Layer.
Definition: Affinity.h:28