OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
ExecRecursionCheck Class Reference

Public Member Functions

 ExecRecursionCheck ()
 
 ~ExecRecursionCheck ()
 
bool IsRecursion () const
 

Detailed Description

Definition at line 112 of file C4ConsoleQtState.cpp.

Constructor & Destructor Documentation

ExecRecursionCheck::ExecRecursionCheck ( )
inline

Definition at line 116 of file C4ConsoleQtState.cpp.

116 { ++counter; }
ExecRecursionCheck::~ExecRecursionCheck ( )
inline

Definition at line 117 of file C4ConsoleQtState.cpp.

117 { --counter; }

Member Function Documentation

bool ExecRecursionCheck::IsRecursion ( ) const
inline

Definition at line 119 of file C4ConsoleQtState.cpp.

119 { return counter > 1; }

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