struct
AsyncOpWrapperWrapper for a general asynchronous operation that holds a pointer to base class.
Constructors, destructors, conversion operators
- AsyncOpWrapper(std::unique_ptr<AsyncOp> ptr) explicit
- Construct with unique pointer to operation.
- AsyncOpWrapper(std::unique_ptr<AsyncOp> ptr, ThreadIDType in_tid)
- Construct with unique pointer to operation and a thread ID to resume when it completes.
Public functions
Public variables
- bool valid
Function documentation
vt:: messaging:: AsyncOpWrapper:: AsyncOpWrapper(std::unique_ptr<AsyncOp> ptr) explicit
Construct with unique pointer to operation.
Parameters | |
---|---|
ptr in | the operation |
vt:: messaging:: AsyncOpWrapper:: AsyncOpWrapper(std::unique_ptr<AsyncOp> ptr,
ThreadIDType in_tid)
Construct with unique pointer to operation and a thread ID to resume when it completes.
Parameters | |
---|---|
ptr in | the operation |
in_tid |
bool vt:: messaging:: AsyncOpWrapper:: test(int& num_tests)
Test completion of the operation.
Parameters | |
---|---|
num_tests in | how many tests were executed (diagnostics) |
Returns | whether the operation is complete |
template<typename SerializerT>
void vt:: messaging:: AsyncOpWrapper:: serialize(SerializerT& s)
Serializer for footprinting.
Parameters | |
---|---|
s in | the serializer |
Variable documentation
bool vt:: messaging:: AsyncOpWrapper:: valid
Whether op is valid