Share

Bifrost Operator SDK

The Bifrost Operator SDK enables the creation of new Bifrost operator definitions.

Operators are implemented as C++ functions that are annotated using the AMINO_ANNOTATE macro. This annotation is parsed by the cpp2json tool, generating a node definition that will be used to instantiate the operator's node.

Inputs and outputs are passed through the function parameters. These function parameters are instantiated into ports on the nodes in the Bifrost graph. With some exceptions, the type of port that will be instantiated from a function parameter is generally determined by its type and its position in the parameter list.

Operators can be developed for Windows, macOS, and Linux. The Bifrost SDK is platform agnostic. However, operators must be compiled into libraries specific to the operating system on which they will be used.

Was this information helpful?