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

#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 theNVmanagergetInstance ()
 

Detailed Description

Definition at line 35 of file theNVmanager.h.

Member Enumeration Documentation

◆ ropCode

Enumerator
sig 
say 

Definition at line 42 of file theNVmanager.h.

Constructor & Destructor Documentation

◆ theNVmanager() [1/2]

eth::theNVmanager::theNVmanager ( const theNVmanager )
delete

◆ theNVmanager() [2/2]

eth::theNVmanager::theNVmanager ( theNVmanager )
delete

Member Function Documentation

◆ ask() [1/4]

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.

◆ ask() [2/4]

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.

◆ ask() [3/4]

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.

◆ ask() [4/4]

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.

◆ check() [1/2]

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.

◆ check() [2/2]

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.

◆ command()

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.

◆ getInstance()

eth::theNVmanager & eth::theNVmanager::getInstance ( )
static

Definition at line 1090 of file theNVmanager.cpp.

◆ group_ask()

bool eth::theNVmanager::group_ask ( eth::HostTransceiver t,
const std::vector< eOprotID32_t > &  id32s,
const std::vector< void * > &  values 
)

◆ group_start()

bool eth::theNVmanager::group_start ( )

◆ group_stop()

bool eth::theNVmanager::group_stop ( const double  timeout = 0.5)

◆ onarrival()

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.

◆ operator=() [1/2]

void eth::theNVmanager::operator= ( const theNVmanager )
delete

◆ operator=() [2/2]

void eth::theNVmanager::operator= ( theNVmanager )
delete

◆ ping()

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.

◆ set() [1/2]

bool eth::theNVmanager::set ( const eOprotIP_t  ipv4,
const eOprotID32_t  id32,
const void *  value 
)

Definition at line 1191 of file theNVmanager.cpp.

◆ set() [2/2]

bool eth::theNVmanager::set ( eth::HostTransceiver t,
const eOprotID32_t  id32,
const void *  value 
)

Definition at line 1186 of file theNVmanager.cpp.

◆ setcheck() [1/2]

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.

◆ setcheck() [2/2]

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.

◆ sizeOfNV()

size_t eth::theNVmanager::sizeOfNV ( const eOprotID32_t  id32)

Definition at line 1151 of file theNVmanager.cpp.

◆ supported() [1/2]

bool eth::theNVmanager::supported ( const eOprotIP_t  ipv4)

Definition at line 1141 of file theNVmanager.cpp.

◆ supported() [2/2]

bool eth::theNVmanager::supported ( const eOprotIP_t  ipv4,
const eOprotID32_t  id32 
)

Definition at line 1146 of file theNVmanager.cpp.


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