dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
MessageApi.hpp
1// SPDX-FileCopyrightText: 2026 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-core/messages/Message.hpp>
14
15namespace dfx::Plugins
16{
46} // !namespace dfx::Plugins
C-ABI for the dfx framework plugin system.
void * dfx_message_handle_t
Opaque handle representing a message instance created by the host.
Definition PluginInterface.h:81
Abstract base class for messages exchanged between nodes.
Definition Message.hpp:86
Static utility for bridging native C++ Messages and the C-ABI Message API.
Definition MessageApi.hpp:26
static dfx_message_api_t buildMessageApi(Core::Message &message)
Constructs a C-compatible API structure for a native message.
static Core::Message * messageFromHandle(dfx_message_handle_t handle)
Recovers a native C++ Message pointer from an opaque C handle.
Definition MessageApi.hpp:16
Host-provided API for interrogating message handles.
Definition PluginInterface.h:385