Information about probed tag message. More...
#include <tag_probe.h>
Public Member Functions | |
| TagProbeInfo (const TagProbeInfo &)=delete | |
| TagProbeInfo & | operator= (TagProbeInfo const &)=delete |
| TagProbeInfo (TagProbeInfo &&o)=delete | |
| TagProbeInfo & | operator= (TagProbeInfo &&o)=delete |
| bool | isMatched () const |
| Check if a message was matched. | |
| const TagRecvInfo & | getInfo () const |
| Get tag receive information. | |
| ucp_tag_message_h | getHandle () const |
| Get the message handle. | |
| ucp_tag_message_h | releaseHandle () const |
| Release the message handle. | |
Friends | |
| class | detail::ConstructorFactory |
| class | RequestTag |
Information about probed tag message.
Contains complete information about a probed tag message, including whether a message was matched, the tag receive information, and the message handle for efficient reception when tagProbe() is called with remove=true.
| ucp_tag_message_h ucxx::TagProbeInfo::getHandle | ( | ) | const |
Get the message handle.
| std::runtime_error | if the handle is nullptr or has been consumed. |
| const TagRecvInfo & ucxx::TagProbeInfo::getInfo | ( | ) | const |
Get tag receive information.
| std::runtime_error | if no message was matched. |
| bool ucxx::TagProbeInfo::isMatched | ( | ) | const |
Check if a message was matched.
| ucp_tag_message_h ucxx::TagProbeInfo::releaseHandle | ( | ) | const |
Release the message handle.
Same as getHandle() but also marks the handle as consumed, therefore no warning is logged when the object is destroyed and is the user's responsibility to consume the handle via a direct UCP operation.
| std::runtime_error | if the handle is nullptr or has been consumed. |