OmniSciDB  2e3a973ef4
lockmgr::LockContainerImpl< T, LOCK > Class Template Reference

#include <LockMgrImpl.h>

+ Inheritance diagram for lockmgr::LockContainerImpl< T, LOCK >:
+ Collaboration diagram for lockmgr::LockContainerImpl< T, LOCK >:

Public Member Functions

operator() () const final
 
- Public Member Functions inherited from lockmgr::AbstractLockContainer< T >
virtual ~AbstractLockContainer ()
 

Protected Member Functions

 LockContainerImpl (T obj, LOCK &&lock)
 

Protected Attributes

obj_
 
LOCK lock_
 

Detailed Description

template<typename T, typename LOCK>
class lockmgr::LockContainerImpl< T, LOCK >

Definition at line 97 of file LockMgrImpl.h.

Constructor & Destructor Documentation

◆ LockContainerImpl()

template<typename T, typename LOCK>
lockmgr::LockContainerImpl< T, LOCK >::LockContainerImpl ( obj,
LOCK &&  lock 
)
inlineprotected

Definition at line 102 of file LockMgrImpl.h.

102 : obj_(obj), lock_(std::move(lock)) {}

Member Function Documentation

◆ operator()()

template<typename T, typename LOCK>
T lockmgr::LockContainerImpl< T, LOCK >::operator() ( ) const
inlinefinalvirtual

Implements lockmgr::AbstractLockContainer< T >.

Definition at line 99 of file LockMgrImpl.h.

99 { return obj_; }

Member Data Documentation

◆ lock_

template<typename T, typename LOCK>
LOCK lockmgr::LockContainerImpl< T, LOCK >::lock_
protected

Definition at line 105 of file LockMgrImpl.h.

◆ obj_

template<typename T, typename LOCK>
T lockmgr::LockContainerImpl< T, LOCK >::obj_
protected

Definition at line 104 of file LockMgrImpl.h.


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