6 #ifndef OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
7 #define OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
34 virtual void end() { }
49 inline bool wasInterrupted(T* i,
int percent = -1) {
return i && i->wasInterrupted(percent); }
56 #endif // OPENVDB_UTIL_NULL_INTERRUPTER_HAS_BEEN_INCLUDED
virtual NullInterrupter & interrupter() final
Convenience method to return a reference to the base class from a derived class.
#define OPENVDB_USE_VERSION_NAMESPACE
Base class for interrupters.
virtual void end()
Signal the end of an interruptible operation.
NullInterrupter()=default
Default constructor.
GLuint const GLchar * name
Library and file format version numbers.
virtual void start(const char *name=nullptr)
virtual ~NullInterrupter()=default
virtual bool wasInterrupted(int percent=-1)
bool wasInterrupted(T *i, int percent=-1)
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.