TIMPI
Public Member Functions | List of all members
TIMPI::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 TIMPI::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 40 of file post_wait_work.h.

Constructor & Destructor Documentation

◆ ~PostWaitWork()

virtual TIMPI::PostWaitWork::~PostWaitWork ( )
inlinevirtual

Definition at line 41 of file post_wait_work.h.

41 {}

Member Function Documentation

◆ run()

virtual void TIMPI::PostWaitWork::run ( )
pure virtual

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