|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Owns a struct fi_msg_rma built from a LocalIOVec and a RemoteIOVec, for fi_readmsg() and fi_writemsg(). More...
#include <Endpoint.hh>
Public Member Functions | |
| RmaMessage () | |
| Construct with no IO vectors; the fi_msg_rma is allocated but its fields are not initialized. | |
| RmaMessage (LocalIOVec *loc_iov, RemoteIOVec *rem_iov, void *context, uint64_t data=0) | |
| Construct from the given IO vectors (each copied into the fi_msg_rma only if non-null), a context pointer and an immediate data value. | |
| ~RmaMessage () | |
| Delete the owned fi_msg_rma; the IO vectors are not deleted. | |
| LocalIOVec * | loc_iov () const |
| Return the local IO vector. | |
| RemoteIOVec * | rem_iov () const |
| Return the remote IO vector. | |
| void | loc_iov (LocalIOVec *loc_iov) |
| Set the local IO vector and copy its iovec array, descriptors and current count into the message; does nothing if loc_iov is NULL. | |
| void | rem_iov (RemoteIOVec *rem_iov) |
| Set the remote IO vector and copy its entry array and current count into the message; does nothing if rem_iov is NULL. | |
| const struct iovec * | msg_iov () const |
| Return the iovec array pointer stored in the message. | |
| size_t | iov_count () const |
| Return the iovec count stored in the message. | |
| void ** | desc () const |
| Return the descriptor array pointer stored in the message. | |
| const struct fi_rma_iov * | rma_iov () const |
| Return the fi_rma_iov array pointer stored in the message. | |
| size_t | rma_iov_count () const |
| Return the remote entry count stored in the message. | |
| void * | context () const |
| Return the context pointer stored in the message. | |
| void | context (void *context) |
| Set the context pointer stored in the message. | |
| uint64_t | data () const |
| Return the immediate data value stored in the message. | |
| void | data (uint64_t data) |
| Set the immediate data value stored in the message. | |
| const struct fi_msg_rma * | msg () const |
| Return the underlying struct fi_msg_rma. | |
Owns a struct fi_msg_rma built from a LocalIOVec and a RemoteIOVec, for fi_readmsg() and fi_writemsg().
| Pds::Fabrics::RmaMessage::RmaMessage | ( | ) |
Construct with no IO vectors; the fi_msg_rma is allocated but its fields are not initialized.
| Pds::Fabrics::RmaMessage::RmaMessage | ( | LocalIOVec * | loc_iov, |
| RemoteIOVec * | rem_iov, | ||
| void * | context, | ||
| uint64_t | data = 0 |
||
| ) |
Construct from the given IO vectors (each copied into the fi_msg_rma only if non-null), a context pointer and an immediate data value.
| Pds::Fabrics::RmaMessage::~RmaMessage | ( | ) |
Delete the owned fi_msg_rma; the IO vectors are not deleted.
| void * Pds::Fabrics::RmaMessage::context | ( | ) | const |
Return the context pointer stored in the message.
| void Pds::Fabrics::RmaMessage::context | ( | void * | context | ) |
Set the context pointer stored in the message.
| uint64_t Pds::Fabrics::RmaMessage::data | ( | ) | const |
Return the immediate data value stored in the message.
| void Pds::Fabrics::RmaMessage::data | ( | uint64_t | data | ) |
Set the immediate data value stored in the message.
| void ** Pds::Fabrics::RmaMessage::desc | ( | ) | const |
Return the descriptor array pointer stored in the message.
| size_t Pds::Fabrics::RmaMessage::iov_count | ( | ) | const |
Return the iovec count stored in the message.
| LocalIOVec * Pds::Fabrics::RmaMessage::loc_iov | ( | ) | const |
Return the local IO vector.
| void Pds::Fabrics::RmaMessage::loc_iov | ( | LocalIOVec * | loc_iov | ) |
Set the local IO vector and copy its iovec array, descriptors and current count into the message; does nothing if loc_iov is NULL.
| const struct fi_msg_rma * Pds::Fabrics::RmaMessage::msg | ( | ) | const |
Return the underlying struct fi_msg_rma.
| const struct iovec * Pds::Fabrics::RmaMessage::msg_iov | ( | ) | const |
Return the iovec array pointer stored in the message.
| RemoteIOVec * Pds::Fabrics::RmaMessage::rem_iov | ( | ) | const |
Return the remote IO vector.
| void Pds::Fabrics::RmaMessage::rem_iov | ( | RemoteIOVec * | rem_iov | ) |
Set the remote IO vector and copy its entry array and current count into the message; does nothing if rem_iov is NULL.
| const struct fi_rma_iov * Pds::Fabrics::RmaMessage::rma_iov | ( | ) | const |
Return the fi_rma_iov array pointer stored in the message.
| size_t Pds::Fabrics::RmaMessage::rma_iov_count | ( | ) | const |
Return the remote entry count stored in the message.