Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

mysqlpp::Lock Class Reference

Abstract base class for lock implementation, used by Lockable. More...

#include <lockable.h>

Inheritance diagram for mysqlpp::Lock:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Lock ()
 Destroy object.

virtual bool lock ()=0
 Lock the object.

virtual void unlock ()=0
 Unlock the object.

virtual bool locked () const=0
 Returns true if object is locked.

virtual void set (bool b)=0
 Set the lock state.


Detailed Description

Abstract base class for lock implementation, used by Lockable.


Member Function Documentation

virtual bool mysqlpp::Lock::lock  )  [pure virtual]
 

Lock the object.

Returns:
true if object was already locked

Implemented in mysqlpp::BasicLock.


The documentation for this class was generated from the following file:
Generated on Wed Jul 11 15:35:20 2007 for MySQL++ by doxygen 1.3.5