Concrete Python
git-339c971
|
#include <concrete/context.hpp>
Public Member Functions | |
ScopedContext (Context &context) throw () | |
~ScopedContext () throw () |
Context activator.
ScopedContext | ( | Context & | context | ) | throw () [explicit] |
Set the active Context instance of the current thread.
context | is owned by the caller and must live over the lifetime of the created ScopedContext instance |
~ScopedContext | ( | ) | throw () |
Clear the active Context instance of the current thread.