HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_HoudiniWorkEventLoop Class Reference

#include <UT_HoudiniExecutionContext.h>

Public Types

using event_t = UT_HoudiniExecutionContext::Event
 
using exception_handler_t = bool(*)(std::exception_ptr)
 

Public Member Functions

 UT_HoudiniWorkEventLoop ()
 
void postEvent (UT_UniquePtr< event_t > ev)
 
void stop ()
 
void close ()
 
bool isRunning () const
 
bool isClosed () const
 
void run (exception_handler_t exception_handler=nullptr)
 
void restart ()
 
exint poll ()
 

Detailed Description

Definition at line 101 of file UT_HoudiniExecutionContext.h.

Member Typedef Documentation

using UT_HoudiniWorkEventLoop::exception_handler_t = bool(*)(std::exception_ptr)

Definition at line 105 of file UT_HoudiniExecutionContext.h.

Constructor & Destructor Documentation

UT_HoudiniWorkEventLoop::UT_HoudiniWorkEventLoop ( )
inline

Definition at line 107 of file UT_HoudiniExecutionContext.h.

Member Function Documentation

void UT_HoudiniWorkEventLoop::close ( )
bool UT_HoudiniWorkEventLoop::isClosed ( ) const
inline

Definition at line 132 of file UT_HoudiniExecutionContext.h.

bool UT_HoudiniWorkEventLoop::isRunning ( ) const
inline

Definition at line 131 of file UT_HoudiniExecutionContext.h.

exint UT_HoudiniWorkEventLoop::poll ( )
inline

Definition at line 138 of file UT_HoudiniExecutionContext.h.

void UT_HoudiniWorkEventLoop::postEvent ( UT_UniquePtr< event_t ev)
inline

Definition at line 113 of file UT_HoudiniExecutionContext.h.

void UT_HoudiniWorkEventLoop::restart ( )
inline

Definition at line 134 of file UT_HoudiniExecutionContext.h.

void UT_HoudiniWorkEventLoop::run ( exception_handler_t  exception_handler = nullptr)
void UT_HoudiniWorkEventLoop::stop ( )
inline

Definition at line 121 of file UT_HoudiniExecutionContext.h.


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