33 #ifndef OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED 34 #define OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED 58 void start(
const char* name = NULL) { (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 bool wasInterrupted(T *i, int percent=-1)
Definition: NullInterrupter.h:76
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h:136
void end()
Signal the end of an interruptible operation.
Definition: NullInterrupter.h:60
void start(const char *name=NULL)
Definition: NullInterrupter.h:58
Definition: Exceptions.h:40
NullInterrupter()
Default constructor.
Definition: NullInterrupter.h:55
Library and file format version numbers.
Dummy NOOP interrupter class defining interface.
Definition: NullInterrupter.h:52
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h:188
bool wasInterrupted(int percent=-1)
Definition: NullInterrupter.h:67