struct
#include <src/vt/messaging/async_op.h>
AsyncOp A general asynchronous operation with a pure virtual polling function and an associated trigger to execute when it completes.
Derived classes
- struct AsyncOpMPI
- An asynchronous MPI request that VT can poll on until completion.
Constructors, destructors, conversion operators
Public functions
- auto operator=(AsyncOp&&) -> AsyncOp& deleted
- auto operator=(AsyncOp const&) -> AsyncOp& deleted
- auto poll() -> bool pure virtual
- Function to override for polling completion of this asynchronous operation.
- void done() pure virtual
- Function to override that is triggered when the operation completes.
-
template<typename SerializerT>void serialize(SerializerT& s)
- Serialize for footprinting.
Protected variables
Function documentation
bool vt:: messaging:: AsyncOp:: poll() pure virtual
Function to override for polling completion of this asynchronous operation.
Returns | whether the operation is completed |
---|
template<typename SerializerT>
void vt:: messaging:: AsyncOp:: serialize(SerializerT& s)
Serialize for footprinting.
Parameters | |
---|---|
s in | the serializer |
Variable documentation
EpochType vt:: messaging:: AsyncOp:: cur_epoch_ protected
Enclosing epoch for the operation