SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
SDL::LockBase< RESOURCE > Class Template Reference

Base class for locks. More...

Public Member Functions

constexpr LockBase ()=default
 Default ctor.
 
 LockBase (const LockBase &other)=delete
 
 LockBase (LockBase &&other)
 Move ctor.
 
constexpr ~LockBase ()
 Dtor.
 
LockBaseoperator= (const LockBase &other)=delete
 
LockBaseoperator= (LockBase &&other)
 Move assignment.
 
RESOURCE release ()
 Release locked resource without unlocking it.
 

Protected Member Functions

constexpr LockBase (RESOURCE &&resource)
 Constructs initializing member.
 

Detailed Description

template<class RESOURCE>
class SDL::LockBase< RESOURCE >
Template Parameters
RESOURCE
See also
AudioLock
SurfaceLock

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