wifi::timestamp Struct Reference

IEEE 802.11 timestamp frame element. More...

#include <wipal/wifi/timestamp.hh>

List of all members.

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


Detailed Description

IEEE 802.11 timestamp frame element.

Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this struct was generated from the following files:

Generated on Wed Apr 22 22:52:43 2009 for wipal by  doxygen 1.5.8