mbo::CLockFake Class Reference

Fake Lock implementation. More...

#include <MboSynch.h>

Inheritance diagram for mbo::CLockFake:

Inheritance graph
{mbo::ILock\n||+ ~ILock()\l+ Enter()\l+ Leave()\l+ GetLevel()\l}
[legend]
Collaboration diagram for mbo::CLockFake:

Collaboration graph
{mbo::ILock\n||+ ~ILock()\l+ Enter()\l+ Leave()\l+ GetLevel()\l}
[legend]

List of all members.

Public Member Functions

 CLockFake ()
 CLockFake (const ICriticalSection *)
 CLockFake (const ILock &)
virtual void Enter () const
virtual void Leave () const
virtual unsigned long GetLevel () const


Detailed Description

Fake Lock implementation.

Note:
This class is distributed under the following license GNU Lesser General Public License, version 2.1.

Definition at line 424 of file MboSynch.h.


Constructor & Destructor Documentation

mbo::CLockFake::CLockFake (  )  [inline]

NOP

Definition at line 428 of file MboSynch.h.

mbo::CLockFake::CLockFake ( const ICriticalSection  )  [inline, explicit]

NOP

Definition at line 429 of file MboSynch.h.

mbo::CLockFake::CLockFake ( const ILock  )  [inline, explicit]

NOP

Definition at line 430 of file MboSynch.h.


Member Function Documentation

virtual void mbo::CLockFake::Enter (  )  const [inline, virtual]

NOP

Implements mbo::ILock.

Definition at line 432 of file MboSynch.h.

virtual void mbo::CLockFake::Leave (  )  const [inline, virtual]

NOP

Implements mbo::ILock.

Definition at line 433 of file MboSynch.h.

virtual unsigned long mbo::CLockFake::GetLevel (  )  const [inline, virtual]

Returns:
Number of times CriticalSection/Mutex is entered
Note:
This is only valie when the CriticalSection/Mutex is owned by the current thread.

This may not be correctly available in which case 1 is returned to signal Enter state.

Implements mbo::ILock.

Definition at line 434 of file MboSynch.h.

00434 { return 1; }; 


The documentation for this class was generated from the following file:
  Hosted on code.google.com  
© Marcus Börger
Generated on Fri Jan 18 21:21:12 2008 for MBO-lib by doxygen 1.5.4