KiCad PCB EDA Suite
REENTRANCY_GUARD Struct Reference

#include <tool_interactive.h>

Public Member Functions

 REENTRANCY_GUARD (bool *aFlag)
 
 ~REENTRANCY_GUARD ()
 

Private Attributes

bool * m_flag
 

Detailed Description

Definition at line 38 of file tool_interactive.h.

Constructor & Destructor Documentation

◆ REENTRANCY_GUARD()

REENTRANCY_GUARD::REENTRANCY_GUARD ( bool *  aFlag)
inline

Definition at line 40 of file tool_interactive.h.

40  :
41  m_flag( aFlag )
42  {
43  *m_flag = true;
44  }

References m_flag.

◆ ~REENTRANCY_GUARD()

REENTRANCY_GUARD::~REENTRANCY_GUARD ( )
inline

Definition at line 46 of file tool_interactive.h.

47  {
48  *m_flag = false;
49  }

References m_flag.

Member Data Documentation

◆ m_flag

bool* REENTRANCY_GUARD::m_flag
private

Definition at line 52 of file tool_interactive.h.

Referenced by REENTRANCY_GUARD(), and ~REENTRANCY_GUARD().


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