| 
    iCub-main
    
   | 
 
#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::AbstractEthResource * | get_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::IethResource * | get_interface (eOipv4addr_t ipv4, eOprotID32_t id32) | 
| eth::IethResource * | get_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) | 
Definition at line 46 of file ethBoards.h.
| anonymous enum | 
| Enumerator | |
|---|---|
| maxEthBoards | |
Definition at line 51 of file ethBoards.h.
| eth::EthBoards::EthBoards | ( | ) | 
Definition at line 55 of file ethBoards.cpp.
| eth::EthBoards::~EthBoards | ( | ) | 
LUT has already been cleaned by the call to eth::EthBoards::rem(eth::AbstractEthResource* res, iethresType_t type) and eth::EthBoards::rem(eth::AbstractEthResource* res) so there's nothing to do here since LUT is already destroyed correctly but we can keep the clear for syntax reasons
Definition at line 69 of file ethBoards.cpp.
| bool eth::EthBoards::add | ( | eth::AbstractEthResource * | res | ) | 
Definition at line 118 of file ethBoards.cpp.
| bool eth::EthBoards::add | ( | eth::AbstractEthResource * | res, | 
| eth::IethResource * | interface | ||
| ) | 
Definition at line 157 of file ethBoards.cpp.
| bool eth::EthBoards::execute | ( | eOipv4addr_t | ipv4, | 
| void(*)(eth::AbstractEthResource *res, void *p) | action, | ||
| void * | par | ||
| ) | 
Definition at line 436 of file ethBoards.cpp.
| bool eth::EthBoards::execute | ( | void(*)(eth::AbstractEthResource *res, void *p) | action, | 
| void * | par | ||
| ) | 
Definition at line 415 of file ethBoards.cpp.
| eth::IethResource * eth::EthBoards::get_interface | ( | eOipv4addr_t | ipv4, | 
| eOprotID32_t | id32 | ||
| ) | 
Definition at line 318 of file ethBoards.cpp.
| eth::IethResource * eth::EthBoards::get_interface | ( | eOipv4addr_t | ipv4, | 
| iethresType_t | type | ||
| ) | 
Definition at line 296 of file ethBoards.cpp.
| eth::AbstractEthResource * eth::EthBoards::get_resource | ( | eOipv4addr_t | ipv4 | ) | 
Definition at line 263 of file ethBoards.cpp.
| const string & eth::EthBoards::name | ( | eOipv4addr_t | ipv4 | ) | 
Definition at line 394 of file ethBoards.cpp.
| size_t eth::EthBoards::number_of_interfaces | ( | eth::AbstractEthResource * | res | ) | 
Definition at line 91 of file ethBoards.cpp.
| size_t eth::EthBoards::number_of_resources | ( | void | ) | 
Definition at line 86 of file ethBoards.cpp.
| bool eth::EthBoards::rem | ( | eth::AbstractEthResource * | res | ) | 
Definition at line 200 of file ethBoards.cpp.
| bool eth::EthBoards::rem | ( | eth::AbstractEthResource * | res, | 
| iethresType_t | type | ||
| ) | 
Definition at line 231 of file ethBoards.cpp.