![]() |
Vireo
1.0
Compact runtime for Virtual Instruments
|
Stack based class to manage a threads active TypeManager and ExecutionContext. More...
#include <ExecutionContext.h>
Public Member Functions | |
ExecutionContextScope (ExecutionContextRef context) | |
Constructor saves the currect context (if it exists) and begins a new one. | |
~ExecutionContextScope () | |
Destructor restores previous context. | |
Static Public Member Functions | |
static ExecutionContextRef | Current () |
Static method returns the current active ExecutionContext. | |
Private Attributes | |
ExecutionContextRef | _saveExec |
TypeManagerScope | _typeManagerScope |
Static Private Attributes | |
static VIVM_THREAD_LOCAL ExecutionContextRef | _threadsExecutionContext |
Stack based class to manage a threads active TypeManager and ExecutionContext.