plcopen 0.22.0
载入中...
搜索中...
未找到
st_binding_types.h
浏览该文件的文档.
1#pragma once
2
3// Generated by tools/generate_st_binding_types.py; do not edit.
4// Source: doc/compliance/st-binding-types.yml
5
6#include <array>
7#include <cstdint>
8#include <limits>
9#include <string_view>
10
11namespace plcopen::core::st
12{
13
14namespace binding_type
15{
16inline constexpr TypeId mc_buffer_mode = 65536U;
17inline constexpr TypeId mc_direction = 65537U;
18inline constexpr TypeId mc_home_direction = 65538U;
19inline constexpr TypeId mc_switch_mode = 65539U;
20inline constexpr TypeId axis_ref = 65540U;
21inline constexpr TypeId group_ref = 65541U;
22inline constexpr TypeId mc_ident_in_group = 65542U;
23inline constexpr TypeId mc_axis_parameter = 65543U;
24inline constexpr TypeId mc_circ_mode = 65544U;
25inline constexpr TypeId mc_circ_path_choice = 65545U;
26inline constexpr TypeId mc_combine_mode = 65546U;
27inline constexpr TypeId mc_coord_system = 65547U;
28inline constexpr TypeId mc_execution_mode = 65548U;
29inline constexpr TypeId mc_group_value_source = 65549U;
30inline constexpr TypeId mc_master_value_source = 65550U;
31inline constexpr TypeId mc_path_mode = 65551U;
32inline constexpr TypeId mc_transition_mode = 65552U;
33inline constexpr TypeId mc_path_table = 65553U;
34inline constexpr TypeId mc_input_ref = 65554U;
35inline constexpr TypeId mc_output_ref = 65555U;
36inline constexpr TypeId mc_reference_signal_ref = 65556U;
37inline constexpr TypeId mc_tool_data = 65558U;
38inline constexpr TypeId mc_group_position = 65560U;
39inline constexpr TypeId mc_payload_data = 65561U;
40inline constexpr TypeId mc_jog_boolean_array = 65563U;
41inline constexpr TypeId mc_group_s_w_limits = 65566U;
42inline constexpr TypeId mc_rigid_body_dynamic = 65568U;
43inline constexpr TypeId mc_tu_c_numerator = 65569U;
44inline constexpr TypeId mc_tu_c_denominator = 65570U;
45inline constexpr TypeId mc_cam_switch_table_view = 65571U;
46inline constexpr TypeId mc_cam_table_view = 65572U;
47inline constexpr TypeId mc_time_position = 65573U;
48inline constexpr TypeId mc_time_velocity = 65574U;
49inline constexpr TypeId mc_time_acceleration = 65575U;
50inline constexpr TypeId mc_dh_parameter_array = 65578U;
51inline constexpr TypeId mc_joint_info_array = 65581U;
52inline constexpr TypeId mc_axis_velocity_array = 65582U;
53inline constexpr TypeId mc_axis_acceleration_array = 65583U;
54inline constexpr TypeId mc_axis_deceleration_array = 65584U;
55inline constexpr TypeId mc_axis_jerk_array = 65585U;
56inline constexpr TypeId mc_orientation_mode = 65586U;
57inline constexpr TypeId mc_kin_transform_ref = 65587U;
58inline constexpr TypeId mc_path_description = 65588U;
59inline constexpr TypeId mc_sync_mode = 65589U;
60inline constexpr TypeId mc_cam_start_mode = 65590U;
61inline constexpr TypeId mc_cam_axis_direction = 65591U;
62inline constexpr TypeId mc_cam_switch_mode = 65592U;
63inline constexpr TypeId mc_cam_switch_outputs_view = 65593U;
64inline constexpr TypeId mc_cam_track_options_view = 65594U;
65inline constexpr std::size_t public_count = 49U;
66inline constexpr std::size_t count = 59U;
67} // namespace binding_type
68
69namespace generated
70{
71
72enum class StBindingTypeKind : std::uint8_t
74
78
79enum class StBindingTimeRounding : std::uint8_t { none, ceil };
80
82{ TypeId type; std::string_view name; std::int64_t iec_value; std::int64_t native_value; };
84{
85 TypeId owner; std::string_view name; std::string_view st_type;
86 std::string_view native_member; std::uint32_t offset; std::uint32_t size;
87 std::uint32_t alignment; bool element_field;
88};
90{
92 std::uint32_t size; std::uint32_t alignment; std::uint32_t capacity;
93 std::uint32_t min_count; std::uint32_t max_count; std::uint32_t element_size;
94 std::uint32_t element_alignment; std::uint16_t first_enum; std::uint16_t enum_count;
95 std::uint16_t first_field; bool requires_task_period;
97};
98
99inline constexpr std::array<StBindingEnumMapping, 76> kStBindingEnumMappings = {{
100 {65536U, "aborting", 0, 0},
101 {65536U, "buffered", 1, 1},
102 {65536U, "blending_low", 2, 2},
103 {65536U, "blending_high", 5, 3},
104 {65537U, "current", 0, 0},
105 {65537U, "positive", 1, 1},
106 {65537U, "negative", -1, 2},
107 {65537U, "shortest_way", 2, 3},
108 {65538U, "positive", 0, 0},
109 {65538U, "negative", 1, 1},
110 {65538U, "switch_positive", 2, 2},
111 {65538U, "switch_negative", 3, 3},
112 {65539U, "on", 0, 0},
113 {65539U, "off", 1, 1},
114 {65539U, "rising_edge", 2, 2},
115 {65539U, "falling_edge", 3, 3},
116 {65539U, "edge_positive", 4, 4},
117 {65539U, "edge_negative", 5, 5},
118 {65543U, "commanded_position", 0, 0},
119 {65543U, "sw_limit_pos", 1, 1},
120 {65543U, "sw_limit_neg", 2, 2},
121 {65543U, "enable_limit_pos", 3, 3},
122 {65543U, "enable_limit_neg", 4, 4},
123 {65543U, "enable_pos_lag_monitoring", 5, 5},
124 {65543U, "max_position_lag", 6, 6},
125 {65543U, "max_velocity_system", 7, 7},
126 {65543U, "max_velocity_appl", 8, 8},
127 {65543U, "actual_velocity", 9, 9},
128 {65543U, "commanded_velocity", 10, 10},
129 {65543U, "max_acceleration_system", 11, 11},
130 {65543U, "max_acceleration_appl", 12, 12},
131 {65543U, "max_deceleration_system", 13, 13},
132 {65543U, "max_deceleration_appl", 14, 14},
133 {65543U, "max_jerk_system", 15, 15},
134 {65543U, "max_jerk_appl", 16, 16},
135 {65544U, "border", 0, 0},
136 {65544U, "center", 1, 1},
137 {65544U, "radius", 2, 2},
138 {65545U, "clockwise", 0, 0},
139 {65545U, "counter_clockwise", 1, 1},
140 {65546U, "add_axes", 0, 0},
141 {65546U, "sub_axes", 1, 1},
142 {65547U, "acs", 0, 0},
143 {65547U, "mcs", 1, 1},
144 {65547U, "wcs", 2, 2},
145 {65547U, "pcs", 3, 3},
146 {65547U, "fcs", 4, 4},
147 {65547U, "tcs", 5, 5},
148 {65548U, "immediately", 0, 0},
149 {65548U, "queued", 1, 1},
150 {65549U, "commanded", 0, 0},
151 {65549U, "actual", 1, 1},
152 {65549U, "set", 2, 2},
153 {65550U, "command", 0, 0},
154 {65550U, "actual", 1, 1},
155 {65551U, "non_periodic", 0, 0},
156 {65551U, "periodic", 1, 1},
157 {65552U, "none", 0, 0},
158 {65552U, "start_velocity", 1, 1},
159 {65552U, "constant_velocity", 2, 2},
160 {65552U, "corner_distance", 3, 3},
161 {65552U, "max_corner_deviation", 4, 4},
162 {65586U, "joint_space", 0, 0},
163 {65586U, "shortest_path", 1, 1},
164 {65586U, "constant", 2, 2},
165 {65589U, "shortest", 0, 0},
166 {65589U, "catch_up", 1, 1},
167 {65589U, "slow_down", 2, 2},
168 {65590U, "absolute", 0, 0},
169 {65590U, "relative", 1, 1},
170 {65590U, "ramp_in", 2, 2},
171 {65591U, "both", 0, 0},
172 {65591U, "positive", 1, 1},
173 {65591U, "negative", 2, 2},
174 {65592U, "position", 0, 0},
175 {65592U, "time", 1, 1},
176}};
177
178inline constexpr std::array<StBindingFieldMetadata, 54> kStBindingFields = {{
179 {65542U, "index", "ULINT", "index", 0U, 8U, 8U, false},
180 {65556U, "input", "ULINT", "input", 0U, 8U, 8U, false},
181 {65558U, "value", "ARRAY[0..5] OF LREAL", "value", 0U, 48U, 8U, false},
182 {65560U, "value", "ARRAY[0..7] OF LREAL", "value", 0U, 64U, 8U, false},
183 {65560U, "size", "ULINT", "size", 64U, 8U, 8U, false},
184 {65561U, "center", "MC_TOOL_DATA", "center", 0U, 48U, 8U, false},
185 {65561U, "mass", "LREAL", "mass", 48U, 8U, 8U, false},
186 {65561U, "ix", "LREAL", "ix", 56U, 8U, 8U, false},
187 {65561U, "iy", "LREAL", "iy", 64U, 8U, 8U, false},
188 {65561U, "iz", "LREAL", "iz", 72U, 8U, 8U, false},
189 {65563U, "count", "ULINT", "count", 8U, 8U, 8U, false},
190 {65566U, "minimum", "LREAL", "minimum", 0U, 8U, 8U, true},
191 {65566U, "maximum", "LREAL", "maximum", 8U, 8U, 8U, true},
192 {65566U, "minimum_enabled", "BOOL", "minimum_enabled", 16U, 1U, 1U, true},
193 {65566U, "maximum_enabled", "BOOL", "maximum_enabled", 17U, 1U, 1U, true},
194 {65566U, "count", "ULINT", "count", 192U, 8U, 8U, false},
195 {65568U, "center_of_gravity", "MC_TOOL_DATA", "center_of_gravity", 0U, 48U, 8U, true},
196 {65568U, "mass", "LREAL", "mass", 48U, 8U, 8U, true},
197 {65568U, "ix", "LREAL", "ix", 56U, 8U, 8U, true},
198 {65568U, "iy", "LREAL", "iy", 64U, 8U, 8U, true},
199 {65568U, "iz", "LREAL", "iz", 72U, 8U, 8U, true},
200 {65571U, "track_number", "ULINT", "track_number", 0U, 8U, 8U, true},
201 {65571U, "on_position", "LREAL", "on_position", 8U, 8U, 8U, true},
202 {65571U, "off_position", "LREAL", "off_position", 16U, 8U, 8U, true},
203 {65571U, "period", "LREAL", "period", 24U, 8U, 8U, true},
204 {65571U, "axis_direction", "MC_CAM_AXIS_DIRECTION", "axis_direction", 32U, 4U, 4U, true},
205 {65571U, "cam_switch_mode", "MC_CAM_SWITCH_MODE", "cam_switch_mode", 36U, 4U, 4U, true},
206 {65571U, "duration_ns", "TIME", "duration_ns", 40U, 8U, 8U, true},
207 {65572U, "master", "LREAL", "master", 0U, 8U, 8U, true},
208 {65572U, "slave", "LREAL", "slave", 8U, 8U, 8U, true},
209 {65573U, "time", "TIME", "duration_cycles", 0U, 8U, 8U, true},
210 {65573U, "position", "LREAL", "target", 8U, 8U, 8U, true},
211 {65573U, "velocity", "LREAL", "velocity", 16U, 8U, 8U, true},
212 {65573U, "acceleration", "LREAL", "acceleration", 24U, 8U, 8U, true},
213 {65573U, "deceleration", "LREAL", "deceleration", 32U, 8U, 8U, true},
214 {65573U, "jerk", "LREAL", "jerk", 40U, 8U, 8U, true},
215 {65573U, "relative", "BOOL", "relative", 48U, 1U, 1U, true},
216 {65574U, "time", "TIME", "duration_cycles", 0U, 8U, 8U, true},
217 {65574U, "velocity", "LREAL", "target", 8U, 8U, 8U, true},
218 {65574U, "acceleration", "LREAL", "acceleration", 16U, 8U, 8U, true},
219 {65574U, "deceleration", "LREAL", "deceleration", 24U, 8U, 8U, true},
220 {65574U, "jerk", "LREAL", "jerk", 32U, 8U, 8U, true},
221 {65575U, "time", "TIME", "duration_cycles", 0U, 8U, 8U, true},
222 {65575U, "acceleration", "LREAL", "target", 8U, 8U, 8U, true},
223 {65578U, "theta", "LREAL", "theta", 0U, 8U, 8U, true},
224 {65578U, "d", "LREAL", "d", 8U, 8U, 8U, true},
225 {65578U, "a", "LREAL", "a", 16U, 8U, 8U, true},
226 {65578U, "alpha", "LREAL", "alpha", 24U, 8U, 8U, true},
227 {65578U, "count", "ULINT", "count", 256U, 8U, 8U, false},
228 {65581U, "zero_position", "LREAL", "zero_position", 0U, 8U, 8U, true},
229 {65581U, "direction_clockwise", "BOOL", "direction_clockwise", 8U, 1U, 1U, true},
230 {65581U, "count", "ULINT", "count", 128U, 8U, 8U, false},
231 {65594U, "on_compensation_ns", "TIME", "on_compensation_ns", 0U, 8U, 8U, true},
232 {65594U, "off_compensation_ns", "TIME", "off_compensation_ns", 8U, 8U, 8U, true},
233}};
234
235inline constexpr std::array<StBindingTypeMetadata, 49> kStBindingTypes = {{
236 {65536U, "MC_BUFFER_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 0U, 4U, 0U, false, StBindingTimeRounding::none, 0U},
237 {65537U, "MC_DIRECTION", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 4U, 4U, 0U, false, StBindingTimeRounding::none, 0U},
238 {65538U, "MC_HOME_DIRECTION", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 8U, 4U, 0U, false, StBindingTimeRounding::none, 0U},
239 {65539U, "MC_SWITCH_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 12U, 6U, 0U, false, StBindingTimeRounding::none, 0U},
240 {65540U, "AXIS_REF", StBindingTypeKind::host_ref, StBindingCodecKind::binding_ref, 8U, 8U, 0U, 0U, 0U, 0U, 0U, 18U, 0U, 0U, false, StBindingTimeRounding::none, 0U},
241 {65541U, "GROUP_REF", StBindingTypeKind::host_ref, StBindingCodecKind::binding_ref, 8U, 8U, 0U, 0U, 0U, 0U, 0U, 18U, 0U, 0U, false, StBindingTimeRounding::none, 0U},
242 {65542U, "MC_IDENT_IN_GROUP", StBindingTypeKind::struct_, StBindingCodecKind::fields, 8U, 8U, 0U, 0U, 0U, 0U, 0U, 18U, 0U, 0U, false, StBindingTimeRounding::none, 1U},
243 {65543U, "MC_AXIS_PARAMETER", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 18U, 17U, 1U, false, StBindingTimeRounding::none, 0U},
244 {65544U, "MC_CIRC_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 35U, 3U, 1U, false, StBindingTimeRounding::none, 0U},
245 {65545U, "MC_CIRC_PATH_CHOICE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 38U, 2U, 1U, false, StBindingTimeRounding::none, 0U},
246 {65546U, "MC_COMBINE_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 40U, 2U, 1U, false, StBindingTimeRounding::none, 0U},
247 {65547U, "MC_COORD_SYSTEM", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 42U, 6U, 1U, false, StBindingTimeRounding::none, 0U},
248 {65548U, "MC_EXECUTION_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 48U, 2U, 1U, false, StBindingTimeRounding::none, 0U},
249 {65549U, "MC_GROUP_VALUE_SOURCE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 50U, 3U, 1U, false, StBindingTimeRounding::none, 0U},
250 {65550U, "MC_MASTER_VALUE_SOURCE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 53U, 2U, 1U, false, StBindingTimeRounding::none, 0U},
251 {65551U, "MC_PATH_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 55U, 2U, 1U, false, StBindingTimeRounding::none, 0U},
252 {65552U, "MC_TRANSITION_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 57U, 5U, 1U, false, StBindingTimeRounding::none, 0U},
253 {65553U, "MC_PATH_TABLE", StBindingTypeKind::host_ref, StBindingCodecKind::binding_ref, 8U, 8U, 32U, 0U, 0U, 0U, 0U, 62U, 0U, 1U, false, StBindingTimeRounding::none, 0U},
254 {65554U, "MC_INPUT_REF", StBindingTypeKind::ref, StBindingCodecKind::ref_alias, 8U, 8U, 0U, 0U, 0U, 0U, 0U, 62U, 0U, 1U, false, StBindingTimeRounding::none, 0U},
255 {65555U, "MC_OUTPUT_REF", StBindingTypeKind::ref, StBindingCodecKind::ref_alias, 8U, 8U, 0U, 0U, 0U, 0U, 0U, 62U, 0U, 1U, false, StBindingTimeRounding::none, 0U},
256 {65556U, "MC_REFERENCE_SIGNAL_REF", StBindingTypeKind::struct_, StBindingCodecKind::fields, 8U, 8U, 0U, 0U, 0U, 0U, 0U, 62U, 0U, 1U, false, StBindingTimeRounding::none, 1U},
257 {65558U, "MC_TOOL_DATA", StBindingTypeKind::struct_, StBindingCodecKind::fields, 48U, 8U, 0U, 0U, 0U, 0U, 0U, 62U, 0U, 2U, false, StBindingTimeRounding::none, 1U},
258 {65560U, "MC_GROUP_POSITION", StBindingTypeKind::struct_, StBindingCodecKind::fields, 72U, 8U, 0U, 0U, 0U, 0U, 0U, 62U, 0U, 3U, false, StBindingTimeRounding::none, 2U},
259 {65561U, "MC_PAYLOAD_DATA", StBindingTypeKind::struct_, StBindingCodecKind::fields, 80U, 8U, 0U, 0U, 0U, 0U, 0U, 62U, 0U, 5U, false, StBindingTimeRounding::none, 5U},
260 {65563U, "MC_JOG_BOOLEAN_ARRAY", StBindingTypeKind::fixed_array, StBindingCodecKind::counted_array, 16U, 8U, 8U, 0U, 0U, 1U, 1U, 62U, 0U, 10U, false, StBindingTimeRounding::none, 1U},
261 {65566U, "MC_GROUP_S_W_LIMITS", StBindingTypeKind::fixed_array, StBindingCodecKind::counted_array, 200U, 8U, 8U, 0U, 0U, 24U, 8U, 62U, 0U, 11U, false, StBindingTimeRounding::none, 5U},
262 {65568U, "MC_RIGID_BODY_DYNAMIC", StBindingTypeKind::fixed_array, StBindingCodecKind::fixed_array, 720U, 8U, 9U, 0U, 0U, 80U, 8U, 62U, 0U, 16U, false, StBindingTimeRounding::none, 5U},
263 {65569U, "MC_TU_C_NUMERATOR", StBindingTypeKind::fixed_array, StBindingCodecKind::fixed_array, 32U, 4U, 8U, 0U, 0U, 4U, 4U, 62U, 0U, 21U, false, StBindingTimeRounding::none, 0U},
264 {65570U, "MC_TU_C_DENOMINATOR", StBindingTypeKind::fixed_array, StBindingCodecKind::fixed_array, 32U, 4U, 8U, 0U, 0U, 4U, 4U, 62U, 0U, 21U, false, StBindingTimeRounding::none, 0U},
265 {65571U, "MC_CAM_SWITCH_TABLE_VIEW", StBindingTypeKind::span, StBindingCodecKind::span_registry, 8U, 8U, 0U, 1U, 8U, 48U, 8U, 62U, 0U, 21U, false, StBindingTimeRounding::none, 7U},
266 {65572U, "MC_CAM_TABLE_VIEW", StBindingTypeKind::span, StBindingCodecKind::span_registry, 8U, 8U, 0U, 2U, 64U, 16U, 8U, 62U, 0U, 28U, false, StBindingTimeRounding::none, 2U},
267 {65573U, "MC_TIME_POSITION", StBindingTypeKind::span, StBindingCodecKind::profile_sequence, 8U, 8U, 0U, 1U, 8U, 56U, 8U, 62U, 0U, 30U, true, StBindingTimeRounding::ceil, 7U},
268 {65574U, "MC_TIME_VELOCITY", StBindingTypeKind::span, StBindingCodecKind::profile_sequence, 8U, 8U, 0U, 1U, 8U, 40U, 8U, 62U, 0U, 37U, true, StBindingTimeRounding::ceil, 5U},
269 {65575U, "MC_TIME_ACCELERATION", StBindingTypeKind::span, StBindingCodecKind::profile_sequence, 8U, 8U, 0U, 1U, 8U, 16U, 8U, 62U, 0U, 42U, true, StBindingTimeRounding::ceil, 2U},
270 {65578U, "MC_DH_PARAMETER_ARRAY", StBindingTypeKind::fixed_array, StBindingCodecKind::counted_array, 264U, 8U, 8U, 0U, 0U, 32U, 8U, 62U, 0U, 44U, false, StBindingTimeRounding::none, 5U},
271 {65581U, "MC_JOINT_INFO_ARRAY", StBindingTypeKind::fixed_array, StBindingCodecKind::counted_array, 136U, 8U, 8U, 0U, 0U, 16U, 8U, 62U, 0U, 49U, false, StBindingTimeRounding::none, 3U},
272 {65582U, "MC_AXIS_VELOCITY_ARRAY", StBindingTypeKind::fixed_array, StBindingCodecKind::fixed_array, 64U, 8U, 8U, 0U, 0U, 8U, 8U, 62U, 0U, 52U, false, StBindingTimeRounding::none, 0U},
273 {65583U, "MC_AXIS_ACCELERATION_ARRAY", StBindingTypeKind::fixed_array, StBindingCodecKind::fixed_array, 64U, 8U, 8U, 0U, 0U, 8U, 8U, 62U, 0U, 52U, false, StBindingTimeRounding::none, 0U},
274 {65584U, "MC_AXIS_DECELERATION_ARRAY", StBindingTypeKind::fixed_array, StBindingCodecKind::fixed_array, 64U, 8U, 8U, 0U, 0U, 8U, 8U, 62U, 0U, 52U, false, StBindingTimeRounding::none, 0U},
275 {65585U, "MC_AXIS_JERK_ARRAY", StBindingTypeKind::fixed_array, StBindingCodecKind::fixed_array, 64U, 8U, 8U, 0U, 0U, 8U, 8U, 62U, 0U, 52U, false, StBindingTimeRounding::none, 0U},
276 {65586U, "MC_ORIENTATION_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 62U, 3U, 52U, false, StBindingTimeRounding::none, 0U},
277 {65587U, "MC_KIN_TRANSFORM_REF", StBindingTypeKind::host_ref, StBindingCodecKind::tagged_reference, 8U, 8U, 0U, 0U, 0U, 0U, 0U, 65U, 0U, 52U, false, StBindingTimeRounding::none, 0U},
278 {65588U, "MC_PATH_DESCRIPTION", StBindingTypeKind::host_ref, StBindingCodecKind::binding_ref, 8U, 8U, 32U, 0U, 0U, 0U, 0U, 65U, 0U, 52U, false, StBindingTimeRounding::none, 0U},
279 {65589U, "MC_SYNC_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 65U, 3U, 52U, false, StBindingTimeRounding::none, 0U},
280 {65590U, "MC_CAM_START_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 68U, 3U, 52U, false, StBindingTimeRounding::none, 0U},
281 {65591U, "MC_CAM_AXIS_DIRECTION", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 71U, 3U, 52U, false, StBindingTimeRounding::none, 0U},
282 {65592U, "MC_CAM_SWITCH_MODE", StBindingTypeKind::enum_, StBindingCodecKind::enum_map, 4U, 4U, 0U, 0U, 0U, 0U, 0U, 74U, 2U, 52U, false, StBindingTimeRounding::none, 0U},
283 {65593U, "MC_CAM_SWITCH_OUTPUTS_VIEW", StBindingTypeKind::span, StBindingCodecKind::span_registry, 8U, 8U, 0U, 1U, 4U, 1U, 1U, 76U, 0U, 52U, false, StBindingTimeRounding::none, 0U},
284 {65594U, "MC_CAM_TRACK_OPTIONS_VIEW", StBindingTypeKind::span, StBindingCodecKind::span_registry, 8U, 8U, 0U, 1U, 4U, 16U, 8U, 76U, 0U, 52U, false, StBindingTimeRounding::none, 2U},
285}};
286
287inline constexpr std::uint64_t st_binding_null_handle = 0U;
288constexpr bool st_binding_handle_valid(std::uint64_t handle) noexcept { return handle != 0U; }
289
291{
292 for(const auto &metadata : kStBindingTypes) if(metadata.type == type) return &metadata;
293 return nullptr;
294}
295
296constexpr bool st_binding_enum_to_native(TypeId type, std::int64_t iec,
297 std::int64_t &native) noexcept
298{
299 for(const auto &mapping : kStBindingEnumMappings)
300 if(mapping.type == type && mapping.iec_value == iec) { native = mapping.native_value; return true; }
301 return false;
302}
303
304constexpr bool st_binding_enum_from_native(TypeId type, std::int64_t native,
305 std::int64_t &iec) noexcept
306{
307 for(const auto &mapping : kStBindingEnumMappings)
308 if(mapping.type == type && mapping.native_value == native) { iec = mapping.iec_value; return true; }
309 return false;
310}
311
312constexpr bool st_binding_time_ns_to_cycles(std::int64_t time_ns,
313 std::int64_t task_period_ns,
314 std::int64_t &cycles) noexcept
315{
316 if(time_ns < 0 || task_period_ns <= 0) return false;
317 const std::int64_t quotient = time_ns / task_period_ns;
318 const std::int64_t remainder = time_ns % task_period_ns;
319 if(remainder != 0 && quotient == std::numeric_limits<std::int64_t>::max()) return false;
320 cycles = quotient + (remainder != 0 ? 1 : 0);
321 return true;
322}
323
324struct StBindingInstalledShape { TypeId type; std::uint64_t hash; };
325inline constexpr std::array<StBindingInstalledShape, 59> kStBindingInstalledShapes = {{
326 {65536U, 0x1142b490a821fa94ULL},
327 {65537U, 0xb49faad50de51160ULL},
328 {65538U, 0x900b4649ed3f14b4ULL},
329 {65539U, 0x8e195efed095c8ebULL},
330 {65540U, 0x319d048b43023b7eULL},
331 {65541U, 0xd43be5e5596f627aULL},
332 {65542U, 0x757b611617c5a68cULL},
333 {65543U, 0x49c6734c200faf8cULL},
334 {65544U, 0x24091e09f42f8ce5ULL},
335 {65545U, 0xc06b6a5e7883bf3eULL},
336 {65546U, 0xe9e5df58adb0ae06ULL},
337 {65547U, 0xdeb2432b3dee3a8eULL},
338 {65548U, 0x03920bb755d0b855ULL},
339 {65549U, 0x8a8451d0299523a4ULL},
340 {65550U, 0x62cc32c8f1c864e3ULL},
341 {65551U, 0xc5eef66027b83e31ULL},
342 {65552U, 0xda3a4b3514ec2052ULL},
343 {65553U, 0x28fb60702d6aa78aULL},
344 {65554U, 0x4f20329d8a74aa49ULL},
345 {65555U, 0x1dd4a9b7a8207fbeULL},
346 {65556U, 0x6382b5bf86726128ULL},
347 {65557U, 0xe5f41dc99b241f77ULL},
348 {65558U, 0xbb477644367b110bULL},
349 {65559U, 0xe9eed00a99345c1bULL},
350 {65560U, 0x85eb9a159211fe18ULL},
351 {65561U, 0x199ea69b8109902cULL},
352 {65562U, 0xdd1bcabf9f0d43d7ULL},
353 {65563U, 0xb44cea1a39d7f871ULL},
354 {65564U, 0xc2b3528d238851eaULL},
355 {65565U, 0xd1d80506445a1118ULL},
356 {65566U, 0x0632a63ba8e6c281ULL},
357 {65567U, 0x9b7caf041f5bf885ULL},
358 {65568U, 0xcaedeebe56cc4c79ULL},
359 {65569U, 0x39e89af6d8e1fce6ULL},
360 {65570U, 0x17929e0c10be785fULL},
361 {65571U, 0x05b4842feb0549b9ULL},
362 {65572U, 0x01ba423ab672922aULL},
363 {65573U, 0x5722eadeb0cd9949ULL},
364 {65574U, 0x41593e95574ea665ULL},
365 {65575U, 0x9bd5b1cbf8a18808ULL},
366 {65576U, 0x4df361c1688a11d8ULL},
367 {65577U, 0x69fd3fdcc1e996edULL},
368 {65578U, 0xe61f337a06a6d1efULL},
369 {65579U, 0x5831652776511d36ULL},
370 {65580U, 0xe9ef0d7cbf4b333eULL},
371 {65581U, 0x2403e51817d32bc5ULL},
372 {65582U, 0x10035e803bad77f3ULL},
373 {65583U, 0x73e8f0bd0faee836ULL},
374 {65584U, 0x98ba65372cdc3f0fULL},
375 {65585U, 0xd17aa4312c5838f4ULL},
376 {65586U, 0x7c4191b56837a8eaULL},
377 {65587U, 0x7734f874683c4757ULL},
378 {65588U, 0x9c7c59cd28da5658ULL},
379 {65589U, 0xe37f96b8223812dbULL},
380 {65590U, 0xdd323beaf0defba4ULL},
381 {65591U, 0x940cc6ba5e975a8bULL},
382 {65592U, 0x6b50da5c81888328ULL},
383 {65593U, 0xc5df0b6e683ea097ULL},
384 {65594U, 0xd3c90868352ffb54ULL},
385}};
386
387constexpr std::uint64_t st_binding_hash_byte(std::uint64_t state, std::uint8_t value) noexcept
388{ return (state ^ value) * 1099511628211ULL; }
389constexpr std::uint64_t st_binding_hash_u64(std::uint64_t state, std::uint64_t value) noexcept
390{ for(unsigned shift = 0; shift < 64; shift += 8) state = st_binding_hash_byte(state, static_cast<std::uint8_t>(value >> shift)); return state; }
391inline std::uint64_t st_binding_hash_text(std::uint64_t state, std::string_view value) noexcept
392{ for(char ch : value) state = st_binding_hash_byte(state, static_cast<std::uint8_t>(ch)); return st_binding_hash_byte(state, 0); }
393inline std::uint64_t st_binding_shape_hash(const TypeDesc &desc) noexcept
394{
395 std::uint64_t state = st_binding_hash_text(1469598103934665603ULL, desc.name);
396 state = st_binding_hash_u64(state, static_cast<std::uint8_t>(desc.kind));
397 state = st_binding_hash_u64(state, desc.size); state = st_binding_hash_u64(state, desc.alignment);
398 if(desc.kind == TypeKind::enum_) {
399 state = st_binding_hash_u64(state, desc.enum_base); state = st_binding_hash_u64(state, desc.enum_items.size());
400 for(const auto &item : desc.enum_items) { state = st_binding_hash_text(state, item.name); state = st_binding_hash_u64(state, static_cast<std::uint64_t>(item.value.as_signed())); }
401 } else if(desc.kind == TypeKind::array) {
402 state = st_binding_hash_u64(state, desc.array.element); state = st_binding_hash_u64(state, desc.array.dimensions.size());
403 for(const auto &dim : desc.array.dimensions) { state = st_binding_hash_u64(state, static_cast<std::uint64_t>(dim.lower)); state = st_binding_hash_u64(state, static_cast<std::uint64_t>(dim.upper)); state = st_binding_hash_u64(state, dim.extent); state = st_binding_hash_u64(state, dim.stride); }
404 } else if(desc.kind == TypeKind::struct_) {
405 state = st_binding_hash_u64(state, desc.structure.fields.size());
406 for(const auto &item : desc.structure.fields) { state = st_binding_hash_text(state, item.name); state = st_binding_hash_u64(state, item.type); state = st_binding_hash_u64(state, item.offset); }
407 } else if(desc.kind == TypeKind::ref) state = st_binding_hash_u64(state, desc.reference.target);
408 return state;
409}
410
411inline bool st_binding_installed_types_match(const TypeTable &types) noexcept
412{
413 if(types.next_type_id() != first_load_type_id + binding_type::count) return false;
414 for(const auto &shape : kStBindingInstalledShapes) { const TypeDesc *desc = types.get(shape.type); if(desc == nullptr || st_binding_shape_hash(*desc) != shape.hash) return false; }
415 return true;
416}
417
418} // namespace generated
419
421{
422 if(types.next_type_id() != first_load_type_id)
425 (void)types.add_enum("MC_BUFFER_MODE", builtin::dint, {EnumItem{"aborting", IntegerValue::signed_value(0)}, EnumItem{"buffered", IntegerValue::signed_value(1)}, EnumItem{"blending_low", IntegerValue::signed_value(2)}, EnumItem{"blending_high", IntegerValue::signed_value(5)}}, id);
426 (void)types.add_enum("MC_DIRECTION", builtin::dint, {EnumItem{"current", IntegerValue::signed_value(0)}, EnumItem{"positive", IntegerValue::signed_value(1)}, EnumItem{"negative", IntegerValue::signed_value(-1)}, EnumItem{"shortest_way", IntegerValue::signed_value(2)}}, id);
427 (void)types.add_enum("MC_HOME_DIRECTION", builtin::dint, {EnumItem{"positive", IntegerValue::signed_value(0)}, EnumItem{"negative", IntegerValue::signed_value(1)}, EnumItem{"switch_positive", IntegerValue::signed_value(2)}, EnumItem{"switch_negative", IntegerValue::signed_value(3)}}, id);
428 (void)types.add_enum("MC_SWITCH_MODE", builtin::dint, {EnumItem{"on", IntegerValue::signed_value(0)}, EnumItem{"off", IntegerValue::signed_value(1)}, EnumItem{"rising_edge", IntegerValue::signed_value(2)}, EnumItem{"falling_edge", IntegerValue::signed_value(3)}, EnumItem{"edge_positive", IntegerValue::signed_value(4)}, EnumItem{"edge_negative", IntegerValue::signed_value(5)}}, id);
429 (void)types.add_opaque_ref("AXIS_REF", id);
430 (void)types.add_opaque_ref("GROUP_REF", id);
431 (void)types.add_struct("MC_IDENT_IN_GROUP", {StructFieldSpec{"index", 9U}}, id);
432 (void)types.add_enum("MC_AXIS_PARAMETER", builtin::dint, {EnumItem{"commanded_position", IntegerValue::signed_value(0)}, EnumItem{"sw_limit_pos", IntegerValue::signed_value(1)}, EnumItem{"sw_limit_neg", IntegerValue::signed_value(2)}, EnumItem{"enable_limit_pos", IntegerValue::signed_value(3)}, EnumItem{"enable_limit_neg", IntegerValue::signed_value(4)}, EnumItem{"enable_pos_lag_monitoring", IntegerValue::signed_value(5)}, EnumItem{"max_position_lag", IntegerValue::signed_value(6)}, EnumItem{"max_velocity_system", IntegerValue::signed_value(7)}, EnumItem{"max_velocity_appl", IntegerValue::signed_value(8)}, EnumItem{"actual_velocity", IntegerValue::signed_value(9)}, EnumItem{"commanded_velocity", IntegerValue::signed_value(10)}, EnumItem{"max_acceleration_system", IntegerValue::signed_value(11)}, EnumItem{"max_acceleration_appl", IntegerValue::signed_value(12)}, EnumItem{"max_deceleration_system", IntegerValue::signed_value(13)}, EnumItem{"max_deceleration_appl", IntegerValue::signed_value(14)}, EnumItem{"max_jerk_system", IntegerValue::signed_value(15)}, EnumItem{"max_jerk_appl", IntegerValue::signed_value(16)}}, id);
433 (void)types.add_enum("MC_CIRC_MODE", builtin::dint, {EnumItem{"border", IntegerValue::signed_value(0)}, EnumItem{"center", IntegerValue::signed_value(1)}, EnumItem{"radius", IntegerValue::signed_value(2)}}, id);
434 (void)types.add_enum("MC_CIRC_PATH_CHOICE", builtin::dint, {EnumItem{"clockwise", IntegerValue::signed_value(0)}, EnumItem{"counter_clockwise", IntegerValue::signed_value(1)}}, id);
435 (void)types.add_enum("MC_COMBINE_MODE", builtin::dint, {EnumItem{"add_axes", IntegerValue::signed_value(0)}, EnumItem{"sub_axes", IntegerValue::signed_value(1)}}, id);
436 (void)types.add_enum("MC_COORD_SYSTEM", builtin::dint, {EnumItem{"acs", IntegerValue::signed_value(0)}, EnumItem{"mcs", IntegerValue::signed_value(1)}, EnumItem{"wcs", IntegerValue::signed_value(2)}, EnumItem{"pcs", IntegerValue::signed_value(3)}, EnumItem{"fcs", IntegerValue::signed_value(4)}, EnumItem{"tcs", IntegerValue::signed_value(5)}}, id);
437 (void)types.add_enum("MC_EXECUTION_MODE", builtin::dint, {EnumItem{"immediately", IntegerValue::signed_value(0)}, EnumItem{"queued", IntegerValue::signed_value(1)}}, id);
438 (void)types.add_enum("MC_GROUP_VALUE_SOURCE", builtin::dint, {EnumItem{"commanded", IntegerValue::signed_value(0)}, EnumItem{"actual", IntegerValue::signed_value(1)}, EnumItem{"set", IntegerValue::signed_value(2)}}, id);
439 (void)types.add_enum("MC_MASTER_VALUE_SOURCE", builtin::dint, {EnumItem{"command", IntegerValue::signed_value(0)}, EnumItem{"actual", IntegerValue::signed_value(1)}}, id);
440 (void)types.add_enum("MC_PATH_MODE", builtin::dint, {EnumItem{"non_periodic", IntegerValue::signed_value(0)}, EnumItem{"periodic", IntegerValue::signed_value(1)}}, id);
441 (void)types.add_enum("MC_TRANSITION_MODE", builtin::dint, {EnumItem{"none", IntegerValue::signed_value(0)}, EnumItem{"start_velocity", IntegerValue::signed_value(1)}, EnumItem{"constant_velocity", IntegerValue::signed_value(2)}, EnumItem{"corner_distance", IntegerValue::signed_value(3)}, EnumItem{"max_corner_deviation", IntegerValue::signed_value(4)}}, id);
442 (void)types.add_opaque_ref("MC_PATH_TABLE", id);
443 (void)types.add_ref("MC_INPUT_REF", 65540U, id);
444 (void)types.add_ref("MC_OUTPUT_REF", 65540U, id);
445 (void)types.add_struct("MC_REFERENCE_SIGNAL_REF", {StructFieldSpec{"input", 9U}}, id);
446 (void)types.add_array("__ST_BINDING_MC_TOOL_DATA_VALUE", 11U, {ArrayBound{0, 5}}, id);
447 (void)types.add_struct("MC_TOOL_DATA", {StructFieldSpec{"value", 65557U}}, id);
448 (void)types.add_array("__ST_BINDING_MC_GROUP_POSITION_VALUE", 11U, {ArrayBound{0, 7}}, id);
449 (void)types.add_struct("MC_GROUP_POSITION", {StructFieldSpec{"value", 65559U}, StructFieldSpec{"size", 9U}}, id);
450 (void)types.add_struct("MC_PAYLOAD_DATA", {StructFieldSpec{"center", 65558U}, StructFieldSpec{"mass", 11U}, StructFieldSpec{"ix", 11U}, StructFieldSpec{"iy", 11U}, StructFieldSpec{"iz", 11U}}, id);
451 (void)types.add_array("__ST_BINDING_MC_JOG_BOOLEAN_ARRAY_VALUE", 1U, {ArrayBound{0, 7}}, id);
452 (void)types.add_struct("MC_JOG_BOOLEAN_ARRAY", {StructFieldSpec{"value", 65562U}, StructFieldSpec{"count", 9U}}, id);
453 (void)types.add_struct("__ST_BINDING_MC_GROUP_S_W_LIMITS_ELEMENT", {StructFieldSpec{"minimum", 11U}, StructFieldSpec{"maximum", 11U}, StructFieldSpec{"minimum_enabled", 1U}, StructFieldSpec{"maximum_enabled", 1U}}, id);
454 (void)types.add_array("__ST_BINDING_MC_GROUP_S_W_LIMITS_VALUE", 65564U, {ArrayBound{0, 7}}, id);
455 (void)types.add_struct("MC_GROUP_S_W_LIMITS", {StructFieldSpec{"value", 65565U}, StructFieldSpec{"count", 9U}}, id);
456 (void)types.add_struct("__ST_BINDING_MC_RIGID_BODY_DYNAMIC_ELEMENT", {StructFieldSpec{"center_of_gravity", 65558U}, StructFieldSpec{"mass", 11U}, StructFieldSpec{"ix", 11U}, StructFieldSpec{"iy", 11U}, StructFieldSpec{"iz", 11U}}, id);
457 (void)types.add_array("MC_RIGID_BODY_DYNAMIC", 65567U, {ArrayBound{0, 8}}, id);
458 (void)types.add_array("MC_TU_C_NUMERATOR", 4U, {ArrayBound{0, 7}}, id);
459 (void)types.add_array("MC_TU_C_DENOMINATOR", 4U, {ArrayBound{0, 7}}, id);
460 (void)types.add_opaque_ref("MC_CAM_SWITCH_TABLE_VIEW", id);
461 (void)types.add_opaque_ref("MC_CAM_TABLE_VIEW", id);
462 (void)types.add_opaque_ref("MC_TIME_POSITION", id);
463 (void)types.add_opaque_ref("MC_TIME_VELOCITY", id);
464 (void)types.add_opaque_ref("MC_TIME_ACCELERATION", id);
465 (void)types.add_struct("__ST_BINDING_MC_DH_PARAMETER_ARRAY_ELEMENT", {StructFieldSpec{"theta", 11U}, StructFieldSpec{"d", 11U}, StructFieldSpec{"a", 11U}, StructFieldSpec{"alpha", 11U}}, id);
466 (void)types.add_array("__ST_BINDING_MC_DH_PARAMETER_ARRAY_VALUE", 65576U, {ArrayBound{0, 7}}, id);
467 (void)types.add_struct("MC_DH_PARAMETER_ARRAY", {StructFieldSpec{"value", 65577U}, StructFieldSpec{"count", 9U}}, id);
468 (void)types.add_struct("__ST_BINDING_MC_JOINT_INFO_ARRAY_ELEMENT", {StructFieldSpec{"zero_position", 11U}, StructFieldSpec{"direction_clockwise", 1U}}, id);
469 (void)types.add_array("__ST_BINDING_MC_JOINT_INFO_ARRAY_VALUE", 65579U, {ArrayBound{0, 7}}, id);
470 (void)types.add_struct("MC_JOINT_INFO_ARRAY", {StructFieldSpec{"value", 65580U}, StructFieldSpec{"count", 9U}}, id);
471 (void)types.add_array("MC_AXIS_VELOCITY_ARRAY", 11U, {ArrayBound{0, 7}}, id);
472 (void)types.add_array("MC_AXIS_ACCELERATION_ARRAY", 11U, {ArrayBound{0, 7}}, id);
473 (void)types.add_array("MC_AXIS_DECELERATION_ARRAY", 11U, {ArrayBound{0, 7}}, id);
474 (void)types.add_array("MC_AXIS_JERK_ARRAY", 11U, {ArrayBound{0, 7}}, id);
475 (void)types.add_enum("MC_ORIENTATION_MODE", builtin::dint, {EnumItem{"joint_space", IntegerValue::signed_value(0)}, EnumItem{"shortest_path", IntegerValue::signed_value(1)}, EnumItem{"constant", IntegerValue::signed_value(2)}}, id);
476 (void)types.add_opaque_ref("MC_KIN_TRANSFORM_REF", id);
477 (void)types.add_opaque_ref("MC_PATH_DESCRIPTION", id);
478 (void)types.add_enum("MC_SYNC_MODE", builtin::dint, {EnumItem{"shortest", IntegerValue::signed_value(0)}, EnumItem{"catch_up", IntegerValue::signed_value(1)}, EnumItem{"slow_down", IntegerValue::signed_value(2)}}, id);
479 (void)types.add_enum("MC_CAM_START_MODE", builtin::dint, {EnumItem{"absolute", IntegerValue::signed_value(0)}, EnumItem{"relative", IntegerValue::signed_value(1)}, EnumItem{"ramp_in", IntegerValue::signed_value(2)}}, id);
480 (void)types.add_enum("MC_CAM_AXIS_DIRECTION", builtin::dint, {EnumItem{"both", IntegerValue::signed_value(0)}, EnumItem{"positive", IntegerValue::signed_value(1)}, EnumItem{"negative", IntegerValue::signed_value(2)}}, id);
481 (void)types.add_enum("MC_CAM_SWITCH_MODE", builtin::dint, {EnumItem{"position", IntegerValue::signed_value(0)}, EnumItem{"time", IntegerValue::signed_value(1)}}, id);
482 (void)types.add_opaque_ref("MC_CAM_SWITCH_OUTPUTS_VIEW", id);
483 (void)types.add_opaque_ref("MC_CAM_TRACK_OPTIONS_VIEW", id);
484 return generated::st_binding_installed_types_match(types) ? TypeError::ok : TypeError::duplicate_type;
485}
486
487static_assert(binding_type::public_count == 49U);
488static_assert(binding_type::count == 59U);
489
490} // namespace plcopen::core::st
TypeError add_enum(std::string_view name, TypeId base, const std::vector< EnumItem > &items, TypeId &out)
TypeId next_type_id() const noexcept
constexpr bool st_binding_time_ns_to_cycles(std::int64_t time_ns, std::int64_t task_period_ns, std::int64_t &cycles) noexcept
constexpr bool st_binding_enum_from_native(TypeId type, std::int64_t native, std::int64_t &iec) noexcept
constexpr bool st_binding_enum_to_native(TypeId type, std::int64_t iec, std::int64_t &native) noexcept
constexpr std::uint64_t st_binding_hash_u64(std::uint64_t state, std::uint64_t value) noexcept
std::uint64_t st_binding_hash_text(std::uint64_t state, std::string_view value) noexcept
constexpr const StBindingTypeMetadata * st_binding_type_metadata(TypeId type) noexcept
constexpr bool st_binding_handle_valid(std::uint64_t handle) noexcept
std::uint64_t st_binding_shape_hash(const TypeDesc &desc) noexcept
constexpr std::array< StBindingEnumMapping, 76 > kStBindingEnumMappings
constexpr std::uint64_t st_binding_hash_byte(std::uint64_t state, std::uint8_t value) noexcept
constexpr std::array< StBindingTypeMetadata, 49 > kStBindingTypes
constexpr std::array< StBindingFieldMetadata, 54 > kStBindingFields
constexpr std::uint64_t st_binding_null_handle
constexpr std::array< StBindingInstalledShape, 59 > kStBindingInstalledShapes
bool st_binding_installed_types_match(const TypeTable &types) noexcept
std::uint32_t TypeId
TypeError install_binding_types(TypeTable &types)
constexpr TypeId first_load_type_id
constexpr TypeId invalid_type_id