HDK
|
#include <UT_HoudiniExecutionContext.h>
Classes | |
class | Event |
Public Types | |
using | executor_type = UT_HoudiniExecutor |
Public Member Functions | |
UT_HoudiniExecutionContext (const UT_HoudiniExecutionContext &)=delete | |
UT_HoudiniExecutionContext & | operator= (const UT_HoudiniExecutionContext &)=delete |
template<typename F > | |
void | post (F f) |
virtual void | onWorkStarted () |
virtual void | onWorkFinished () |
UT_HoudiniExecutor | get_executor () |
UT_HoudiniExecutor | get_executor () const |
Static Public Member Functions | |
static UT_HoudiniExecutor | houdiniExecutor () |
static UT_HoudiniExecutionContext * | instance () |
static bool | hasInstance () |
Protected Member Functions | |
UT_HoudiniExecutionContext () | |
virtual | ~UT_HoudiniExecutionContext ()=default |
virtual void | post_ (UT_UniquePtr< Event > ev)=0 |
Static Protected Member Functions | |
static void | clearInstance () |
Definition at line 24 of file UT_HoudiniExecutionContext.h.
Definition at line 50 of file UT_HoudiniExecutionContext.h.
|
delete |
|
inlineprotected |
Definition at line 82 of file UT_HoudiniExecutionContext.h.
|
protectedvirtualdefault |
|
inlinestaticprotected |
Used ONLY for unit tests where each test should have their own ctx so we need to clear the instance.
Definition at line 93 of file UT_HoudiniExecutionContext.h.
UT_HoudiniExecutor UT_HoudiniExecutionContext::get_executor | ( | ) |
UT_HoudiniExecutor UT_HoudiniExecutionContext::get_executor | ( | ) | const |
|
inlinestatic |
Definition at line 64 of file UT_HoudiniExecutionContext.h.
|
static |
|
inlinestatic |
Definition at line 58 of file UT_HoudiniExecutionContext.h.
|
inlinevirtual |
Definition at line 76 of file UT_HoudiniExecutionContext.h.
|
inlinevirtual |
Definition at line 75 of file UT_HoudiniExecutionContext.h.
|
delete |
|
inline |
Definition at line 70 of file UT_HoudiniExecutionContext.h.
|
protectedpure virtual |
Implemented in UT_HoudiniEventLoopExecutionContext.