ISoundElement::ISoundElement::Lock Class Reference

#include <ISoundElement.h>

Collaboration diagram for ISoundElement::ISoundElement::Lock:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Lock (ISoundElement *e)
 ~Lock ()

Private Attributes

ISoundElementm_element


Detailed Description

Definition at line 19 of file ISoundElement.h.


Constructor & Destructor Documentation

ISoundElement::ISoundElement::Lock::Lock ( ISoundElement e  ) 

Definition at line 128 of file ISoundElement.cpp.

References ISoundElement::ISoundElement::Lock::m_element, and ISoundElement::m_mtx.

00128                                         : m_element(e)
00129 {
00130     pthread_mutex_lock(&(m_element->m_mtx));
00131 }

ISoundElement::ISoundElement::Lock::~Lock (  ) 

Definition at line 133 of file ISoundElement.cpp.

References ISoundElement::ISoundElement::Lock::m_element, and ISoundElement::m_mtx.

00134 {
00135     pthread_mutex_unlock(&(m_element->m_mtx));
00136 }


Member Data Documentation

ISoundElement* ISoundElement::ISoundElement::Lock::m_element [private]


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

Get JackFX at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated for JackFX by  doxygen