16#ifndef BIFROSTGRAPH_EXECUTOR_TYPE_TRANSLATION_H
17#define BIFROSTGRAPH_EXECUTOR_TYPE_TRANSLATION_H
19#include <BifrostGraph/Executor/internal/ExecutorExport.h>
70 class BIFROSTGRAPH_EXECUTOR_SHARED_DECL
PortData {
150 static const
char* createFuncName() noexcept;
153 virtual
void deleteThis() noexcept = 0;
184 virtual
void getSupportedTypeNames(
StringArray& names) const noexcept;
193 virtual
bool convertValueFromHost(const
Amino::Type& type,
195 const
ValueData* valueData) const noexcept;
203 virtual
bool convertValueToHost(const
Amino::Any& any,
ValueData* valueData) const noexcept;
215 virtual
bool portAdded(const
String& name,
217 const
Amino::Type& type,
218 const
Amino::Metadata& metadata,
228 virtual
bool portRemoved(const
String& name, const
String& graphName) const noexcept;
237 virtual
bool portRenamed(const
String& prevName,
239 const
String& graphName) const noexcept;
246 virtual
bool registerHostPlugins(const
PluginHostData* pluginData) const noexcept;
253 virtual
bool unregisterHostPlugins(const
PluginHostData* pluginData) const noexcept;
A resizable container of contiguous elements.
PortClass
The port class. This is to indicate if a port is a regular input or output port, a terminal output or...
PortDirection
The direction of a port.
EntityIndexedList< const Type > TypeConstIndexedList
Define a Amino array of elements of type T.
The string class used by Amino.
A Library of types and node definitions that can be used by Bifrost.
BifrostGraph Executor TypeTranslation.
TypeTranslation *(*)() CreateFunc
The signature of the function used to create the TypeTranslation.
The host data for translating values from/to host/Amino.
The host data for creating host ports.
The host data for registering TypeTranslation to host plugin.
PluginHostData() noexcept
BifrostGraph Executor common types.