#include <UT_Interrupt.h>
Helper class to ensure that opEnd() is always called, even if you return early from a function. It's similar to UT_AutoUndoBlock.
- Examples:
- SOP/SOP_DualStar.C, SOP/SOP_Flatten.C, and SOP/SOP_PrimVOP.C.
Definition at line 419 of file UT_Interrupt.h.
UT_AutoInterrupt::~UT_AutoInterrupt |
( |
| ) |
|
|
inline |
bool UT_AutoInterrupt::wasInterrupted |
( |
| ) |
|
|
inline |
bool UT_AutoInterrupt::wasInterrupted |
( |
int |
percent | ) |
|
|
inline |
The documentation for this class was generated from the following file: