7 #ifndef OPENVDB_IO_QUEUE_HAS_BEEN_INCLUDED
8 #define OPENVDB_IO_QUEUE_HAS_BEEN_INCLUDED
136 void setTimeout(
Index32 seconds = DEFAULT_TIMEOUT);
156 void removeNotifier(
Id);
158 void clearNotifiers();
208 template<
typename Gr
idPtrContainer>
220 std::unique_ptr<Impl> mImpl;
224 template<
typename Gr
idPtrContainer>
230 std::copy(container.begin(), container.end(), std::back_inserter(grids));
231 return this->writeGridVec(grids, archive, metadata);
240 return this->writeGridVec(grids, archive, metadata);
247 #endif // OPENVDB_IO_QUEUE_HAS_BEEN_INCLUDED
Grid serializer/unserializer.
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
#define OPENVDB_USE_VERSION_NAMESPACE
GLbitfield GLuint64 timeout
Status
Status of a queued task.
Queue for asynchronous output of grids to files or streams.
Index32 Id
ID number of a queued task or of a registered notification callback.
std::function< void(Id, Status)> Notifier
SharedPtr< const GridBase > ConstPtr
void write(T &out, bool v)
std::vector< GridBase::ConstPtr > GridCPtrVec
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Id write(const GridPtrContainer &grids, const Archive &archive, const MetaMap &fileMetadata=MetaMap())
Queue a container of grids for output to a file.