#include <wipal/wifi/timestamp.hh>
Public Types | |
enum | { size = 8 } |
Public Member Functions | |
timestamp () | |
timestamp (uint32_t hi, uint32_t lo) | |
std::ostream & | print (std::ostream &) const |
size_t | hash () const |
Comparison operators | |
bool | operator== (const timestamp &) const |
bool | operator!= (const timestamp &) const |
bool | operator< (const timestamp &) const |
wifi::timestamp::timestamp | ( | ) | [inline] |
Construct a null timestamp.
wifi::timestamp::timestamp | ( | uint32_t | hi, | |
uint32_t | lo | |||
) | [inline] |
Construct a timestamp from the low and high parts of a 64 bit word.
size_t wifi::timestamp::hash | ( | ) | const [inline] |
Get an index suitable for tool::hash_map and tool::hash_set structures.
std::ostream & wifi::timestamp::print | ( | std::ostream & | os | ) | const [inline] |
Print the timestamp in a human readable format.