Go to the documentation of this file.
33 #ifndef OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
34 #define OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
58 void start(
const char* name =
nullptr) { (void)name; }
67 inline bool wasInterrupted(
int percent = -1) { (void)percent;
return false; }
76 inline bool wasInterrupted(T* i,
int percent = -1) {
return i && i->wasInterrupted(percent); }
86 #endif // OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
void end()
Signal the end of an interruptible operation.
Definition: NullInterrupter.h:60
Library and file format version numbers.
bool wasInterrupted(T *i, int percent=-1)
Definition: NullInterrupter.h:76
bool wasInterrupted(int percent=-1)
Definition: NullInterrupter.h:67
NullInterrupter()
Default constructor.
Definition: NullInterrupter.h:55
Dummy NOOP interrupter class defining interface.
Definition: NullInterrupter.h:52
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h:180
#define OPENVDB_VERSION_NAME
Definition: version.h:134
void start(const char *name=nullptr)
Definition: NullInterrupter.h:58
Definition: Exceptions.h:40