Soletta™ Framework
|
Example of soletta's flow in C using high-level API. More...
#include <stdlib.h>
#include "sol-macros.h"
#include "soletta.h"
#include "sol-flow-builder.h"
#include "custom-node-types-gen.h"
Functions | |
static void | shutdown (void) |
SOL_MAIN_DEFAULT (startup, shutdown) | |
static void | startup (void) |
Variables | |
static struct sol_flow_node * | flow |
static struct sol_flow_node_type * | flow_node_type |
Example of soletta's flow in C using high-level API.
It will manipulate the nodes and connections using easy to use and human readable strings.
There is a runtime penalty as this requires node type descriptions to be available, consuming disk and memory space, thus it is not recommended for very constrained systems.
See lowlevel.c on how to use the lowlevel API that does not rely on node type descriptions.
|
static |
References flow, sol_flow_node_del(), and sol_flow_node_type_del().
|
static |
|
static |
Referenced by shutdown(), and startup().
|
static |