olsr::sys::RealInterfaceInfo Class Reference

#include <realinterfaceinfo.hh>

List of all members.

Public Types

typedef
sys::internal::InterfaceConfig 
config_t

Public Member Functions

 RealInterfaceInfo ()
 RealInterfaceInfo (const std::string &name)
Thisoperator= (const This &other)
const std::string & name () const
unsigned mtu () const
unsigned index () const
const address_tget_addr () const
const address_tget_addr (const address_t &) const
const address_t get_bcast (const address_t &) const
unsigned get_prefix (const address_t &) const
void add_addr (const address_t &, unsigned)
void del_addr (const address_t &)

Package Types

typedef std::set< addr_t > addrs_t

Package Attributes

 __pad0__:InterfaceAddress addr_t

Private Types

typedef RealInterfaceInfo This

Private Attributes

const std::string _name
unsigned _mtu
unsigned _index
addrs_t _addrs


Member Typedef Documentation

typedef std::set<addr_t> olsr::sys::RealInterfaceInfo::addrs_t [package]


Constructor & Destructor Documentation

olsr::sys::RealInterfaceInfo::RealInterfaceInfo (  )  [inline]

Referenced by add_addr(), and del_addr().

olsr::sys::RealInterfaceInfo::RealInterfaceInfo ( const std::string &  name  )  [inline, explicit]


Member Function Documentation

RealInterfaceInfo & olsr::sys::RealInterfaceInfo::operator= ( const This other  )  [inline]

References _addrs, _index, _mtu, and _name.

const std::string& olsr::sys::RealInterfaceInfo::name (  )  const [inline]

unsigned olsr::sys::RealInterfaceInfo::mtu (  )  const [inline]

unsigned olsr::sys::RealInterfaceInfo::index (  )  const [inline]

const address_t & olsr::sys::RealInterfaceInfo::get_addr (  )  const [inline]

const address_t & olsr::sys::RealInterfaceInfo::get_addr ( const address_t a  )  const [inline]

const address_t olsr::sys::RealInterfaceInfo::get_bcast ( const address_t a  )  const [inline]

unsigned olsr::sys::RealInterfaceInfo::get_prefix ( const address_t a  )  const [inline]

References _addrs.

void olsr::sys::RealInterfaceInfo::add_addr ( const address_t a,
unsigned  p 
) [inline]

References _index, _name, and RealInterfaceInfo().

void olsr::sys::RealInterfaceInfo::del_addr ( const address_t a  )  [inline]


Member Data Documentation

const std::string olsr::sys::RealInterfaceInfo::_name [private]

Referenced by mtu(), operator=(), and RealInterfaceInfo().


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