|
KiCad PCB EDA Suite
|
Make an environment current on this thread for the lifetime of the scope. More...
#include <text_eval_environment.h>
Public Member Functions | |
| ENVIRONMENT_SCOPE (ENVIRONMENT &aEnvironment) | |
| ~ENVIRONMENT_SCOPE () | |
| ENVIRONMENT_SCOPE (const ENVIRONMENT_SCOPE &)=delete | |
| ENVIRONMENT_SCOPE & | operator= (const ENVIRONMENT_SCOPE &)=delete |
Private Attributes | |
| ENVIRONMENT * | m_previous |
Make an environment current on this thread for the lifetime of the scope.
Scopes nest. Other threads, including thread pool workers, keep evaluating against the wall clock.
Definition at line 157 of file text_eval_environment.h.
|
explicit |
Definition at line 122 of file text_eval_environment.cpp.
References m_previous.
Referenced by ENVIRONMENT_SCOPE(), and operator=().
| TEXT_EVAL::ENVIRONMENT_SCOPE::~ENVIRONMENT_SCOPE | ( | ) |
Definition at line 129 of file text_eval_environment.cpp.
References m_previous.
|
delete |
References ENVIRONMENT_SCOPE().
|
delete |
References ENVIRONMENT_SCOPE().
|
private |
Definition at line 167 of file text_eval_environment.h.
Referenced by ENVIRONMENT_SCOPE(), and ~ENVIRONMENT_SCOPE().