Public Member Functions | Private Member Functions | Private Attributes | List of all members
zmq::atomic_value_t Struct Reference

#include <atomic_ptr.hpp>

Public Member Functions

 atomic_value_t (const atomic_value_t &src_) ZMQ_NOEXCEPT
 
 atomic_value_t (const int value_) ZMQ_NOEXCEPT
 
int load () const ZMQ_NOEXCEPT
 
void store (const int value_) ZMQ_NOEXCEPT
 

Private Member Functions

atomic_value_toperator= (const atomic_value_t &src_)
 

Private Attributes

mutex_t _sync
 
volatile ptrdiff_t _value
 

Detailed Description

Definition at line 212 of file atomic_ptr.hpp.

Constructor & Destructor Documentation

◆ atomic_value_t() [1/2]

zmq::atomic_value_t::atomic_value_t ( const int  value_)
inline

Definition at line 214 of file atomic_ptr.hpp.

◆ atomic_value_t() [2/2]

zmq::atomic_value_t::atomic_value_t ( const atomic_value_t src_)
inline

Definition at line 216 of file atomic_ptr.hpp.

Member Function Documentation

◆ load()

int zmq::atomic_value_t::load ( ) const
inline

Definition at line 235 of file atomic_ptr.hpp.

◆ operator=()

atomic_value_t& zmq::atomic_value_t::operator= ( const atomic_value_t src_)
private

◆ store()

void zmq::atomic_value_t::store ( const int  value_)
inline

Definition at line 221 of file atomic_ptr.hpp.

Member Data Documentation

◆ _sync

mutex_t zmq::atomic_value_t::_sync
mutableprivate

Definition at line 261 of file atomic_ptr.hpp.

◆ _value

volatile ptrdiff_t zmq::atomic_value_t::_value
private

Definition at line 257 of file atomic_ptr.hpp.


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


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