MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
FabricInterfaceList.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 Contributors to the Media eXchange Layer project.
2
// SPDX-License-Identifier: Apache-2.0
3
#pragma once
4
5
#include <vector>
6
#include <
mxl/fabrics.h
>
7
#include "
FabricInterfaceDescription.hpp
"
8
9
namespace
mxl::lib::fabrics::ofi
10
{
15
class
FabricInterfaceList
16
{
17
public
:
18
FabricInterfaceList
();
19
21
void
push
(
FabricInterfaceDescription
iface);
22
24
void
clear
();
25
30
[[nodiscard]]
31
::mxlFabricsInterfaceList
*
toRawLinkedList
() noexcept;
32
34
static
void
freeRawLinkedList
(::
mxlFabricsInterfaceList
*) noexcept;
35
36
private:
37
std::vector<
FabricInterfaceDescription
>
_interfaces
;
38
};
39
}
FabricInterfaceDescription.hpp
mxl::lib::fabrics::ofi::FabricInterfaceDescription
Definition
FabricInterfaceDescription.hpp:18
mxl::lib::fabrics::ofi::FabricInterfaceList::_interfaces
std::vector< FabricInterfaceDescription > _interfaces
Definition
FabricInterfaceList.hpp:37
mxl::lib::fabrics::ofi::FabricInterfaceList::toRawLinkedList
::mxlFabricsInterfaceList * toRawLinkedList() noexcept
Definition
FabricInterfaceList.cpp:21
mxl::lib::fabrics::ofi::FabricInterfaceList::clear
void clear()
Definition
FabricInterfaceList.cpp:16
mxl::lib::fabrics::ofi::FabricInterfaceList::push
void push(FabricInterfaceDescription iface)
Definition
FabricInterfaceList.cpp:11
mxl::lib::fabrics::ofi::FabricInterfaceList::FabricInterfaceList
FabricInterfaceList()
mxl::lib::fabrics::ofi::FabricInterfaceList::freeRawLinkedList
static void freeRawLinkedList(::mxlFabricsInterfaceList *) noexcept
Definition
FabricInterfaceList.cpp:32
fabrics.h
mxlFabricsInterfaceList
struct mxlFabricsInterfaceList_t mxlFabricsInterfaceList
Definition
fabrics.h:116
mxl::lib::fabrics::ofi
Definition
fabrics.cpp:33
lib
fabrics
ofi
src
internal
FabricInterfaceList.hpp
Generated by
1.15.0