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
SharedPtr< const GridBase > ConstPtr
Definition: Grid.h:81
static fileSize_t write(std::ostream &os, const GridHandle< BufferT > &handle, Codec codec)
Grid serializer/unserializer.
Definition: Archive.h:32
std::vector< GridBase::ConstPtr > GridCPtrVec
Definition: Grid.h:519
void writeGrid(const std::string &fileName, const GridHandle< BufferT > &handle, Codec codec=Codec::NONE, int verbose=0)
Write a single grid to file (over-writing existing content of the file)
Definition: IO.h:515
Definition: Exceptions.h:13
Index32 Id
ID number of a queued task or of a registered notification callback.
Definition: Queue.h:110
Status
Status of a queued task.
Definition: Queue.h:113
std::function< void(Id, Status)> Notifier
Definition: Queue.h:144
uint32_t Index32
Definition: Types.h:52
Queue for asynchronous output of grids to files or streams.
Definition: Queue.h:100
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h.in:116
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h.in:202