neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::scoped_atomic_flag Class Reference

#include <scoped.hpp>

Public Member Functions

 scoped_atomic_flag (std::atomic< bool > &aFlag, bool aValue=true)
 
 ~scoped_atomic_flag ()
 
bool saved () const
 
void ignore ()
 

Detailed Description

Definition at line 58 of file scoped.hpp.

Constructor & Destructor Documentation

◆ scoped_atomic_flag()

neolib::scoped_atomic_flag::scoped_atomic_flag ( std::atomic< bool > &  aFlag,
bool  aValue = true 
)
inline

Definition at line 61 of file scoped.hpp.

◆ ~scoped_atomic_flag()

neolib::scoped_atomic_flag::~scoped_atomic_flag ( )
inline

Definition at line 62 of file scoped.hpp.

Member Function Documentation

◆ ignore()

void neolib::scoped_atomic_flag::ignore ( )
inline

Definition at line 65 of file scoped.hpp.

◆ saved()

bool neolib::scoped_atomic_flag::saved ( ) const
inline

Definition at line 64 of file scoped.hpp.


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