Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | List of all members
joedb::Lock< T > Class Template Reference

#include <joedb/Thread_Safe.h>

Public Member Functions

 Lock (Thread_Safe< T > &t)
 
 operator std::unique_lock< std::mutex > & ()
 
auto * operator-> () const
 
auto * operator-> ()
 
auto & operator* () const
 
auto & operator* ()
 

Detailed Description

template<typename T>
class joedb::Lock< T >

Definition at line 24 of file Thread_Safe.h.

Constructor & Destructor Documentation

◆ Lock()

template<typename T >
joedb::Lock< T >::Lock ( Thread_Safe< T > &  t)
inline

Definition at line 31 of file Thread_Safe.h.

Member Function Documentation

◆ operator std::unique_lock< std::mutex > &()

template<typename T >
joedb::Lock< T >::operator std::unique_lock< std::mutex > & ( )
inline

Definition at line 35 of file Thread_Safe.h.

◆ operator*() [1/2]

template<typename T >
auto & joedb::Lock< T >::operator* ( )
inline

Definition at line 40 of file Thread_Safe.h.

◆ operator*() [2/2]

template<typename T >
auto & joedb::Lock< T >::operator* ( ) const
inline

Definition at line 39 of file Thread_Safe.h.

◆ operator->() [1/2]

template<typename T >
auto * joedb::Lock< T >::operator-> ( )
inline

Definition at line 38 of file Thread_Safe.h.

◆ operator->() [2/2]

template<typename T >
auto * joedb::Lock< T >::operator-> ( ) const
inline

Definition at line 37 of file Thread_Safe.h.


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