dfx
0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
Kind.hpp
1
// SPDX-FileCopyrightText: 2025 Vincent Leroy
2
// SPDX-License-Identifier: MIT
3
//
4
// This file is part of dfx.
5
//
6
// Licensed under the MIT License. See the LICENSE file in the project root
7
// for full license information.
8
9
#pragma once
10
11
// Project includes
12
#include <
dfx-utilities/EnumString.hpp
>
13
14
namespace
dfx::Core
15
{
28
enum class
Kind
29
{
34
Data
,
35
41
Control
,
42
};
43
}
// !namespace dfx::Core
44
45
DECLARE_ENUM_STRING_FUNCTIONS
(
dfx::Core::Kind
);
EnumString.hpp
Macro-based enum <-> string utilities for dfx.
DECLARE_ENUM_STRING_FUNCTIONS
#define DECLARE_ENUM_STRING_FUNCTIONS(E)
Declare the enum string API (and std::formatter) for enum type E.
Definition
EnumString.hpp:327
dfx::Core
Definition
Channel.hpp:22
dfx::Core::Kind
Kind
Port kind (connection domain).
Definition
Kind.hpp:29
dfx::Core::Kind::Control
@ Control
Control-plane ports.
Definition
Kind.hpp:41
dfx::Core::Kind::Data
@ Data
Data-plane ports.
Definition
Kind.hpp:34
lib
dfx-core
ports
Kind.hpp
Generated by
1.14.0