Public Member Functions | Private Member Functions | Private Attributes | List of all members
coil::Guard< M > Class Template Reference

Guard template class. More...

#include <Guard.h>

Public Member Functions

 Guard (M &mutex)
 Constructor. More...
 
 ~Guard ()
 Destructor. More...
 

Private Member Functions

 Guard (const Guard &)
 
Guardoperator= (const Guard &)
 

Private Attributes

M & m_mutex
 

Detailed Description

template<class M>
class coil::Guard< M >

Guard template class.

Definition at line 41 of file Guard.h.

Constructor & Destructor Documentation

◆ Guard() [1/2]

template<class M>
coil::Guard< M >::Guard ( M &  mutex)
inline

Constructor.

Constructor

Parameters
mutexpthread

Definition at line 64 of file Guard.h.

◆ ~Guard()

template<class M>
coil::Guard< M >::~Guard ( )
inline

Destructor.

Destructor

Definition at line 84 of file Guard.h.

◆ Guard() [2/2]

template<class M>
coil::Guard< M >::Guard ( const Guard< M > &  )
private

Member Function Documentation

◆ operator=()

template<class M>
Guard& coil::Guard< M >::operator= ( const Guard< M > &  )
private

Member Data Documentation

◆ m_mutex

template<class M>
M& coil::Guard< M >::m_mutex
private

Definition at line 92 of file Guard.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:46