Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Examples

LCDLock Class Reference
[Main components]

#include "api/LCDLock.h"

Collaboration diagram for LCDLock:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class is used to lock some mutexes and be sure that they will be unlocked, even if an exception occurs.

Definition at line 15 of file LCDLock.h.

Public Member Functions

 LCDLock (LCDMutex *mutex)
 Constructor locking an LCD mutex.

 LCDLock (::pthread_mutex_t *mutex)
 Constructor locking a Posix mutex.

 ~LCDLock ()
 Destructor unlocking the mutex.


Constructor & Destructor Documentation

LCDLock LCDMutex mutex  ) 
 

This constructor locks the LCD mutex and stores it.

Definition at line 28 of file LCDLock.h.

LCDLock ::pthread_mutex_t *  mutex  ) 
 

This constructor locks the Posix mutex and stores it.

Definition at line 40 of file LCDLock.h.

~LCDLock  ) 
 

This destructor unlocks the mutex.

Definition at line 53 of file LCDLock.h.


Generated on Wed Aug 4 19:39:10 2004 for LCDApi by doxygen 1.3.6