Public Member Functions | Private Attributes | List of all members
zmq::dbuffer_t< msg_t > Class Reference

#include <dbuffer.hpp>

Public Member Functions

bool check_read ()
 
 dbuffer_t ()
 
bool probe (bool(*fn_)(const msg_t &))
 
bool read (msg_t *value_)
 
void write (const msg_t &value_)
 
 ~dbuffer_t ()
 

Private Attributes

msg_t_back
 
msg_t_front
 
bool _has_msg
 
msg_t _storage [2]
 
mutex_t _sync
 

Detailed Description

Definition at line 31 of file dbuffer.hpp.

Constructor & Destructor Documentation

◆ dbuffer_t()

zmq::dbuffer_t< msg_t >::dbuffer_t ( )
inline

Definition at line 34 of file dbuffer.hpp.

◆ ~dbuffer_t()

zmq::dbuffer_t< msg_t >::~dbuffer_t ( )
inline

Definition at line 40 of file dbuffer.hpp.

Member Function Documentation

◆ check_read()

bool zmq::dbuffer_t< msg_t >::check_read ( )
inline

Definition at line 82 of file dbuffer.hpp.

◆ probe()

bool zmq::dbuffer_t< msg_t >::probe ( bool(*)(const msg_t &)  fn_)
inline

Definition at line 89 of file dbuffer.hpp.

◆ read()

bool zmq::dbuffer_t< msg_t >::read ( msg_t value_)
inline

Definition at line 61 of file dbuffer.hpp.

◆ write()

void zmq::dbuffer_t< msg_t >::write ( const msg_t value_)
inline

Definition at line 46 of file dbuffer.hpp.

Member Data Documentation

◆ _back

msg_t* zmq::dbuffer_t< msg_t >::_back
private

Definition at line 98 of file dbuffer.hpp.

◆ _front

msg_t * zmq::dbuffer_t< msg_t >::_front
private

Definition at line 98 of file dbuffer.hpp.

◆ _has_msg

bool zmq::dbuffer_t< msg_t >::_has_msg
private

Definition at line 101 of file dbuffer.hpp.

◆ _storage

msg_t zmq::dbuffer_t< msg_t >::_storage[2]
private

Definition at line 97 of file dbuffer.hpp.

◆ _sync

mutex_t zmq::dbuffer_t< msg_t >::_sync
private

Definition at line 100 of file dbuffer.hpp.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11