#include <stampable.hh>
Inheritance diagram for olsr::utl::Stampable:
Public Member Functions | |
void | set_stamp (const TimeVal &now=TimeVal::now()) |
const TimeVal | stamp () const |
bool | expired (const TimeVal &period, const TimeVal &now=TimeVal::now()) const |
bool | operator< (const Stampable &rhs) const |
Protected Member Functions | |
Stampable () | |
Private Attributes | |
TimeVal | _stamp |
olsr::utl::Stampable::Stampable | ( | ) | [inline, protected] |
void olsr::utl::Stampable::set_stamp | ( | const TimeVal & | now = TimeVal::now() |
) | [inline] |
const TimeVal olsr::utl::Stampable::stamp | ( | ) | const [inline] |
bool olsr::utl::Stampable::expired | ( | const TimeVal & | period, | |
const TimeVal & | now = TimeVal::now() | |||
) | const [inline] |
bool olsr::utl::Stampable::operator< | ( | const Stampable & | rhs | ) | const [inline] |
TimeVal olsr::utl::Stampable::_stamp [private] |