![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
One item in the IOThread write queue. More...
#include <WriteTask.hpp>
Public Member Functions | |
| WriteTask ()=default | |
| WriteTask (SimulationSnapshot snap, int seq=0) | |
| WriteTask (WriteTask &&) noexcept=default | |
| WriteTask & | operator= (WriteTask &&) noexcept=default |
| WriteTask (const WriteTask &)=delete | |
| WriteTask & | operator= (const WriteTask &)=delete |
Public Attributes | |
| SimulationSnapshot | snapshot |
| The snapshot to be written (deep copy of relevant SoA slices). | |
| int | sequence = 0 |
| Sequential task index (0-based). Useful for ordering assertions. | |
One item in the IOThread write queue.
Moved into the queue from the simulation thread; consumed by the IO thread. Ownership of all vector data is transferred with the move, so no copies are made for typical usage.
|
default |
|
inlineexplicit |
|
defaultnoexcept |
|
delete |
| int openswmm::WriteTask::sequence = 0 |
Sequential task index (0-based). Useful for ordering assertions.
| SimulationSnapshot openswmm::WriteTask::snapshot |
The snapshot to be written (deep copy of relevant SoA slices).