@@ -1048,6 +1048,54 @@ int cosim_execution_connect_integer_variables(
1048
1048
cosim_value_reference inputValueReference );
1049
1049
1050
1050
1051
+ /**
1052
+ * Connects one boolean output variable to one boolean input variable.
1053
+ *
1054
+ * \param [in] execution
1055
+ * The execution.
1056
+ * \param [in] outputSlaveIndex
1057
+ * The source slave.
1058
+ * \param [in] outputValueReference
1059
+ * The source variable.
1060
+ * \param [in] inputSlaveIndex
1061
+ * The destination slave.
1062
+ * \param [in] inputValueReference
1063
+ * The destination variable.
1064
+ *
1065
+ * \returns
1066
+ * 0 on success and -1 on error.
1067
+ */
1068
+ int cosim_execution_connect_boolean_variables (
1069
+ cosim_execution * execution ,
1070
+ cosim_slave_index outputSlaveIndex ,
1071
+ cosim_value_reference outputValueReference ,
1072
+ cosim_slave_index inputSlaveIndex ,
1073
+ cosim_value_reference inputValueReference );
1074
+
1075
+
1076
+ /**
1077
+ * Connects one string output variable to one string input variable.
1078
+ *
1079
+ * \param [in] execution
1080
+ * The execution.
1081
+ * \param [in] outputSlaveIndex
1082
+ * The source slave.
1083
+ * \param [in] outputValueReference
1084
+ * The source variable.
1085
+ * \param [in] inputSlaveIndex
1086
+ * The destination slave.
1087
+ * \param [in] inputValueReference
1088
+ * The destination variable.
1089
+ *
1090
+ * \returns
1091
+ * 0 on success and -1 on error.
1092
+ */
1093
+ int cosim_execution_connect_string_variables (
1094
+ cosim_execution * execution ,
1095
+ cosim_slave_index outputSlaveIndex ,
1096
+ cosim_value_reference outputValueReference ,
1097
+ cosim_slave_index inputSlaveIndex ,
1098
+ cosim_value_reference inputValueReference );
1051
1099
/// Creates an observer which stores the last observed value for all variables.
1052
1100
cosim_observer * cosim_last_value_observer_create ();
1053
1101
0 commit comments