11 #include <ucp/api/ucp.h>
12 #include <ucxx/tag_probe_builder.h>
13 #include <ucxx/typedefs.h>
18 class ConstructorFactory;
110 const bool _matched{
false};
111 const std::optional<TagRecvInfo> _info{
113 const ucp_tag_message_h _handle{
116 mutable std::atomic<bool> _consumed{
false};
124 void consume()
const;
139 TagProbeInfo() =
default;
158 TagProbeInfo(
const ucp_tag_recv_info_t& info, ucp_tag_message_h handle);
161 friend class detail::ConstructorFactory;
164 friend class RequestTag;
Information about probed tag message.
Definition: tag_probe.h:65
ucp_tag_message_h releaseHandle() const
Release the message handle.
bool isMatched() const
Check if a message was matched.
ucp_tag_message_h getHandle() const
Get the message handle.
const TagRecvInfo & getInfo() const
Get tag receive information.
Information about probed tag message.
Definition: tag_probe.h:31
TagRecvInfo(const ucp_tag_recv_info_t &info)
Construct a TagRecvInfo object from a UCP tag receive info structure.
TagRecvInfo()
Default constructor for TagRecvInfo.
Definition: tag_probe.h:39
const size_t length
The size of the received data.
Definition: tag_probe.h:34
const Tag senderTag
Sender tag.
Definition: tag_probe.h:33
Tag
Strong type for a UCP tag.
Definition: typedefs.h:66