OmniSciDB  ca0c39ec8f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 152 of file LockMgrImpl.h.

Constructor & Destructor Documentation

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

Definition at line 157 of file LockMgrImpl.h.

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

Member Function Documentation

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

Implements lockmgr::AbstractLockContainer< T >.

Definition at line 154 of file LockMgrImpl.h.

154 { return obj_; }

Member Data Documentation

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

Definition at line 160 of file LockMgrImpl.h.

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

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