23 #ifndef _THENVMANAGER_H_
24 #define _THENVMANAGER_H_
30 #include "EoProtocol.h"
52 bool supported(
const eOprotIP_t ipv4,
const eOprotID32_t id32);
55 size_t sizeOfNV(
const eOprotID32_t id32);
59 bool ping(
const eOprotIP_t ipv4, eoprot_version_t &mnprotversion,
const double timeout = 0.5,
const unsigned int retries = 20);
66 bool ask(
const eOprotIP_t ipv4,
const eOprotID32_t id32,
void *value,
const double timeout = 0.5);
69 bool set(
const eOprotIP_t ipv4,
const eOprotID32_t id32,
const void *value);
72 bool check(
const eOprotIP_t ipv4,
const eOprotID32_t id32,
const void *value,
const double timeout = 0.5,
const unsigned int retries = 0);
73 bool check(
eth::HostTransceiver *t,
const eOprotID32_t id32,
const void *value,
const double timeout = 0.5,
const unsigned int retries = 0);
75 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);
76 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);
79 bool onarrival(
const ropCode ropcode,
const eOprotIP_t ipv4,
const eOprotID32_t id32,
const std::uint32_t signature);
90 bool command(
const eOprotIP_t ipv4,
const eOprotID32_t id32cmd,
const void *
cmd,
const eOprotID32_t id32rep,
void *rep,
double timeout = 0.5);
97 bool ask(
const eOprotIP_t ipv4,
const std::vector<eOprotID32_t> &id32s,
const std::vector<void*> &values,
const double timeout = 0.5);
98 bool ask(
eth::HostTransceiver *t,
const std::vector<eOprotID32_t> &id32s,
const std::vector<void*> &values,
const double timeout = 0.5);
theNVmanager(theNVmanager &)=delete
bool supported(const eOprotIP_t ipv4)
bool check(const eOprotIP_t ipv4, const eOprotID32_t id32, const void *value, const double timeout=0.5, const unsigned int retries=0)
bool onarrival(const ropCode ropcode, const eOprotIP_t ipv4, const eOprotID32_t id32, const std::uint32_t signature)
bool group_stop(const double timeout=0.5)
static theNVmanager & getInstance()
theNVmanager(const theNVmanager &)=delete
size_t sizeOfNV(const eOprotID32_t id32)
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)
void operator=(const theNVmanager &)=delete
bool ask(const eOprotIP_t ipv4, const eOprotID32_t id32, void *value, const double timeout=0.5)
bool command(const eOprotIP_t ipv4, const eOprotID32_t id32cmd, const void *cmd, const eOprotID32_t id32rep, void *rep, double timeout=0.5)
bool ping(const eOprotIP_t ipv4, eoprot_version_t &mnprotversion, const double timeout=0.5, const unsigned int retries=20)
bool set(const eOprotIP_t ipv4, const eOprotID32_t id32, const void *value)
bool group_ask(eth::HostTransceiver *t, const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values)
void operator=(theNVmanager &)=delete