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

#include <lock_holder.h>

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

Public Types

using value_type = TLock
 

Public Member Functions

 write_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::write_lock_holder< TLock >

Definition at line 141 of file lock_holder.h.

Member Typedef Documentation

◆ value_type

Definition at line 85 of file lock_holder.h.

Constructor & Destructor Documentation

◆ write_lock_holder()

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

Definition at line 144 of file lock_holder.h.

Member Function Documentation

◆ is_available()

bool util::lock::lock_holder< TLock, detail::default_write_lock_action< TLock > , detail::default_write_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_write_lock_action< TLock > , detail::default_write_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: