#include <post_wait_work.h>
Public Member Functions | |
virtual | ~PostWaitWork () |
virtual void | run ()=0 |
An abstract base class that can be subclassed to allow other code to perform work after a MPI_Wait succeeds. This makes it possible to automatically schedule deserialization, cleanup, or other operations such that they automatically take place after an asynchronous I/O operation has completed.
See PostWaitCopyBuffer, PostWaitDeleteBuffer, and PostWaitUnpackBuffer for examples of useful subclasses that are automatically employed by the library. See the Request::add_post_wait_work method for documentation of how to use these subclasses. See Communicator method implementations for examples of all this in use, including chaining of multiple PostWaitWork operations.
Definition at line 43 of file post_wait_work.h.
|
inlinevirtual |
Definition at line 44 of file post_wait_work.h.
|
pure virtual |
Implemented in libMesh::Parallel::PostWaitCopyBuffer< Container, OutputIter >, libMesh::Parallel::PostWaitDereferenceSharedPtr< T >, libMesh::Parallel::PostWaitDereferenceTag, libMesh::Parallel::PostWaitUnpackBuffer< Container, Context, OutputIter, T >, libMesh::Parallel::PostWaitDeleteBuffer< Container >, and libMesh::Parallel::PostWaitFreeBuffer< T >.