iCub-main
|
#include <theNVmanager.h>
Classes | |
struct | Impl |
Public Types | |
enum class | ropCode { sig = eo_ropcode_sig , say = eo_ropcode_say } |
Public Member Functions | |
bool | supported (const eOprotIP_t ipv4) |
bool | supported (const eOprotIP_t ipv4, const eOprotID32_t id32) |
size_t | sizeOfNV (const eOprotID32_t id32) |
bool | ping (const eOprotIP_t ipv4, eoprot_version_t &mnprotversion, const double timeout=0.5, const unsigned int retries=20) |
bool | ask (const eOprotIP_t ipv4, const eOprotID32_t id32, void *value, const double timeout=0.5) |
bool | ask (eth::HostTransceiver *t, const eOprotID32_t id32, void *value, const double timeout=0.5) |
bool | set (const eOprotIP_t ipv4, const eOprotID32_t id32, const void *value) |
bool | set (eth::HostTransceiver *t, const eOprotID32_t id32, const void *value) |
bool | check (const eOprotIP_t ipv4, const eOprotID32_t id32, const void *value, const double timeout=0.5, const unsigned int retries=0) |
bool | check (eth::HostTransceiver *t, const eOprotID32_t id32, const void *value, const double timeout=0.5, const unsigned int retries=0) |
bool | setcheck (const eOprotIP_t ipv4, const eOprotID32_t id32, const void *value, const unsigned int retries=10, double waitbeforecheck=0.001, double timeout=0.5) |
bool | setcheck (eth::HostTransceiver *t, const eOprotID32_t id32, const void *value, const unsigned int retries=10, double waitbeforecheck=0.001, double timeout=0.5) |
bool | onarrival (const ropCode ropcode, const eOprotIP_t ipv4, const eOprotID32_t id32, const std::uint32_t signature) |
bool | command (const eOprotIP_t ipv4, const eOprotID32_t id32cmd, const void *cmd, const eOprotID32_t id32rep, void *rep, double timeout=0.5) |
bool | ask (const eOprotIP_t ipv4, const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values, const double timeout=0.5) |
bool | ask (eth::HostTransceiver *t, const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values, const double timeout=0.5) |
bool | group_start () |
bool | group_ask (eth::HostTransceiver *t, const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values) |
bool | group_stop (const double timeout=0.5) |
theNVmanager (const theNVmanager &)=delete | |
theNVmanager (theNVmanager &)=delete | |
void | operator= (const theNVmanager &)=delete |
void | operator= (theNVmanager &)=delete |
Static Public Member Functions | |
static theNVmanager & | getInstance () |
Definition at line 35 of file theNVmanager.h.
|
strong |
Enumerator | |
---|---|
sig | |
say |
Definition at line 42 of file theNVmanager.h.
|
delete |
|
delete |
bool eth::theNVmanager::ask | ( | const eOprotIP_t | ipv4, |
const eOprotID32_t | id32, | ||
void * | value, | ||
const double | timeout = 0.5 |
||
) |
Definition at line 1162 of file theNVmanager.cpp.
bool eth::theNVmanager::ask | ( | const eOprotIP_t | ipv4, |
const std::vector< eOprotID32_t > & | id32s, | ||
const std::vector< void * > & | values, | ||
const double | timeout = 0.5 |
||
) |
Definition at line 1175 of file theNVmanager.cpp.
bool eth::theNVmanager::ask | ( | eth::HostTransceiver * | t, |
const eOprotID32_t | id32, | ||
void * | value, | ||
const double | timeout = 0.5 |
||
) |
Definition at line 1168 of file theNVmanager.cpp.
bool eth::theNVmanager::ask | ( | eth::HostTransceiver * | t, |
const std::vector< eOprotID32_t > & | id32s, | ||
const std::vector< void * > & | values, | ||
const double | timeout = 0.5 |
||
) |
Definition at line 1181 of file theNVmanager.cpp.
bool eth::theNVmanager::check | ( | const eOprotIP_t | ipv4, |
const eOprotID32_t | id32, | ||
const void * | value, | ||
const double | timeout = 0.5 , |
||
const unsigned int | retries = 0 |
||
) |
Definition at line 1203 of file theNVmanager.cpp.
bool eth::theNVmanager::check | ( | eth::HostTransceiver * | t, |
const eOprotID32_t | id32, | ||
const void * | value, | ||
const double | timeout = 0.5 , |
||
const unsigned int | retries = 0 |
||
) |
Definition at line 1198 of file theNVmanager.cpp.
bool eth::theNVmanager::command | ( | const eOprotIP_t | ipv4, |
const eOprotID32_t | id32cmd, | ||
const void * | cmd, | ||
const eOprotID32_t | id32rep, | ||
void * | rep, | ||
double | timeout = 0.5 |
||
) |
Definition at line 1236 of file theNVmanager.cpp.
|
static |
Definition at line 1090 of file theNVmanager.cpp.
bool eth::theNVmanager::group_ask | ( | eth::HostTransceiver * | t, |
const std::vector< eOprotID32_t > & | id32s, | ||
const std::vector< void * > & | values | ||
) |
bool eth::theNVmanager::group_start | ( | ) |
bool eth::theNVmanager::group_stop | ( | const double | timeout = 0.5 | ) |
bool eth::theNVmanager::onarrival | ( | const ropCode | ropcode, |
const eOprotIP_t | ipv4, | ||
const eOprotID32_t | id32, | ||
const std::uint32_t | signature | ||
) |
Definition at line 1221 of file theNVmanager.cpp.
|
delete |
|
delete |
bool eth::theNVmanager::ping | ( | const eOprotIP_t | ipv4, |
eoprot_version_t & | mnprotversion, | ||
const double | timeout = 0.5 , |
||
const unsigned int | retries = 20 |
||
) |
Definition at line 1156 of file theNVmanager.cpp.
bool eth::theNVmanager::set | ( | const eOprotIP_t | ipv4, |
const eOprotID32_t | id32, | ||
const void * | value | ||
) |
Definition at line 1191 of file theNVmanager.cpp.
bool eth::theNVmanager::set | ( | eth::HostTransceiver * | t, |
const eOprotID32_t | id32, | ||
const void * | value | ||
) |
Definition at line 1186 of file theNVmanager.cpp.
bool eth::theNVmanager::setcheck | ( | const eOprotIP_t | ipv4, |
const eOprotID32_t | id32, | ||
const void * | value, | ||
const unsigned int | retries = 10 , |
||
double | waitbeforecheck = 0.001 , |
||
double | timeout = 0.5 |
||
) |
Definition at line 1210 of file theNVmanager.cpp.
bool eth::theNVmanager::setcheck | ( | eth::HostTransceiver * | t, |
const eOprotID32_t | id32, | ||
const void * | value, | ||
const unsigned int | retries = 10 , |
||
double | waitbeforecheck = 0.001 , |
||
double | timeout = 0.5 |
||
) |
Definition at line 1216 of file theNVmanager.cpp.
size_t eth::theNVmanager::sizeOfNV | ( | const eOprotID32_t | id32 | ) |
Definition at line 1151 of file theNVmanager.cpp.
bool eth::theNVmanager::supported | ( | const eOprotIP_t | ipv4 | ) |
Definition at line 1141 of file theNVmanager.cpp.
bool eth::theNVmanager::supported | ( | const eOprotIP_t | ipv4, |
const eOprotID32_t | id32 | ||
) |
Definition at line 1146 of file theNVmanager.cpp.