iCub-main
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
eth::theNVmanager::Impl Struct Reference

Classes

struct  askTransaction
 
struct  Data
 

Public Member Functions

 Impl ()
 
bool supported (const eOprotIP_t ipv4)
 
bool supported (const eOprotIP_t ipv4, const eOprotID32_t id32)
 
size_t sizeofnv (const eOprotID32_t id32)
 
eth::AbstractEthResourceethresource (const eOprotIP_t ipv4)
 
eth::AbstractEthResourceethresourceID32 (const eOprotIP_t ipv4, const eOprotID32_t id32)
 
eth::AbstractEthResourceethresourceID32s (const eOprotIP_t ipv4, const std::vector< eOprotID32_t > &id32s)
 
eth::HostTransceivertransceiver (eth::AbstractEthResource *res)
 
eth::HostTransceivertransceiver (const eOprotIP_t ipv4)
 
bool validparameters (eth::HostTransceiver *t, const eOprotID32_t id32, void *value)
 
bool validparameters (eth::HostTransceiver *t, const eOprotID32_t id32, const void *value)
 
bool validparameters (eth::HostTransceiver *t, const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values)
 
bool set (eth::HostTransceiver *t, const eOprotID32_t id32, const void *value)
 
bool setcheck (eth::HostTransceiver *t, const eOprotID32_t id32, const void *value, const unsigned int retries, double waitbeforecheck, double timeout)
 
bool ping (eth::HostTransceiver *t, eoprot_version_t &mnprotversion, const double timeout=0.5, const unsigned int retries=20)
 
bool ask (eth::HostTransceiver *t, const eOprotID32_t id32, void *value, const double timeout)
 
bool ask (eth::HostTransceiver *t, const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values, const double timeout)
 
bool check (eth::HostTransceiver *t, const eOprotID32_t id32, const void *value, const double timeout, const unsigned int retries)
 
bool signatureisvalid (const std::uint32_t signature)
 
bool onarrival (const ropCode ropcode, const eOprotIP_t ipv4, const eOprotID32_t id32, const std::uint32_t signature)
 
bool wait (const ropCode ropcode, eth::HostTransceiver *t, const eOprotID32_t id32, const double timeout)
 
bool read (eth::HostTransceiver *t, const eOprotID32_t id32, void *value)
 
bool command (eth::HostTransceiver *t, const eOprotID32_t id32cmd, const void *cmd, const eOprotID32_t id32rep, void *rep, double timeout=0.5)
 
const eth::AbstractEthResource::Propertiesgetboardproperties (eth::HostTransceiver *t)
 
string getid32string (eOprotID32_t id32)
 

Public Attributes

Data data
 

Static Public Attributes

static std::mutex mtx {}
 

Detailed Description

Definition at line 56 of file theNVmanager.cpp.

Constructor & Destructor Documentation

◆ Impl()

eth::theNVmanager::Impl::Impl ( )
inline

Definition at line 260 of file theNVmanager.cpp.

Member Function Documentation

◆ ask() [1/2]

bool eth::theNVmanager::Impl::ask ( eth::HostTransceiver t,
const eOprotID32_t  id32,
void *  value,
const double  timeout 
)

Definition at line 755 of file theNVmanager.cpp.

◆ ask() [2/2]

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

Definition at line 910 of file theNVmanager.cpp.

◆ check()

bool eth::theNVmanager::Impl::check ( eth::HostTransceiver t,
const eOprotID32_t  id32,
const void *  value,
const double  timeout,
const unsigned int  retries 
)

Definition at line 589 of file theNVmanager.cpp.

◆ command()

bool eth::theNVmanager::Impl::command ( eth::HostTransceiver t,
const eOprotID32_t  id32cmd,
const void *  cmd,
const eOprotID32_t  id32rep,
void *  rep,
double  timeout = 0.5 
)

Definition at line 690 of file theNVmanager.cpp.

◆ ethresource()

eth::AbstractEthResource * eth::theNVmanager::Impl::ethresource ( const eOprotIP_t  ipv4)

◆ ethresourceID32()

eth::AbstractEthResource * eth::theNVmanager::Impl::ethresourceID32 ( const eOprotIP_t  ipv4,
const eOprotID32_t  id32 
)

◆ ethresourceID32s()

eth::AbstractEthResource * eth::theNVmanager::Impl::ethresourceID32s ( const eOprotIP_t  ipv4,
const std::vector< eOprotID32_t > &  id32s 
)

◆ getboardproperties()

const eth::AbstractEthResource::Properties & eth::theNVmanager::Impl::getboardproperties ( eth::HostTransceiver t)

Definition at line 328 of file theNVmanager.cpp.

◆ getid32string()

string eth::theNVmanager::Impl::getid32string ( eOprotID32_t  id32)

Definition at line 333 of file theNVmanager.cpp.

◆ onarrival()

bool eth::theNVmanager::Impl::onarrival ( const ropCode  ropcode,
const eOprotIP_t  ipv4,
const eOprotID32_t  id32,
const std::uint32_t  signature 
)

Definition at line 1024 of file theNVmanager.cpp.

◆ ping()

bool eth::theNVmanager::Impl::ping ( eth::HostTransceiver t,
eoprot_version_t &  mnprotversion,
const double  timeout = 0.5,
const unsigned int  retries = 20 
)

Definition at line 729 of file theNVmanager.cpp.

◆ read()

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

Definition at line 670 of file theNVmanager.cpp.

◆ set()

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

Definition at line 995 of file theNVmanager.cpp.

◆ setcheck()

bool eth::theNVmanager::Impl::setcheck ( eth::HostTransceiver t,
const eOprotID32_t  id32,
const void *  value,
const unsigned int  retries,
double  waitbeforecheck,
double  timeout 
)

Definition at line 524 of file theNVmanager.cpp.

◆ signatureisvalid()

bool eth::theNVmanager::Impl::signatureisvalid ( const std::uint32_t  signature)

Definition at line 1014 of file theNVmanager.cpp.

◆ sizeofnv()

size_t eth::theNVmanager::Impl::sizeofnv ( const eOprotID32_t  id32)

Definition at line 359 of file theNVmanager.cpp.

◆ supported() [1/2]

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

Definition at line 340 of file theNVmanager.cpp.

◆ supported() [2/2]

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

Definition at line 347 of file theNVmanager.cpp.

◆ transceiver() [1/2]

eth::HostTransceiver * eth::theNVmanager::Impl::transceiver ( const eOprotIP_t  ipv4)

Definition at line 367 of file theNVmanager.cpp.

◆ transceiver() [2/2]

eth::HostTransceiver * eth::theNVmanager::Impl::transceiver ( eth::AbstractEthResource res)

◆ validparameters() [1/3]

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

Definition at line 498 of file theNVmanager.cpp.

◆ validparameters() [2/3]

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

Definition at line 447 of file theNVmanager.cpp.

◆ validparameters() [3/3]

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

Definition at line 471 of file theNVmanager.cpp.

◆ wait()

bool eth::theNVmanager::Impl::wait ( const ropCode  ropcode,
eth::HostTransceiver t,
const eOprotID32_t  id32,
const double  timeout 
)

Definition at line 620 of file theNVmanager.cpp.

Member Data Documentation

◆ data

Data eth::theNVmanager::Impl::data

Definition at line 254 of file theNVmanager.cpp.

◆ mtx

std::mutex eth::theNVmanager::Impl::mtx {}
static

Definition at line 318 of file theNVmanager.cpp.


The documentation for this struct was generated from the following file: