diff --git a/helics/capi.py b/helics/capi.py index 4e936142..14d5fe50 100644 --- a/helics/capi.py +++ b/helics/capi.py @@ -278,6 +278,7 @@ class HelicsFederateFlag(IntEnum): - **SINGLE_THREAD_FEDERATE** - **MULTI_THREAD_CORE** - **SINGLE_THREAD_CORE** + - **REENTRANT** - **IGNORE_TIME_MISMATCH_WARNINGS** - **STRICT_CONFIG_CHECKING** - **USE_JSON_SERIALIZATION** @@ -315,6 +316,8 @@ class HelicsFederateFlag(IntEnum): MULTI_THREAD_CORE = 28 # flag indicating use of a single threaded core SINGLE_THREAD_CORE = 29 + # flag used to specify that a federate connection can be reentrant + REENTRANT = 38 # used to not display warnings on mismatched requested times IGNORE_TIME_MISMATCH_WARNINGS = 67 # specify that checking on configuration files should be strict and throw and error on any invalid values @@ -345,6 +348,7 @@ class HelicsFederateFlag(IntEnum): HELICS_FLAG_SINGLE_THREAD_FEDERATE = HelicsFederateFlag.SINGLE_THREAD_FEDERATE HELICS_FLAG_MULTI_THREAD_CORE = HelicsFederateFlag.MULTI_THREAD_CORE HELICS_FLAG_SINGLE_THREAD_CORE = HelicsFederateFlag.SINGLE_THREAD_CORE +HELICS_FLAG_REENTRANT = HelicsFederateFlag.REENTRANT HELICS_FLAG_IGNORE_TIME_MISMATCH_WARNINGS = HelicsFederateFlag.IGNORE_TIME_MISMATCH_WARNINGS HELICS_FLAG_STRICT_CONFIG_CHECKING = HelicsFederateFlag.STRICT_CONFIG_CHECKING HELICS_FLAG_USE_JSON_SERIALIZATION = HelicsFederateFlag.USE_JSON_SERIALIZATION @@ -367,6 +371,7 @@ class HelicsFederateFlag(IntEnum): helics_flag_single_thread_federate = HelicsFederateFlag.SINGLE_THREAD_FEDERATE helics_flag_multi_thread_core = HelicsFederateFlag.MULTI_THREAD_CORE helics_flag_single_thread_core = HelicsFederateFlag.SINGLE_THREAD_CORE +helics_flag_reentrant = HelicsFederateFlag.REENTRANT helics_flag_ignore_time_mismatch_warnings = HelicsFederateFlag.IGNORE_TIME_MISMATCH_WARNINGS helics_flag_strict_config_checking = HelicsFederateFlag.STRICT_CONFIG_CHECKING helics_flag_use_json_serialization = HelicsFederateFlag.USE_JSON_SERIALIZATION @@ -690,6 +695,7 @@ class HelicsHandleOption(IntEnum): - **SINGLE_CONNECTION_ONLY** - **MULTIPLE_CONNECTIONS_ALLOWED** - **BUFFER_DATA** + - **RECONNECTABLE** - **STRICT_TYPE_CHECKING** - **RECEIVE_ONLY** - **SOURCE_ONLY** @@ -708,6 +714,7 @@ class HelicsHandleOption(IntEnum): SINGLE_CONNECTION_ONLY = 407 # HelicsHandleOptions MULTIPLE_CONNECTIONS_ALLOWED = 409 # HelicsHandleOptions BUFFER_DATA = 411 # HelicsHandleOptions + RECONNECTABLE = 412 # HelicsHandleOptions STRICT_TYPE_CHECKING = 414 # HelicsHandleOptions RECEIVE_ONLY = 422 # HelicsHandleOptions SOURCE_ONLY = 423 # HelicsHandleOptions @@ -726,6 +733,7 @@ class HelicsHandleOption(IntEnum): HELICS_HANDLE_OPTION_SINGLE_CONNECTION_ONLY = HelicsHandleOption.SINGLE_CONNECTION_ONLY HELICS_HANDLE_OPTION_MULTIPLE_CONNECTIONS_ALLOWED = HelicsHandleOption.MULTIPLE_CONNECTIONS_ALLOWED HELICS_HANDLE_OPTION_BUFFER_DATA = HelicsHandleOption.BUFFER_DATA +HELICS_HANDLE_OPTION_RECONNECTABLE = HelicsHandleOption.RECONNECTABLE HELICS_HANDLE_OPTION_STRICT_TYPE_CHECKING = HelicsHandleOption.STRICT_TYPE_CHECKING HELICS_HANDLE_OPTION_RECEIVE_ONLY = HelicsHandleOption.RECEIVE_ONLY HELICS_HANDLE_OPTION_SOURCE_ONLY = HelicsHandleOption.SOURCE_ONLY @@ -743,6 +751,7 @@ class HelicsHandleOption(IntEnum): helics_handle_option_single_connection_only = HelicsHandleOption.SINGLE_CONNECTION_ONLY helics_handle_option_multiple_connections_allowed = HelicsHandleOption.MULTIPLE_CONNECTIONS_ALLOWED helics_handle_option_buffer_data = HelicsHandleOption.BUFFER_DATA +helics_handle_option_reconnectable = HelicsHandleOption.RECONNECTABLE helics_handle_option_strict_type_checking = HelicsHandleOption.STRICT_TYPE_CHECKING helics_handle_option_receive_only = HelicsHandleOption.RECEIVE_ONLY helics_handle_option_source_only = HelicsHandleOption.SOURCE_ONLY