Vireo  1.0
Compact runtime for Virtual Instruments
 All Classes Files Functions Variables Enumerations Enumerator Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
Vireo::ExecutionContextScope Class Reference

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
 

Detailed Description

Stack based class to manage a threads active TypeManager and ExecutionContext.


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