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

typedef TwoHopNeighbor olsr::set::TwoHopNeighbor::This [private]


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]

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]


Friends And Related Function Documentation

friend class sch::StatePrinter [friend]


Member Data Documentation

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]


The documentation for this class was generated from the following files:
Generated on Mon Sep 10 17:02:14 2007 for Qolyester daemon by  doxygen 1.5.1