as2fm.scxml_converter.scxml_entries.utils

Collection of various utilities for SCXML entries.

Functions

all_non_empty_strings(*in_args)

Check if all the arguments are non-empty strings.

convert_string_to_type(value, data_type)

Convert a value to the provided data type.

get_array_max_size(data_type)

Get the maximum size of an array, if the data type is an array.

get_data_type_from_string(data_type)

Convert a data type string description to the matching python type.

get_plain_expression(in_expr, cb_type)

Convert a ROS interface expressions (using ROS-specific PREFIXES) to plain SCXML.

is_non_empty_string(scxml_type, arg_name, ...)

Check if a string is non-empty.

to_integer(scxml_type, arg_name, arg_value)

Try to convert a string to an integer.

Classes

CallbackType(value)

Enumeration of the different types of callbacks containing a body.