Go to the documentation of this file.
6 #ifndef OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
7 #define OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
31 void start(
const char* name =
nullptr) { (void)name; }
40 inline bool wasInterrupted(
int percent = -1) { (void)percent;
return false; }
49 inline bool wasInterrupted(T* i,
int percent = -1) {
return i && i->wasInterrupted(percent); }
59 #endif // OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
bool wasInterrupted(int percent=-1)
Definition: NullInterrupter.h:40
bool wasInterrupted(T *i, int percent=-1)
Definition: NullInterrupter.h:49
void start(const char *name=nullptr)
Definition: NullInterrupter.h:31
Library and file format version numbers.
Dummy NOOP interrupter class defining interface.
Definition: NullInterrupter.h:26
void end()
Signal the end of an interruptible operation.
Definition: NullInterrupter.h:33
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h:146
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h:94
Definition: Exceptions.h:13
NullInterrupter()
Default constructor.
Definition: NullInterrupter.h:28