MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
FabricInfo.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <string>
#include <type_traits>
#include <rdma/fabric.h>
#include "Provider.hpp"
Include dependency graph for FabricInfo.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mxl::lib::fabrics::ofi::FabricInfoIterator< Const >
 Implements a const/non-const ForwardIterator over a ::fi_info linked list, for use with range-based for-loops, std::algorithms and ranges. More...
class  mxl::lib::fabrics::ofi::FabricInfoList
 Wrapper for a linked-list of fi_info objects, mostly returned from ::fi_getinfo. More...
class  mxl::lib::fabrics::ofi::FabricInfoView
 Non-owning view of a FabricInfo. Returned when iterating over a FabricInfoList. More...

Namespaces

namespace  mxl
namespace  mxl::lib
namespace  mxl::lib::fabrics
namespace  mxl::lib::fabrics::ofi

Functions

static FabricInfo mxl::lib::fabrics::ofi::clone (::fi_info const *) noexcept
 RAII wrapper around a libfabric `fi_info`` structure.
static FabricInfo mxl::lib::fabrics::ofi::empty () noexcept
 Create and empty FabricInfo.
 mxl::lib::fabrics::ofi::FabricInfo (::fi_info *) noexcept
 Private constructor can only be called by static members. Used to enforce clear ownership semantics.
 mxl::lib::fabrics::ofi::FabricInfo (FabricInfo &&other) noexcept
 mxl::lib::fabrics::ofi::FabricInfo (FabricInfo const &) noexcept
 mxl::lib::fabrics::ofi::FabricInfo (FabricInfoView) noexcept
 Create an owning FabricInfo object from a non-owning view.
void mxl::lib::fabrics::ofi::free () noexcept
 Called internally to release the ::fi_info object.
::fi_info & mxl::lib::fabrics::ofi::operator* () noexcept
 Dereferencing the FabricInfo return the raw ::fi_info object managed by this object.
::fi_info * mxl::lib::fabrics::ofi::operator-> () noexcept
 Dereferencing the FabricInfo return the raw ::fi_info object managed by this object.
FabricInfo & mxl::lib::fabrics::ofi::operator= (FabricInfo &&) noexcept
void mxl::lib::fabrics::ofi::operator= (FabricInfo const &other) noexcept
static FabricInfo mxl::lib::fabrics::ofi::own (::fi_info *) noexcept
 Own an existing ::fi_info object.
::fi_info * mxl::lib::fabrics::ofi::raw () noexcept
 Returns the raw ::fi_info object managed by this FabricInfo instance.
FabricInfoView mxl::lib::fabrics::ofi::view () const noexcept
 Return a non-owning view of the FabricInfo.
 mxl::lib::fabrics::ofi::~FabricInfo () noexcept

Variables

::fi_info * mxl::lib::fabrics::ofi::_raw