timeval.hh File Reference

TimeVal class definitions. More...

#include <sys/time.h>
#include <cassert>
#include <ostream>
#include "timeval.hxx"

Go to the source code of this file.

Namespaces

namespace  olsr
namespace  olsr::utl

Classes

class  olsr::utl::TimeVal
 Proxy class for the timeval standard C data structure. More...

Defines

#define QOLYESTER_UTL_TIMEVAL_HH   1

Typedefs

typedef utl::TimeVal olsr::timeval_t

Functions

std::ostream & olsr::utl::operator<< (std::ostream &, const TimeVal &)


Detailed Description

TimeVal class definitions.

Author:
Ignacy Gawedzki
Date:
Sat Sep 27 16:33:41 2003
All time operations are done with respect to a current time reference which is synchronized with the system clock in certain well-known locations (e.g. in the event loop). This is mainly to avoid synchronization on each time we want to know the current time. Moreover, this allows to assume that inside some parts of the code, the time reference is the same (read: if you timestamp some objects one after another between two clock synchonizations, you know that the stamps are equal)

Define Documentation

#define QOLYESTER_UTL_TIMEVAL_HH   1


Generated on Mon Sep 10 17:02:13 2007 for Qolyester daemon by  doxygen 1.5.1