Public Member Functions | Data Fields

MutexLock Struct Reference

#include <I_Lock.h>

Collaboration diagram for MutexLock:
Collaboration graph
[legend]

Public Member Functions

 MutexLock ()
 MutexLock (ProxyMutex *am, EThread *t)
void set_and_take (ProxyMutex *am, EThread *t)
void release ()
 ~MutexLock ()
int operator! () const
 operator bool ()

Data Fields

Ptr< ProxyMutexm

Detailed Description

Definition at line 316 of file I_Lock.h.


Constructor & Destructor Documentation

MutexLock::MutexLock (  )  [inline]

Definition at line 320 of file I_Lock.h.

MutexLock::MutexLock ( ProxyMutex am,
EThread t 
) [inline]

Definition at line 324 of file I_Lock.h.

References ts::msg::DEBUG, m, and Mutex_lock().

MutexLock::~MutexLock (  )  [inline]

Definition at line 360 of file I_Lock.h.

References m, and Mutex_unlock().


Member Function Documentation

MutexLock::operator bool (  )  [inline]

Definition at line 367 of file I_Lock.h.

int MutexLock::operator! (  )  const [inline]

Definition at line 366 of file I_Lock.h.

void MutexLock::release (  )  [inline]

Definition at line 353 of file I_Lock.h.

References Ptr< T >::clear(), m, and Mutex_unlock().

void MutexLock::set_and_take ( ProxyMutex am,
EThread t 
) [inline]

Definition at line 338 of file I_Lock.h.

References ts::msg::DEBUG, m, and Mutex_lock().


Field Documentation

Definition at line 318 of file I_Lock.h.

Referenced by MutexLock(), release(), set_and_take(), and ~MutexLock().


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