CatapultServer  v0.5.0.1 (Elephant)
catapult::utils::BasicSpinReaderWriterLock< TReaderNotificationPolicy >::LockGuard Class Reference

Base class for RAII lock guards. More...

Inheritance diagram for catapult::utils::BasicSpinReaderWriterLock< TReaderNotificationPolicy >::LockGuard:

Public Member Functions

 LockGuard (LockGuard &&rhs)
 

Protected Member Functions

 LockGuard (const action &resetFunc)
 
 ~LockGuard ()
 

Private Attributes

action m_resetFunc
 
bool m_isMoved
 

Detailed Description

template<typename TReaderNotificationPolicy>
class catapult::utils::BasicSpinReaderWriterLock< TReaderNotificationPolicy >::LockGuard

Base class for RAII lock guards.

Constructor & Destructor Documentation

◆ LockGuard() [1/2]

template<typename TReaderNotificationPolicy >
catapult::utils::BasicSpinReaderWriterLock< TReaderNotificationPolicy >::LockGuard::LockGuard ( const action resetFunc)
inlineexplicitprotected

◆ ~LockGuard()

template<typename TReaderNotificationPolicy >
catapult::utils::BasicSpinReaderWriterLock< TReaderNotificationPolicy >::LockGuard::~LockGuard ( )
inlineprotected

◆ LockGuard() [2/2]

template<typename TReaderNotificationPolicy >
catapult::utils::BasicSpinReaderWriterLock< TReaderNotificationPolicy >::LockGuard::LockGuard ( LockGuard &&  rhs)
inline

Member Data Documentation

◆ m_isMoved

template<typename TReaderNotificationPolicy >
bool catapult::utils::BasicSpinReaderWriterLock< TReaderNotificationPolicy >::LockGuard::m_isMoved
private

◆ m_resetFunc

template<typename TReaderNotificationPolicy >
action catapult::utils::BasicSpinReaderWriterLock< TReaderNotificationPolicy >::LockGuard::m_resetFunc
private

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