SG++-Doxygen-Documentation
sgpp::datadriven::MessageTrackRequest Struct Reference

Structure that holds data for pending tracking requests that need to be checked against incoming messages. More...

#include <MPIMethods.hpp>

Public Attributes

unsigned int currentHits
 Parameter to determine how many times the predicate should evaluate to true before the track request completes. More...
 
std::function< bool(PendingMPIRequest &)> predicate
 A predicate to apply to the incoming MPI request. More...
 
unsigned int targetHits
 Counter to determine how many times the predicate has evaluated to true. More...
 

Detailed Description

Structure that holds data for pending tracking requests that need to be checked against incoming messages.

Member Data Documentation

◆ currentHits

unsigned int sgpp::datadriven::MessageTrackRequest::currentHits

Parameter to determine how many times the predicate should evaluate to true before the track request completes.

◆ predicate

std::function<bool(PendingMPIRequest &)> sgpp::datadriven::MessageTrackRequest::predicate

A predicate to apply to the incoming MPI request.

If predicate returns true, will increase the targetHits by one.

◆ targetHits

unsigned int sgpp::datadriven::MessageTrackRequest::targetHits

Counter to determine how many times the predicate has evaluated to true.


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