SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
SDL::PropertiesLock Class Reference

Wrap the lock state for PropertiesBase.

Public Member Functions

constexpr PropertiesLock ()=default
 Default ctor.
 
 PropertiesLock (const PropertiesLock &other)=delete
 
 PropertiesLock (PropertiesLock &&other)
 Move ctor.
 
 ~PropertiesLock ()
 
PropertiesLockoperator= (PropertiesLock other)
 Assignment operator.
 
constexpr operator bool () const
 Returns true if lock is active.
 
void Unlock ()
 Unlock a group of properties.
 

Friends

class PropertiesBase
 

Constructor & Destructor Documentation

◆ ~PropertiesLock()

SDL::PropertiesLock::~PropertiesLock ( )
inline
See also
Unlock()

Member Function Documentation

◆ Unlock()

void SDL::PropertiesLock::Unlock ( )
inline
Thread safety:
It is safe to call this function from any thread.
Since
This function is available since SDL 3.2.0.
See also
PropertiesBase.Lock

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