Version: 9.15.0
YACS::BASES::AutoLocker< T > Class Template Reference

#include <AutoLocker.hxx>

Collaboration diagram for YACS::BASES::AutoLocker< T >:

Public Member Functions

 AutoLocker (T *m)
 
 ~AutoLocker ()
 

Private Attributes

T * _ptr
 

Detailed Description

template<class T>
class YACS::BASES::AutoLocker< T >

Definition at line 30 of file AutoLocker.hxx.

Constructor & Destructor Documentation

◆ AutoLocker()

template<class T >
YACS::BASES::AutoLocker< T >::AutoLocker ( T *  m)
inline

Definition at line 33 of file AutoLocker.hxx.

References YACS::BASES::AutoLocker< T >::_ptr.

◆ ~AutoLocker()

template<class T >
YACS::BASES::AutoLocker< T >::~AutoLocker ( )
inline

Definition at line 34 of file AutoLocker.hxx.

34 { _ptr->unLock(); }

References YACS::BASES::AutoLocker< T >::_ptr.

Member Data Documentation

◆ _ptr

template<class T >
T* YACS::BASES::AutoLocker< T >::_ptr
private

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