ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::CodeWrapperContext Class Reference

Wraps execution of other code by calling the prelude and cleanup code wrappers for given sub-operation. More...

#include <codeWrapperContext.h>

Collaboration diagram for Ufe::CodeWrapperContext:

Public Member Functions

 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. More...
 
 ~CodeWrapperContext ()
 
 CodeWrapperContext (const CodeWrapperContext &)=delete
 
const CodeWrapperContextoperator= (const CodeWrapperContext &)=delete
 
 CodeWrapperContext (CodeWrapperContext &&)=delete
 
const CodeWrapperContextoperator= (CodeWrapperContext &&)=delete
 
void cleanup ()
 Invoke the cleanup of the wrappers immediately, before the destructor. After this call, the destructor will do nothing instead of doing cleanup. More...
 

Private Member Functions

void prelude ()
 

Private Attributes

const CodeWrapperContainerfContainer
 
std::string fSubOperation
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ 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
containerthe container of code wrappers.
subOperationthe name of the sub-operation being wrapped.

◆ ~CodeWrapperContext()

Ufe::CodeWrapperContext::~CodeWrapperContext ( )

◆ CodeWrapperContext() [2/3]

Ufe::CodeWrapperContext::CodeWrapperContext ( const CodeWrapperContext )
delete

◆ CodeWrapperContext() [3/3]

Ufe::CodeWrapperContext::CodeWrapperContext ( CodeWrapperContext &&  )
delete

Member Function Documentation

◆ 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]

const CodeWrapperContext & Ufe::CodeWrapperContext::operator= ( CodeWrapperContext &&  )
delete

◆ operator=() [2/2]

const CodeWrapperContext & Ufe::CodeWrapperContext::operator= ( const CodeWrapperContext )
delete

◆ prelude()

void Ufe::CodeWrapperContext::prelude ( )
private

Member Data Documentation

◆ fContainer

const CodeWrapperContainer* Ufe::CodeWrapperContext::fContainer
private

Definition at line 60 of file codeWrapperContext.h.

◆ fSubOperation

std::string Ufe::CodeWrapperContext::fSubOperation
private

Definition at line 61 of file codeWrapperContext.h.


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