Wraps execution of other code by calling the prelude and cleanup code wrappers for given sub-operation.
More...
#include <codeWrapperContext.h>
Wraps execution of other code by calling the prelude and cleanup code wrappers for given sub-operation.
Definition at line 24 of file codeWrapperContext.h.
◆ CodeWrapperContext() [1/3]
Ufe::CodeWrapperContext::CodeWrapperContext |
( |
const CodeWrapperContainer & |
container, |
|
|
const std::string & |
subOperation |
|
) |
| |
Creates a context that immediately calls all the prelude functions of the code wrapper kept in the given container for the given sub-operation.
- Parameters
-
container | the container of code wrappers. |
subOperation | the name of the sub-operation being wrapped. |
◆ ~CodeWrapperContext()
Ufe::CodeWrapperContext::~CodeWrapperContext |
( |
| ) |
|
◆ CodeWrapperContext() [2/3]
◆ CodeWrapperContext() [3/3]
◆ cleanup()
void Ufe::CodeWrapperContext::cleanup |
( |
| ) |
|
Invoke the cleanup of the wrappers immediately, before the destructor. After this call, the destructor will do nothing instead of doing cleanup.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ prelude()
void Ufe::CodeWrapperContext::prelude |
( |
| ) |
|
|
private |
◆ fContainer
◆ fSubOperation
std::string Ufe::CodeWrapperContext::fSubOperation |
|
private |
The documentation for this class was generated from the following file: