libMesh
Public Member Functions | List of all members
libMesh::Parallel::PostWaitWork Struct Referenceabstract

An abstract base class that can be subclassed to allow other code to perform work after a MPI_Wait succeeds. More...

#include <post_wait_work.h>

Inheritance diagram for libMesh::Parallel::PostWaitWork:
[legend]

Public Member Functions

virtual ~PostWaitWork ()
 
virtual void run ()=0
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~PostWaitWork()

virtual libMesh::Parallel::PostWaitWork::~PostWaitWork ( )
virtual

Definition at line 44 of file post_wait_work.h.

44 {}

Member Function Documentation

◆ run()

virtual void libMesh::Parallel::PostWaitWork::run ( )
pure virtual

The documentation for this struct was generated from the following file: