#include <neighbors.hh>
Public Member Functions | |
TwoHopNeighbor (const address_t &a, const address_t &tha, const timeval_t &validity) | |
virtual | ~TwoHopNeighbor () |
const address_t & | main_addr () const |
const address_t & | twohop_addr () const |
const timeval_t & | time () const |
void | set_time (const timeval_t &t) |
bool | is_valid () const |
bool | operator< (const This &rhs) const |
This & | operator= (const This &other) |
Static Public Member Functions | |
static const This & | make_key (const address_t &ma, const address_t &tha) |
Private Types | |
typedef TwoHopNeighbor | This |
Private Member Functions | |
TwoHopNeighbor () | |
Private Attributes | |
const address_t | mainaddr_ |
const address_t | twohopaddr_ |
timeval_t | time_ |
Static Private Attributes | |
static This | dummy_for_find_ |
Friends | |
class | sch::StatePrinter |
typedef TwoHopNeighbor olsr::set::TwoHopNeighbor::This [private] |
olsr::set::TwoHopNeighbor::TwoHopNeighbor | ( | ) | [inline, private] |
olsr::set::TwoHopNeighbor::TwoHopNeighbor | ( | const address_t & | a, | |
const address_t & | tha, | |||
const timeval_t & | validity | |||
) | [inline] |
virtual olsr::set::TwoHopNeighbor::~TwoHopNeighbor | ( | ) | [inline, virtual] |
const address_t& olsr::set::TwoHopNeighbor::main_addr | ( | ) | const [inline] |
const address_t& olsr::set::TwoHopNeighbor::twohop_addr | ( | ) | const [inline] |
const timeval_t& olsr::set::TwoHopNeighbor::time | ( | ) | const [inline] |
void olsr::set::TwoHopNeighbor::set_time | ( | const timeval_t & | t | ) | [inline] |
bool olsr::set::TwoHopNeighbor::is_valid | ( | ) | const [inline] |
bool olsr::set::TwoHopNeighbor::operator< | ( | const This & | rhs | ) | const [inline] |
TwoHopNeighbor & olsr::set::TwoHopNeighbor::operator= | ( | const This & | other | ) | [inline] |
const TwoHopNeighbor & olsr::set::TwoHopNeighbor::make_key | ( | const address_t & | ma, | |
const address_t & | tha | |||
) | [inline, static] |
friend class sch::StatePrinter [friend] |
const address_t olsr::set::TwoHopNeighbor::mainaddr_ [private] |
const address_t olsr::set::TwoHopNeighbor::twohopaddr_ [private] |
timeval_t olsr::set::TwoHopNeighbor::time_ [private] |
This olsr::set::TwoHopNeighbor::dummy_for_find_ [static, private] |