iCub-main
Public Member Functions | Public Attributes | List of all members
eth::theNVmanager::Impl::askTransaction Struct Reference

Public Member Functions

 askTransaction ()
 
 ~askTransaction ()
 
void load (eOprotIP_t _ip, eOprotID32_t _id, std::uint32_t _s)
 
void load (eOprotIP_t _ip, const std::vector< eOprotID32_t > &_ids, std::uint32_t _s)
 
bool wait (std::uint16_t &numofrxrops, double timeout=0.5)
 
bool post ()
 

Public Attributes

std::uint16_t expectedrops {0}
 
std::uint16_t receivedrops {0}
 
eOprotIP_t _ipv4 {0}
 
eOprotID32_t _id32 {0}
 
std::uint32_t signature {eo_rop_SIGNATUREdummy}
 
std::mutex mtx_semaphore {}
 
std::condition_variable cv_semaphore {}
 
ACE_thread_t owner {0}
 
double timeofwait {0}
 
double timeofpost {0}
 

Detailed Description

Definition at line 60 of file theNVmanager.cpp.

Constructor & Destructor Documentation

◆ askTransaction()

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

Definition at line 73 of file theNVmanager.cpp.

◆ ~askTransaction()

eth::theNVmanager::Impl::askTransaction::~askTransaction ( )
inline

Definition at line 78 of file theNVmanager.cpp.

Member Function Documentation

◆ load() [1/2]

void eth::theNVmanager::Impl::askTransaction::load ( eOprotIP_t  _ip,
const std::vector< eOprotID32_t > &  _ids,
std::uint32_t  _s 
)
inline

Definition at line 94 of file theNVmanager.cpp.

◆ load() [2/2]

void eth::theNVmanager::Impl::askTransaction::load ( eOprotIP_t  _ip,
eOprotID32_t  _id,
std::uint32_t  _s 
)
inline

Definition at line 83 of file theNVmanager.cpp.

◆ post()

bool eth::theNVmanager::Impl::askTransaction::post ( )
inline

Definition at line 117 of file theNVmanager.cpp.

◆ wait()

bool eth::theNVmanager::Impl::askTransaction::wait ( std::uint16_t &  numofrxrops,
double  timeout = 0.5 
)
inline

Definition at line 107 of file theNVmanager.cpp.

Member Data Documentation

◆ _id32

eOprotID32_t eth::theNVmanager::Impl::askTransaction::_id32 {0}

Definition at line 65 of file theNVmanager.cpp.

◆ _ipv4

eOprotIP_t eth::theNVmanager::Impl::askTransaction::_ipv4 {0}

Definition at line 64 of file theNVmanager.cpp.

◆ cv_semaphore

std::condition_variable eth::theNVmanager::Impl::askTransaction::cv_semaphore {}

Definition at line 68 of file theNVmanager.cpp.

◆ expectedrops

std::uint16_t eth::theNVmanager::Impl::askTransaction::expectedrops {0}

Definition at line 62 of file theNVmanager.cpp.

◆ mtx_semaphore

std::mutex eth::theNVmanager::Impl::askTransaction::mtx_semaphore {}

Definition at line 67 of file theNVmanager.cpp.

◆ owner

ACE_thread_t eth::theNVmanager::Impl::askTransaction::owner {0}

Definition at line 69 of file theNVmanager.cpp.

◆ receivedrops

std::uint16_t eth::theNVmanager::Impl::askTransaction::receivedrops {0}

Definition at line 63 of file theNVmanager.cpp.

◆ signature

std::uint32_t eth::theNVmanager::Impl::askTransaction::signature {eo_rop_SIGNATUREdummy}

Definition at line 66 of file theNVmanager.cpp.

◆ timeofpost

double eth::theNVmanager::Impl::askTransaction::timeofpost {0}

Definition at line 71 of file theNVmanager.cpp.

◆ timeofwait

double eth::theNVmanager::Impl::askTransaction::timeofwait {0}

Definition at line 70 of file theNVmanager.cpp.


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