libcopp  2.2.0
Public Types | Public Member Functions | Private Attributes
util::lock::read_lock_holder< TLock > Class Template Reference

#include <lock_holder.h>

Inheritance diagram for util::lock::read_lock_holder< TLock >:
Inheritance graph
Collaboration diagram for util::lock::read_lock_holder< TLock >:
Collaboration graph

Public Types

using value_type = TLock
 

Public Member Functions

 read_lock_holder (TLock &lock)
 
bool is_available () const noexcept
 
void reset () noexcept
 

Private Attributes

value_typelock_flag_
 

Detailed Description

template<typename TLock>
class util::lock::read_lock_holder< TLock >

Definition at line 133 of file lock_holder.h.

Member Typedef Documentation

◆ value_type

Definition at line 85 of file lock_holder.h.

Constructor & Destructor Documentation

◆ read_lock_holder()

template<typename TLock >
util::lock::read_lock_holder< TLock >::read_lock_holder ( TLock &  lock)
inline

Definition at line 136 of file lock_holder.h.

Member Function Documentation

◆ is_available()

bool util::lock::lock_holder< TLock, detail::default_read_lock_action< TLock > , detail::default_read_unlock_action< TLock > >::is_available ( ) const
inlinenoexceptinherited

Definition at line 114 of file lock_holder.h.

◆ reset()

void util::lock::lock_holder< TLock, detail::default_read_lock_action< TLock > , detail::default_read_unlock_action< TLock > >::reset ( )
inlinenoexceptinherited

Definition at line 116 of file lock_holder.h.

Field Documentation

◆ lock_flag_

Definition at line 129 of file lock_holder.h.


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