MFC Grid manual

CRecursionChecker Class Reference

Helper, that automatically calls CRecursionProtector::Enter() in its constructor and in the destructor it calls CRecursionProtector::Leave(). More...

#include <Dapfor/Common/RecursionProtector.h>

List of all members.


Public Member Functions

 CRecursionChecker (CRecursionProtector &protector)
 Constructor.
 ~CRecursionChecker ()
 Destructor.

Detailed Description

Helper, that automatically calls CRecursionProtector::Enter() in its constructor and in the destructor it calls CRecursionProtector::Leave().

Constructor & Destructor Documentation

CRecursionChecker ( CRecursionProtector protector  ) 

Constructor.

Calls CRecursionProtector::Enter();

Parameters:
[in] protector Reference to the recursion protector.

~CRecursionChecker (  ) 

Destructor.

Calls CRecursionProtector::Leave();