Public Member Functions | Private Attributes | List of all members
crl::multisense::details::utility::WaitVar< T > Class Template Reference

#include <Thread.hh>

Public Member Functions

void post (const T &data)
 
void post (const T &data)
 
void post (const T &data)
 
void post (const T &data)
 
bool timedWait (T &data, const double &timeout)
 
bool timedWait (T &data, const double &timeout)
 
bool timedWait (T &data, const double &timeout)
 
bool timedWait (T &data, const double &timeout)
 
bool wait (T &data)
 
bool wait (T &data)
 
bool wait (T &data)
 
bool wait (T &data)
 
 WaitVar ()
 
 WaitVar ()
 
 WaitVar ()
 
 WaitVar ()
 

Private Attributes

Mutex m_lock
 
Semaphore m_sem
 
m_val
 

Detailed Description

template<class T>
class crl::multisense::details::utility::WaitVar< T >

Definition at line 323 of file linux/Thread.hh.

Constructor & Destructor Documentation

◆ WaitVar() [1/4]

template<class T >
crl::multisense::details::utility::WaitVar< T >::WaitVar ( )
inline

Definition at line 359 of file linux/Thread.hh.

◆ WaitVar() [2/4]

template<class T >
crl::multisense::details::utility::WaitVar< T >::WaitVar ( )
inline

Definition at line 373 of file macos/Thread.hh.

◆ WaitVar() [3/4]

template<class T >
crl::multisense::details::utility::WaitVar< T >::WaitVar ( )
inline

Definition at line 321 of file mingw/Thread.hh.

◆ WaitVar() [4/4]

template<class T >
crl::multisense::details::utility::WaitVar< T >::WaitVar ( )
inline

Definition at line 320 of file win32/Thread.hh.

Member Function Documentation

◆ post() [1/4]

template<class T >
void crl::multisense::details::utility::WaitVar< T >::post ( const T &  data)
inline

Definition at line 287 of file win32/Thread.hh.

◆ post() [2/4]

template<class T >
void crl::multisense::details::utility::WaitVar< T >::post ( const T &  data)
inline

Definition at line 288 of file mingw/Thread.hh.

◆ post() [3/4]

template<class T >
void crl::multisense::details::utility::WaitVar< T >::post ( const T &  data)
inline

Definition at line 326 of file linux/Thread.hh.

◆ post() [4/4]

template<class T >
void crl::multisense::details::utility::WaitVar< T >::post ( const T &  data)
inline

Definition at line 340 of file macos/Thread.hh.

◆ timedWait() [1/4]

template<class T >
bool crl::multisense::details::utility::WaitVar< T >::timedWait ( T &  data,
const double &  timeout 
)
inline

Definition at line 304 of file win32/Thread.hh.

◆ timedWait() [2/4]

template<class T >
bool crl::multisense::details::utility::WaitVar< T >::timedWait ( T &  data,
const double &  timeout 
)
inline

Definition at line 305 of file mingw/Thread.hh.

◆ timedWait() [3/4]

template<class T >
bool crl::multisense::details::utility::WaitVar< T >::timedWait ( T &  data,
const double &  timeout 
)
inline

Definition at line 343 of file linux/Thread.hh.

◆ timedWait() [4/4]

template<class T >
bool crl::multisense::details::utility::WaitVar< T >::timedWait ( T &  data,
const double &  timeout 
)
inline

Definition at line 357 of file macos/Thread.hh.

◆ wait() [1/4]

template<class T >
bool crl::multisense::details::utility::WaitVar< T >::wait ( T &  data)
inline

Definition at line 295 of file win32/Thread.hh.

◆ wait() [2/4]

template<class T >
bool crl::multisense::details::utility::WaitVar< T >::wait ( T &  data)
inline

Definition at line 296 of file mingw/Thread.hh.

◆ wait() [3/4]

template<class T >
bool crl::multisense::details::utility::WaitVar< T >::wait ( T &  data)
inline

Definition at line 334 of file linux/Thread.hh.

◆ wait() [4/4]

template<class T >
bool crl::multisense::details::utility::WaitVar< T >::wait ( T &  data)
inline

Definition at line 348 of file macos/Thread.hh.

Member Data Documentation

◆ m_lock

template<class T >
Mutex crl::multisense::details::utility::WaitVar< T >::m_lock
private

Definition at line 366 of file linux/Thread.hh.

◆ m_sem

template<class T >
Semaphore crl::multisense::details::utility::WaitVar< T >::m_sem
private

Definition at line 367 of file linux/Thread.hh.

◆ m_val

template<class T >
T crl::multisense::details::utility::WaitVar< T >::m_val
private

Definition at line 361 of file linux/Thread.hh.


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


multisense_lib
Author(s):
autogenerated on Thu Apr 17 2025 02:49:09