|
Public Types |
typedef val_lset_t | linkset_t |
Public Member Functions |
| Neighbor (const address_t &maddr, const std::set< ulink_t >::iterator &i, unsigned w) |
| Neighbor (const This &) |
virtual | ~Neighbor () |
const address_t & | main_addr () const |
unsigned | willingness () const |
const timeval_t & | mprsel_time () const |
void | set_willingness (unsigned w) |
bool | is_sym () const |
bool | is_mpr () const |
bool | is_mprsel () const |
bool | was_mprsel () |
void | set_sym (bool state) |
void | set_mpr (bool state) |
void | set_mprsel (const timeval_t &validity) |
void | unset_mprsel () |
std::pair< linkset_t::const_iterator,
linkset_t::const_iterator > | find_lifaces (const address_t &laddr) const |
linkset_t & | linkset () |
void | insert (const std::set< ulink_t >::iterator &pos) |
void | erase (const lset_t::iterator &pos) |
void | erase (const std::set< ulink_t >::iterator &pos) |
bool | operator< (const This &rhs) const |
Static Public Member Functions |
static const This & | make_key (const address_t &m) |
Private Types |
typedef Neighbor | This |
typedef utl::MultiStampable<
1, address_t > | Super |
typedef sch::Updatable< Link > | ulink_t |
typedef utl::Index< std::multiset,
std::set< ulink_t >, ilinkless > | lset_t |
typedef utl::Subset< utl::MultiAdapt<
lset_t >, utl::NoAction<
This, lset_t::iterator >,
lset_valid, This > | val_lset_t |
Private Member Functions |
| Neighbor () |
Private Attributes |
const address_t | m_addr_ |
lset_t | lset_ |
val_lset_t | val_lset_ |
bool | sym_ |
bool | mpr_ |
timeval_t | mprsel_time_ |
bool | was_mprsel_ |
unsigned | willingness_ |
Static Private Attributes |
static Neighbor | dummy_for_find_ |
Friends |
class | sch::StatePrinter |
Classes |
struct | ilinkless |
struct | lset_valid |