olsr::set::TwoHopNeighbor Class Reference

#include <neighbors.hh>

List of all members.

Public Member Functions

 TwoHopNeighbor (const address_t &a, const address_t &tha, const timeval_t &validity)
virtual ~TwoHopNeighbor ()
const address_tmain_addr () const
const address_ttwohop_addr () const
const timeval_ttime () const
void set_time (const timeval_t &t)
bool is_valid () const
bool operator< (const This &rhs) const
Thisoperator= (const This &other)

Static Public Member Functions

static const Thismake_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


Member Typedef Documentation


Constructor & Destructor Documentation

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]


Member Function Documentation

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]

References time_.

Referenced by olsr::set::TwoHopNeighborSet::insert().

void olsr::set::TwoHopNeighbor::set_time ( const timeval_t t  )  [inline]

References time_.

bool olsr::set::TwoHopNeighbor::is_valid (  )  const [inline]

bool olsr::set::TwoHopNeighbor::operator< ( const This rhs  )  const [inline]

References mainaddr_, and twohopaddr_.

TwoHopNeighbor & olsr::set::TwoHopNeighbor::operator= ( const This other  )  [inline]

References mainaddr_, time_, and twohopaddr_.

const TwoHopNeighbor & olsr::set::TwoHopNeighbor::make_key ( const address_t ma,
const address_t tha 
) [inline, static]


Friends And Related Function Documentation

friend class sch::StatePrinter [friend]


Member Data Documentation

Referenced by is_valid(), operator=(), set_time(), and time().

Referenced by make_key().


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

Generated on Thu Feb 12 20:45:39 2009 for Qolyester daemon by  doxygen 1.5.6