OmniSciDB  a5dc49c757
 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 100 of file LockMgrImpl.h.

Constructor & Destructor Documentation

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

Definition at line 105 of file LockMgrImpl.h.

105 : 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 102 of file LockMgrImpl.h.

102 { return obj_; }

Member Data Documentation

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

Definition at line 108 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: