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 Fields
sol_flow_metatype Struct Reference

Struct that describes a meta type. More...

#include <sol-flow-metatype.h>

Data Fields

uint16_t api_version
 The API version. More...
 
sol_flow_metatype_create_type_func create_type
 A callback used the create the meta type. More...
 
sol_flow_metatype_generate_code_func generate_type_body
 A callback used to generate the meta type code. More...
 
sol_flow_metatype_generate_code_func generate_type_end
 A callback used to generate the meta type end code. More...
 
sol_flow_metatype_generate_code_func generate_type_start
 A callback used to generate the meta type start code. More...
 
const char * name
 The name of the meta type. More...
 
sol_flow_metatype_options_description_func options_description
 A callback used to fetch the meta type options description. More...
 
const char * options_symbol
 The options symbol. More...
 
sol_flow_metatype_ports_description_func ports_description
 A callback used to fetch the meta type port description. More...
 

Detailed Description

Struct that describes a meta type.

This structs is used to declare a meta type, it contains the create type, code generation, port description functions and the name of the meta type.

See Also
sol_flow_metatype_get_ports_description_func()
sol_flow_metatype_get_generate_code_end_func()
sol_flow_metatype_get_generate_code_type_func()
sol_flow_metatype_get_generate_code_start_func()
sol_flow_metatype_create_type_func()
sol_flow_metatype_ports_description_func()
sol_flow_metatype_generate_code_func()

Field Documentation

uint16_t sol_flow_metatype::api_version

The API version.

It is autocamically set by SOL_FLOW_METATYPE macro.

sol_flow_metatype_create_type_func sol_flow_metatype::create_type

A callback used the create the meta type.

sol_flow_metatype_generate_code_func sol_flow_metatype::generate_type_body

A callback used to generate the meta type code.

sol_flow_metatype_generate_code_func sol_flow_metatype::generate_type_end

A callback used to generate the meta type end code.

sol_flow_metatype_generate_code_func sol_flow_metatype::generate_type_start

A callback used to generate the meta type start code.

const char* sol_flow_metatype::name

The name of the meta type.

sol_flow_metatype_options_description_func sol_flow_metatype::options_description

A callback used to fetch the meta type options description.

const char* sol_flow_metatype::options_symbol

The options symbol.

sol_flow_metatype_ports_description_func sol_flow_metatype::ports_description

A callback used to fetch the meta type port description.


The documentation for this struct was generated from the following file: