Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cHookSwapLock Class Reference

#include <cHookJump.h>

Inheritance diagram for Gray::cHookSwapLock:
Gray::cLockerT< TYPE > Gray::cPtrFacade< cLockableBase > Gray::cHookSwapChain

Public Member Functions

 cHookSwapLock (cHookJump &rJump, bool swap=true)
 
 ~cHookSwapLock () noexcept
 
- Public Member Functions inherited from Gray::cLockerT< TYPE >
 cLockerT (TYPE *pLock, bool bLockSuccess) noexcept
 
 cLockerT (TYPE &rLock)
 
 ~cLockerT ()
 
- Public Member Functions inherited from Gray::cPtrFacade< cLockableBase >
 cPtrFacade (cLockableBase *p=nullptr) noexcept
 
 cPtrFacade (THIS_t &&ref) noexcept
 
bool isValidPtr () const noexcept
 
cLockableBase ** get_PPtr ()
 
cLockableBaseget_Ptr () const noexcept
 
void put_Ptr (cLockableBase *p) noexcept
 
void ReleasePtr () noexcept
 
void AttachPtr (cLockableBase *p) noexcept
 
cLockableBaseDetachPtr () noexcept
 
THIS_toperator= (cLockableBase *p) noexcept
 
THIS_toperator= (THIS_t &&ref) noexcept
 
 operator cLockableBase * () const noexcept
 
cLockableBaseget_Ref () const
 
cLockableBaseoperator* () const
 
cLockableBaseoperator-> () const
 
bool operator! () const noexcept
 Comparison ops. More...
 
bool operator!= (cLockableBase *p2) const noexcept
 
bool operator== (cLockableBase *p2) const noexcept
 

Public Attributes

cHookJumpm_rJump
 The code we are locking for use. More...
 
bool m_bSwapOld
 

Additional Inherited Members

- Protected Attributes inherited from Gray::cPtrFacade< cLockableBase >
cLockableBasem_p
 Pointer to some object of TYPE. More...
 

Constructor & Destructor Documentation

◆ cHookSwapLock()

Gray::cHookSwapLock::cHookSwapLock ( cHookJump rJump,
bool  swap = true 
)
inline

◆ ~cHookSwapLock()

Gray::cHookSwapLock::~cHookSwapLock ( )
inlinenoexcept

Member Data Documentation

◆ m_bSwapOld

bool Gray::cHookSwapLock::m_bSwapOld

◆ m_rJump

cHookJump& Gray::cHookSwapLock::m_rJump

The code we are locking for use.


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