Interface Class Reference

#include <power_node.h>

List of all members.

Public Member Functions

void AddToReadSet (fd_set &set, int &max_sock) const
void AddToReadSet (fd_set &set, int &max_sock) const
void Close ()
void Close ()
int Init (const std::string &address_str)
int Init (sockaddr_in *port_address, sockaddr_in *broadcast_address)
int InitReceive (const std::string &address_str)
int InitReceive ()
 Interface ()
 Interface (const char *ifname)
bool IsReadSet (fd_set set) const
bool IsReadSet (fd_set set) const
 ~Interface ()
 ~Interface ()

Public Attributes

sockaddr_in ifc_address
struct ifreq interface
int recv_sock
int send_sock

Detailed Description

Definition at line 9 of file power_node.h.


Constructor & Destructor Documentation

Interface::Interface ( const char *  ifname  ) 

Definition at line 139 of file power_node.cpp.

Interface::~Interface (  )  [inline]

Definition at line 14 of file power_node.h.

Interface::Interface (  ) 

Definition at line 141 of file power_node2.cpp.

Interface::~Interface (  )  [inline]

Definition at line 16 of file power_node2.h.


Member Function Documentation

void Interface::AddToReadSet ( fd_set &  set,
int &  max_sock 
) const
void Interface::AddToReadSet ( fd_set &  set,
int &  max_sock 
) const

Definition at line 273 of file power_node.cpp.

void Interface::Close (  ) 
void Interface::Close (  ) 

Definition at line 148 of file power_node.cpp.

int Interface::Init ( const std::string &  address_str  ) 

Definition at line 203 of file power_node2.cpp.

int Interface::Init ( sockaddr_in *  port_address,
sockaddr_in *  broadcast_address 
)

Definition at line 200 of file power_node.cpp.

int Interface::InitReceive ( const std::string &  address_str  ) 

Definition at line 159 of file power_node2.cpp.

int Interface::InitReceive (  ) 

Definition at line 160 of file power_node.cpp.

bool Interface::IsReadSet ( fd_set  set  )  const
bool Interface::IsReadSet ( fd_set  set  )  const

Definition at line 279 of file power_node.cpp.


Member Data Documentation

Definition at line 20 of file power_node.h.

struct ifreq Interface::interface

Definition at line 10 of file power_node.h.

Definition at line 11 of file power_node.h.

Definition at line 12 of file power_node.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


pr2_power_board
Author(s): Curt Meyers, Blaise Gassend
autogenerated on Fri Jan 11 09:52:52 2013