neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::proxy_mutex< Subject > Class Template Reference

#include <mutex.hpp>

Inheritance diagram for neolib::proxy_mutex< Subject >:
neolib::i_lockable

Public Member Functions

 proxy_mutex (Subject &aSubject)
 
void lock () noexcept final
 
void unlock () noexcept final
 
bool try_lock () noexcept final
 

Detailed Description

template<typename Subject>
class neolib::proxy_mutex< Subject >

Definition at line 84 of file mutex.hpp.

Constructor & Destructor Documentation

◆ proxy_mutex()

template<typename Subject >
neolib::proxy_mutex< Subject >::proxy_mutex ( Subject aSubject)
inline

Definition at line 87 of file mutex.hpp.

Member Function Documentation

◆ lock()

template<typename Subject >
void neolib::proxy_mutex< Subject >::lock ( )
inlinefinalvirtualnoexcept

Implements neolib::i_lockable.

Definition at line 92 of file mutex.hpp.

◆ try_lock()

template<typename Subject >
bool neolib::proxy_mutex< Subject >::try_lock ( )
inlinefinalvirtualnoexcept

Implements neolib::i_lockable.

Definition at line 100 of file mutex.hpp.

◆ unlock()

template<typename Subject >
void neolib::proxy_mutex< Subject >::unlock ( )
inlinefinalvirtualnoexcept

Implements neolib::i_lockable.

Definition at line 96 of file mutex.hpp.


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