Classes | Public Member Functions

ibrcommon::NetInterface Class Reference

#include <NetInterface.h>

Collaboration diagram for ibrcommon::NetInterface:
Collaboration graph
[legend]

List of all members.

Classes

class  NetLinkWrapper

Public Member Functions

 NetInterface (std::string interface)
virtual ~NetInterface ()
const std::list< NetAddressgetAddressList () const
const std::list< NetAddressgetBroadcastList () const
const std::string getAddress () const
const NetAddress getAddress (const NetAddress::ADDR_TYPE type) const
const NetAddress getBroadcast (const NetAddress::ADDR_TYPE type) const
void getAddress (struct in_addr *ret) const
void getAddress (struct ieee802154_addr *ret) const
bool operator< (const NetInterface &) const
bool operator== (const NetInterface &) const
const std::string toString () const

Detailed Description

Definition at line 26 of file NetInterface.h.


Constructor & Destructor Documentation

ibrcommon::NetInterface::NetInterface ( std::string  interface  ) 

Definition at line 163 of file NetInterface.cpp.

ibrcommon::NetInterface::~NetInterface (  )  [virtual]

Definition at line 168 of file NetInterface.cpp.


Member Function Documentation

const std::string ibrcommon::NetInterface::getAddress (  )  const
const NetAddress ibrcommon::NetInterface::getAddress ( const NetAddress::ADDR_TYPE  type  )  const

Definition at line 194 of file NetInterface.cpp.

References getAddressList().

Here is the call graph for this function:

void ibrcommon::NetInterface::getAddress ( struct in_addr *  ret  )  const

Definition at line 209 of file NetInterface.cpp.

References getAddress(), ibrcommon::NetAddress::NETADDR_IP, and ibrcommon::NetAddress::toString().

Here is the call graph for this function:

void ibrcommon::NetInterface::getAddress ( struct ieee802154_addr ret  )  const
const std::list< NetAddress > ibrcommon::NetInterface::getAddressList (  )  const

Definition at line 189 of file NetInterface.cpp.

Referenced by getAddress().

const NetAddress ibrcommon::NetInterface::getBroadcast ( const NetAddress::ADDR_TYPE  type  )  const

Definition at line 265 of file NetInterface.cpp.

References getBroadcastList().

Referenced by ibrcommon::BroadcastSocket::bind().

Here is the call graph for this function:

const std::list< NetAddress > ibrcommon::NetInterface::getBroadcastList (  )  const

Definition at line 280 of file NetInterface.cpp.

Referenced by getBroadcast().

bool ibrcommon::NetInterface::operator< ( const NetInterface other  )  const

Definition at line 172 of file NetInterface.cpp.

bool ibrcommon::NetInterface::operator== ( const NetInterface other  )  const

Definition at line 178 of file NetInterface.cpp.

const std::string ibrcommon::NetInterface::toString (  )  const

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