iCub-main
Classes | Public Types | Public Member Functions | List of all members
eth::EthBoards Class Reference

#include <ethBoards.h>

Public Types

enum  { maxEthBoards = 32 }
 

Public Member Functions

 EthBoards ()
 
 ~EthBoards ()
 
size_t number_of_resources (void)
 
bool add (eth::AbstractEthResource *res)
 
eth::AbstractEthResourceget_resource (eOipv4addr_t ipv4)
 
bool rem (eth::AbstractEthResource *res)
 
size_t number_of_interfaces (eth::AbstractEthResource *res)
 
bool add (eth::AbstractEthResource *res, eth::IethResource *interface)
 
eth::IethResourceget_interface (eOipv4addr_t ipv4, eOprotID32_t id32)
 
eth::IethResourceget_interface (eOipv4addr_t ipv4, iethresType_t type)
 
bool rem (eth::AbstractEthResource *res, iethresType_t type)
 
const string & name (eOipv4addr_t ipv4)
 
bool execute (void(*action)(eth::AbstractEthResource *res, void *p), void *par)
 
bool execute (eOipv4addr_t ipv4, void(*action)(eth::AbstractEthResource *res, void *p), void *par)
 

Detailed Description

Definition at line 46 of file ethBoards.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
maxEthBoards 

Definition at line 51 of file ethBoards.h.

Constructor & Destructor Documentation

◆ EthBoards()

eth::EthBoards::EthBoards ( )

Definition at line 55 of file ethBoards.cpp.

◆ ~EthBoards()

eth::EthBoards::~EthBoards ( )

Definition at line 62 of file ethBoards.cpp.

Member Function Documentation

◆ add() [1/2]

bool eth::EthBoards::add ( eth::AbstractEthResource res)

Definition at line 101 of file ethBoards.cpp.

◆ add() [2/2]

bool eth::EthBoards::add ( eth::AbstractEthResource res,
eth::IethResource interface 
)

Definition at line 140 of file ethBoards.cpp.

◆ execute() [1/2]

bool eth::EthBoards::execute ( eOipv4addr_t  ipv4,
void(*)(eth::AbstractEthResource *res, void *p action,
void *  par 
)

Definition at line 426 of file ethBoards.cpp.

◆ execute() [2/2]

bool eth::EthBoards::execute ( void(*)(eth::AbstractEthResource *res, void *p action,
void *  par 
)

Definition at line 405 of file ethBoards.cpp.

◆ get_interface() [1/2]

eth::IethResource * eth::EthBoards::get_interface ( eOipv4addr_t  ipv4,
eOprotID32_t  id32 
)

Definition at line 308 of file ethBoards.cpp.

◆ get_interface() [2/2]

eth::IethResource * eth::EthBoards::get_interface ( eOipv4addr_t  ipv4,
iethresType_t  type 
)

Definition at line 286 of file ethBoards.cpp.

◆ get_resource()

eth::AbstractEthResource * eth::EthBoards::get_resource ( eOipv4addr_t  ipv4)

Definition at line 253 of file ethBoards.cpp.

◆ name()

const string & eth::EthBoards::name ( eOipv4addr_t  ipv4)

Definition at line 384 of file ethBoards.cpp.

◆ number_of_interfaces()

size_t eth::EthBoards::number_of_interfaces ( eth::AbstractEthResource res)

Definition at line 74 of file ethBoards.cpp.

◆ number_of_resources()

size_t eth::EthBoards::number_of_resources ( void  )

Definition at line 69 of file ethBoards.cpp.

◆ rem() [1/2]

bool eth::EthBoards::rem ( eth::AbstractEthResource res)

Definition at line 183 of file ethBoards.cpp.

◆ rem() [2/2]

bool eth::EthBoards::rem ( eth::AbstractEthResource res,
iethresType_t  type 
)

Definition at line 221 of file ethBoards.cpp.


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