Public Member Functions | Public Attributes
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 (sockaddr_in *port_address, sockaddr_in *broadcast_address)
int Init (const std::string &address_str)
int InitReceive ()
int InitReceive (const std::string &address_str)
 Interface (const char *ifname)
 Interface ()
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 17 of file power_node.h.

Definition at line 141 of file power_node2.cpp.

Interface::~Interface ( ) [inline]

Definition at line 19 of file power_node2.h.


Member Function Documentation

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

Definition at line 273 of file power_node.cpp.

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

Definition at line 148 of file power_node.cpp.

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

Definition at line 200 of file power_node.cpp.

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

Definition at line 203 of file power_node2.cpp.

Definition at line 160 of file power_node.cpp.

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

Definition at line 159 of file power_node2.cpp.

bool Interface::IsReadSet ( fd_set  set) const

Definition at line 279 of file power_node.cpp.

bool Interface::IsReadSet ( fd_set  set) const

Member Data Documentation

Definition at line 23 of file power_node.h.

struct ifreq Interface::interface

Definition at line 13 of file power_node.h.

Definition at line 14 of file power_node.h.

Definition at line 15 of file power_node.h.


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


pr2_power_board
Author(s): Curt Meyers, Blaise Gassend
autogenerated on Tue Apr 22 2014 19:34:59