|
MXL : Media eXchange Layer
MXL
|
Wrapper for a linked-list of fi_info objects, mostly returned from ::fi_getinfo. More...
Public Types | |
| using | const_iterator = FabricInfoIterator<true> |
| using | iterator = FabricInfoIterator<false> |
Public Member Functions | |
| const_iterator | begin () const noexcept |
| iterator | begin () noexcept |
| const_iterator | cbegin () const noexcept |
| const_iterator | cend () const noexcept |
| const_iterator | end () const noexcept |
| iterator | end () noexcept |
| FabricInfoList (FabricInfoList &&other) noexcept | |
| FabricInfoList (FabricInfoList const &)=delete | |
| FabricInfoList & | operator= (FabricInfoList &&other) noexcept |
| FabricInfoList & | operator= (FabricInfoList const &)=delete |
| ~FabricInfoList () | |
| calls ::fi_freeinfo to deallocate the underlying linked-list | |
Static Public Member Functions | |
| static FabricInfoList | get () |
| Calls fi_getinfo without any hints and returns the full list of fabric information objects. | |
| static FabricInfoList | getSourceInterfaces (ProviderConfig const &providerConfig, std::optional< FabricAddress > const &sourceAddress) |
| Calls fi_getinfo with FI_SOURCE to get source interface information. Uses hints derived from the provider config value. | |
| static FabricInfoList | own (::fi_info *info) noexcept |
| Take ownership over a fi_info raw pointer. | |
Private Member Functions | |
| FabricInfoList (::fi_info *) noexcept | |
| void | free () |
Private Attributes | |
| ::fi_info * | _begin |
Wrapper for a linked-list of fi_info objects, mostly returned from ::fi_getinfo.
Can be iterated over and used with std::algorithms and std::ranges.
Definition at line 225 of file FabricInfo.hpp.
Definition at line 230 of file FabricInfo.hpp.
Definition at line 229 of file FabricInfo.hpp.
| mxl::lib::fabrics::ofi::FabricInfoList::~FabricInfoList | ( | ) |
calls ::fi_freeinfo to deallocate the underlying linked-list
Definition at line 239 of file FabricInfo.cpp.
|
delete |
|
noexcept |
Definition at line 244 of file FabricInfo.cpp.
|
explicitprivatenoexcept |
Definition at line 235 of file FabricInfo.cpp.
|
nodiscardnoexcept |
Definition at line 269 of file FabricInfo.cpp.
|
noexcept |
Definition at line 259 of file FabricInfo.cpp.
|
nodiscardnoexcept |
Definition at line 279 of file FabricInfo.cpp.
|
nodiscardnoexcept |
Definition at line 284 of file FabricInfo.cpp.
|
nodiscardnoexcept |
Definition at line 274 of file FabricInfo.cpp.
|
noexcept |
Definition at line 264 of file FabricInfo.cpp.
|
private |
Definition at line 289 of file FabricInfo.cpp.
|
staticnodiscard |
Calls fi_getinfo without any hints and returns the full list of fabric information objects.
Definition at line 173 of file FabricInfo.cpp.
|
staticnodiscard |
Calls fi_getinfo with FI_SOURCE to get source interface information. Uses hints derived from the provider config value.
Definition at line 180 of file FabricInfo.cpp.
|
noexcept |
Definition at line 250 of file FabricInfo.cpp.
|
delete |
|
staticnoexcept |
Take ownership over a fi_info raw pointer.
Definition at line 230 of file FabricInfo.cpp.
|
private |
Definition at line 279 of file FabricInfo.hpp.