|
Jpp
15.0.0
the software that should make you happy
|
Auxiliary class for time values. More...
#include <JTimeval.hh>
Public Member Functions | |
| JTimeval () | |
| Default constructor. More... | |
| JTimeval (const int tv_us) | |
| Constructor. More... | |
| JTimeval (const int tv_s, const int tv_us) | |
| Constructor. More... | |
| const JTimeval & | getTimeval () const |
| Get time value. More... | |
| JTimeval & | getTimeval () |
| Get time value. More... | |
| void | setTimeval (const JTimeval &timeval) |
| Set time value. More... | |
| bool | less (const JTimeval &value) const |
| Less than method. More... | |
| const timeval * | get () const |
| Get pointer to time value. More... | |
| timeval * | get () |
| Get pointer to time value. More... | |
| const timeval * | operator& () const |
| Address of operator. More... | |
| timeval * | operator& () |
| Address of operator. More... | |
Static Public Member Functions | |
| static JTimeval | min () |
| Get minimal time value. More... | |
| static JTimeval | max () |
| Get maximal time value. More... | |
Friends | |
| std::istream & | operator>> (std::istream &in, JTimeval &time) |
| Read time value from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JTimeval &time) |
| Write time value to output. More... | |
Auxiliary class for time values.
This class encapsulates the timeval data structure.
Definition at line 26 of file JTimeval.hh.
|
inline |
Default constructor.
Definition at line 34 of file JTimeval.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Less than method.
| value | time value |
Definition at line 105 of file JTimeval.hh.
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Read time value from input.
| in | input stream |
| time | time value |
Definition at line 189 of file JTimeval.hh.
|
friend |
Write time value to output.
| out | output stream |
| time | time value |
Definition at line 202 of file JTimeval.hh.
1.8.5