|
MXL : Media eXchange Layer
MXL
|
RAIII wrapper around a libfabric fabric object (fid_fabric). More...
#include <Fabric.hpp>
Public Member Functions | |
| Fabric (Fabric &&) noexcept | |
| Fabric (Fabric const &)=delete | |
| FabricInfoView | info () const noexcept |
| Get a view on the libfabric info used to open this fabric. | |
| Fabric & | operator= (Fabric &&) |
| void | operator= (Fabric const &)=delete |
| ::fid_fabric const * | raw () const noexcept |
| Immutable accessor for the underlying raw libfabric fabric object. | |
| ::fid_fabric * | raw () noexcept |
| Mutable accessor for the underlying raw libfabric fabric object. | |
| ~Fabric () | |
Static Public Member Functions | |
| static std::shared_ptr< Fabric > | open (FabricInfoView info) |
| Open a fabric object based on the provided FabricInfoView. | |
Private Member Functions | |
| void | close () |
| Close the underlying fabric object. | |
| Fabric (::fid_fabric *raw, FabricInfoView info) | |
Private Attributes | |
| FabricInfo | _info |
| ::fid_fabric * | _raw |
RAIII wrapper around a libfabric fabric object (fid_fabric).
Definition at line 16 of file Fabric.hpp.
| mxl::lib::fabrics::ofi::Fabric::~Fabric | ( | ) |
Definition at line 37 of file Fabric.cpp.
|
delete |
|
noexcept |
Definition at line 42 of file Fabric.cpp.
|
private |
Definition at line 32 of file Fabric.cpp.
|
private |
Close the underlying fabric object.
Definition at line 75 of file Fabric.cpp.
|
nodiscardnoexcept |
Get a view on the libfabric info used to open this fabric.
Definition at line 70 of file Fabric.cpp.
|
static |
Open a fabric object based on the provided FabricInfoView.
| info | The fabric info to use when opening the fabric. |
Definition at line 15 of file Fabric.cpp.
Definition at line 49 of file Fabric.cpp.
|
delete |
|
nodiscardnoexcept |
Immutable accessor for the underlying raw libfabric fabric object.
Definition at line 65 of file Fabric.cpp.
|
nodiscardnoexcept |
Mutable accessor for the underlying raw libfabric fabric object.
Definition at line 60 of file Fabric.cpp.
|
private |
Definition at line 57 of file Fabric.hpp.
|
private |
Definition at line 56 of file Fabric.hpp.