|
MXL : Media eXchange Layer
MXL
|
#include <FabricInterfaceList.hpp>
Public Member Functions | |
| void | clear () |
| FabricInterfaceList () | |
| void | push (FabricInterfaceDescription iface) |
| ::mxlFabricsInterfaceList * | toRawLinkedList () noexcept |
Static Public Member Functions | |
| static void | freeRawLinkedList (::mxlFabricsInterfaceList *) noexcept |
Private Attributes | |
| std::vector< FabricInterfaceDescription > | _interfaces |
Collects FabricInterfaceDescription entries discovered during interface probing and converts them to the heap-allocated mxlFabricsInterfaceList linked list returned by the public C API.
Definition at line 15 of file FabricInterfaceList.hpp.
|
default |
| void mxl::lib::fabrics::ofi::FabricInterfaceList::clear | ( | ) |
Remove all collected interface descriptions.
Definition at line 16 of file FabricInterfaceList.cpp.
|
staticnoexcept |
Free an entire linked list previously created by toRawLinkedList().
Definition at line 32 of file FabricInterfaceList.cpp.
| void mxl::lib::fabrics::ofi::FabricInterfaceList::push | ( | FabricInterfaceDescription | iface | ) |
Append an interface description to the list.
Definition at line 11 of file FabricInterfaceList.cpp.
|
nodiscardnoexcept |
Convert the collected descriptions into a heap-allocated mxlFabricsInterfaceList linked list. Ownership of the returned list transfers to the caller; free with freeRawLinkedList().
Definition at line 21 of file FabricInterfaceList.cpp.
|
private |
Definition at line 37 of file FabricInterfaceList.hpp.