Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
sol-flow-metatype.h File Reference

These routines are used to manipulate the flow meta types. More...

#include "sol-flow.h"
#include "sol-str-slice.h"
#include "sol-buffer.h"
#include "sol-vector.h"
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  sol_flow_metatype
 Struct that describes a meta type. More...
 
struct  sol_flow_metatype_context
 Meta type context. More...
 
struct  sol_flow_metatype_option_description
 Struct that describes the meta type options. More...
 
struct  sol_flow_metatype_port_description
 Struct that describes the meta type ports. More...
 

Macros

#define SOL_FLOW_METATYPE(_NAME, decl...)
 Exports a meta type. More...
 
#define SOL_FLOW_METATYPE_API_VERSION   (1)
 Defines the current version of the meta type API. More...
 

Typedefs

typedef struct sol_flow_metatype sol_flow_metatype
 Struct that describes a meta type. More...
 
typedef struct
sol_flow_metatype_context 
sol_flow_metatype_context
 Meta type context. More...
 
typedef int(* sol_flow_metatype_create_type_func )(const struct sol_flow_metatype_context *ctx, struct sol_flow_node_type **type)
 A callback used to create the meta type itself. More...
 
typedef int(* sol_flow_metatype_generate_code_func )(const struct sol_flow_metatype_context *ctx, struct sol_buffer *out)
 A callback used by sol-fbp-generator to generate the meta type C code. More...
 
typedef struct
sol_flow_metatype_option_description 
sol_flow_metatype_option_description
 Struct that describes the meta type options. More...
 
typedef int(* sol_flow_metatype_options_description_func )(struct sol_vector *opts)
 A callback used create the options description of a meta type. More...
 
typedef struct
sol_flow_metatype_port_description 
sol_flow_metatype_port_description
 Struct that describes the meta type ports. More...
 
typedef int(* sol_flow_metatype_ports_description_func )(const struct sol_flow_metatype_context *ctx, struct sol_vector *in, struct sol_vector *out)
 A callback used create the port description of a meta type. More...
 

Functions

sol_flow_metatype_generate_code_func sol_flow_metatype_get_generate_code_end_func (const struct sol_str_slice name)
 Searchs for the callback that generates the end code of a given meta type. More...
 
sol_flow_metatype_generate_code_func sol_flow_metatype_get_generate_code_start_func (const struct sol_str_slice name)
 Searchs for the callback that generates the start code of a given meta type. More...
 
sol_flow_metatype_generate_code_func sol_flow_metatype_get_generate_code_type_func (const struct sol_str_slice name)
 Searchs for the callback that generates the body code of a given meta type. More...
 
sol_flow_metatype_options_description_func sol_flow_metatype_get_options_description_func (const struct sol_str_slice name)
 Searchs for callback that describes the options of a given meta type. More...
 
const char * sol_flow_metatype_get_options_symbol (const struct sol_str_slice name)
 Searchs for the metatype options symbol. More...
 
sol_flow_metatype_ports_description_func sol_flow_metatype_get_ports_description_func (const struct sol_str_slice name)
 Searchs for callback that describes the ports of a given meta type. More...
 

Detailed Description

These routines are used to manipulate the flow meta types.