HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_HoudiniExecutionContext Class Referenceabstract

#include <UT_HoudiniExecutionContext.h>

+ Inheritance diagram for UT_HoudiniExecutionContext:

Classes

class  Event
 

Public Types

using executor_type = UT_HoudiniExecutor
 

Public Member Functions

 UT_HoudiniExecutionContext (const UT_HoudiniExecutionContext &)=delete
 
UT_HoudiniExecutionContextoperator= (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_HoudiniExecutionContextinstance ()
 
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 ()
 

Detailed Description

Definition at line 24 of file UT_HoudiniExecutionContext.h.

Member Typedef Documentation

Constructor & Destructor Documentation

UT_HoudiniExecutionContext::UT_HoudiniExecutionContext ( const UT_HoudiniExecutionContext )
delete
UT_HoudiniExecutionContext::UT_HoudiniExecutionContext ( )
inlineprotected

Definition at line 82 of file UT_HoudiniExecutionContext.h.

virtual UT_HoudiniExecutionContext::~UT_HoudiniExecutionContext ( )
protectedvirtualdefault

Member Function Documentation

static void UT_HoudiniExecutionContext::clearInstance ( )
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
static bool UT_HoudiniExecutionContext::hasInstance ( )
inlinestatic

Definition at line 64 of file UT_HoudiniExecutionContext.h.

static UT_HoudiniExecutor UT_HoudiniExecutionContext::houdiniExecutor ( )
static
static UT_HoudiniExecutionContext* UT_HoudiniExecutionContext::instance ( )
inlinestatic

Definition at line 58 of file UT_HoudiniExecutionContext.h.

virtual void UT_HoudiniExecutionContext::onWorkFinished ( )
inlinevirtual

Definition at line 76 of file UT_HoudiniExecutionContext.h.

virtual void UT_HoudiniExecutionContext::onWorkStarted ( )
inlinevirtual

Definition at line 75 of file UT_HoudiniExecutionContext.h.

UT_HoudiniExecutionContext& UT_HoudiniExecutionContext::operator= ( const UT_HoudiniExecutionContext )
delete
template<typename F >
void UT_HoudiniExecutionContext::post ( f)
inline

Definition at line 70 of file UT_HoudiniExecutionContext.h.

virtual void UT_HoudiniExecutionContext::post_ ( UT_UniquePtr< Event ev)
protectedpure virtual

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