- Clean up the API to use a `static` class instance to adhere to Marlin convention - Add `const` position data access for read/write - Add Storage capacity to the interface
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
3 |
|
|
|
4 |
|
|
|
5 |
|
3 |
|
6 |
|
4 |
|
7 |
|
5 |
|
8 |
|
6 |
|
9 |
|
|
|
10 |
|
|
|
|
7 |
|
|
11 |
|
8 |
|
12 |
|
|
|
13 |
|
|
|
|
9 |
|
|
|
10 |
|
|
14 |
|
11 |
|
15 |
|
|
|
|
12 |
|
|
16 |
|
13 |
|
17 |
|
14 |
|
18 |
|
15 |
|
|
|
||
33 |
|
30 |
|
34 |
|
31 |
|
35 |
|
32 |
|
36 |
|
|
|
|
33 |
|
|
37 |
|
34 |
|
38 |
|
35 |
|
39 |
|
36 |
|
|
|
||
44 |
|
41 |
|
45 |
|
42 |
|
46 |
|
43 |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
47 |
|
48 |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
48 |
|
58 |
|
49 |
|
59 |
|
50 |
|
60 |
|
|
|
||
8 |
|
8 |
|
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
|
|
12 |
|
|
|
|
11 |
|
|
13 |
|
12 |
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
|
13 |
|
|
17 |
|
14 |
|
18 |
|
15 |
|
19 |
|
16 |
|
20 |
|
17 |
|
21 |
|
18 |
|
22 |
|
19 |
|
23 |
|
|
|
|
20 |
|
|
24 |
|
21 |
|
25 |
|
22 |
|
26 |
|
23 |
|
|
|
||
41 |
|
38 |
|
42 |
|
39 |
|
43 |
|
40 |
|
44 |
|
|
|
|
41 |
|
|
45 |
|
42 |
|
46 |
|
43 |
|
47 |
|
44 |
|
|
|
||
52 |
|
49 |
|
53 |
|
50 |
|
54 |
|
51 |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
55 |
|
62 |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
56 |
|
66 |
|
57 |
|
67 |
|
58 |
|
68 |
|
59 |
|
|
|
|
69 |
|
|
|
||
43 |
|
43 |
|
44 |
|
44 |
|
45 |
|
45 |
|
46 |
|
|
|
47 |
|
|
|
48 |
|
46 |
|
49 |
|
47 |
|
50 |
|
48 |
|
|
|
||
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
|
|
31 |
|
|
|
|
30 |
|
|
|
31 |
|
|
32 |
|
32 |
|
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
35 |
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
36 |
|
40 |
|
37 |
|
|
38 |
|
|
41 |
|
39 |
|
42 |
|
|
|
|
40 |
|
|
43 |
|
41 |
|
44 |
|
42 |
|
45 |
|
43 |
|
|
|
||
53 |
|
51 |
|
54 |
|
52 |
|
55 |
|
53 |
|
56 |
|
|
|
|
54 |
|
|
57 |
|
55 |
|
58 |
|
56 |
|
59 |
|
57 |
|
|
|
||
61 |
|
59 |
|
62 |
|
60 |
|
63 |
|
61 |
|
|
62 |
|
|
64 |
|
63 |
|
65 |
|
64 |
|
66 |
|
65 |
|
67 |
|
66 |
|
68 |
|
|
|
|
67 |
|
|
69 |
|
68 |
|
70 |
|
69 |
|
71 |
|
70 |
|
|
71 |
|
|
72 |
|
72 |
|
73 |
|
73 |
|
74 |
|
74 |
|
|
|
||
98 |
|
98 |
|
99 |
|
99 |
|
100 |
|
100 |
|
101 |
|
|
|
|
101 |
|
|
|
102 |
|
|
102 |
|
103 |
|
103 |
|
104 |
|
104 |
|
105 |
|
|
|
||
128 |
|
129 |
|
129 |
|
130 |
|
130 |
|
131 |
|
131 |
|
|
|
|
132 |
|
|
|
133 |
|
|
132 |
|
134 |
|
133 |
|
135 |
|
134 |
|
136 |
|
|
|
||
163 |
|
165 |
|
164 |
|
166 |
|
165 |
|
167 |
|
166 |
|
|
|
167 |
|
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
168 |
|
183 |
|
169 |
|
184 |
|
170 |
|
185 |
|
|
|
||
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
51 |
|
46 |
|
52 |
|
|
|
|
47 |
|
|
53 |
|
48 |
|
54 |
|
49 |
|
55 |
|
50 |
|
56 |
|
51 |
|
57 |
|
|
|
|
52 |
|
|
58 |
|
53 |
|
59 |
|
54 |
|
60 |
|
55 |
|
61 |
|
56 |
|
62 |
|
57 |
|
63 |
|
|
|
|
58 |
|
|
64 |
|
59 |
|
65 |
|
60 |
|
66 |
|
61 |
|
|
|
||
95 |
|
90 |
|
96 |
|
91 |
|
97 |
|
92 |
|
98 |
|
|
|
|
93 |
|
|
99 |
|
94 |
|
100 |
|
95 |
|
101 |
|
96 |
|
|
|
||
106 |
|
101 |
|
107 |
|
102 |
|
108 |
|
103 |
|
109 |
|
|
|
110 |
|
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
111 |
|
120 |
|
112 |
|
121 |
|
113 |
|
122 |
|
|
|
||
32 |
|
32 |
|
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
35 |
|
42 |
|
36 |
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
37 |
|
48 |
|
38 |
|
49 |
|
39 |
|
50 |
|
40 |
|
51 |
|
41 |
|
52 |
|
|
|
|
42 |
|
|
53 |
|
43 |
|
54 |
|
44 |
|
55 |
|
45 |
|
|
|
||
62 |
|
52 |
|
63 |
|
53 |
|
64 |
|
54 |
|
65 |
|
|
|
|
55 |
|
|
66 |
|
56 |
|
67 |
|
57 |
|
68 |
|
58 |
|
|
|
||
70 |
|
60 |
|
71 |
|
61 |
|
72 |
|
62 |
|
73 |
|
|
|
|
63 |
|
|
74 |
|
64 |
|
75 |
|
65 |
|
76 |
|
66 |
|
|
|
||
78 |
|
68 |
|
79 |
|
69 |
|
80 |
|
70 |
|
81 |
|
|
|
|
71 |
|
|
82 |
|
72 |
|
83 |
|
73 |
|
84 |
|
74 |
|
|
|
||
88 |
|
78 |
|
89 |
|
79 |
|
90 |
|
80 |
|
91 |
|
|
|
92 |
|
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
93 |
|
96 |
|
94 |
|
97 |
|
95 |
|
98 |
|
96 |
|
99 |
|
97 |
|
|
|
|
||
29 |
|
29 |
|
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
|
|
33 |
|
|
|
|
32 |
|
|
|
33 |
|
|
34 |
|
34 |
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
|
35 |
|
|
39 |
|
36 |
|
40 |
|
37 |
|
41 |
|
38 |
|
|
|
||
56 |
|
53 |
|
57 |
|
54 |
|
58 |
|
55 |
|
59 |
|
|
|
|
56 |
|
|
60 |
|
57 |
|
61 |
|
58 |
|
62 |
|
59 |
|
|
|
||
67 |
|
64 |
|
68 |
|
65 |
|
69 |
|
66 |
|
70 |
|
|
|
71 |
|
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
72 |
|
82 |
|
73 |
|
83 |
|
74 |
|
84 |
|
|
|
||
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
26 |
|
27 |
|
|
|
28 |
|
|
|
29 |
|
27 |
|
30 |
|
28 |
|
31 |
|
29 |
|
32 |
|
30 |
|
33 |
|
|
|
34 |
|
|
|
|
31 |
|
|
35 |
|
32 |
|
36 |
|
|
|
37 |
|
|
|
|
33 |
|
|
|
34 |
|
|
38 |
|
35 |
|
39 |
|
|
|
|
36 |
|
|
40 |
|
37 |
|
41 |
|
38 |
|
42 |
|
39 |
|
|
|
||
57 |
|
54 |
|
58 |
|
55 |
|
59 |
|
56 |
|
60 |
|
|
|
|
57 |
|
|
61 |
|
58 |
|
62 |
|
59 |
|
63 |
|
60 |
|
|
|
||
68 |
|
65 |
|
69 |
|
66 |
|
70 |
|
67 |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
71 |
|
78 |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
72 |
|
82 |
|
73 |
|
83 |
|
74 |
|
84 |
|
75 |
|
85 |
|
76 |
|
|
|
77 |
|
|
|
|
||
5 |
|
5 |
|
6 |
|
6 |
|
7 |
|
7 |
|
|
8 |
|
|
8 |
|
9 |
|
9 |
|
|
|
10 |
|
|
|
|
10 |
|
|
|
11 |
|
|
11 |
|
12 |
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
|
13 |
|
|
16 |
|
14 |
|
17 |
|
15 |
|
18 |
|
16 |
|
|
|
||
33 |
|
31 |
|
34 |
|
32 |
|
35 |
|
33 |
|
36 |
|
|
|
|
34 |
|
|
37 |
|
35 |
|
38 |
|
36 |
|
39 |
|
37 |
|
|
|
||
44 |
|
42 |
|
45 |
|
43 |
|
46 |
|
44 |
|
47 |
|
|
|
48 |
|
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
49 |
|
60 |
|
50 |
|
61 |
|
51 |
|
62 |
|
|
|
||
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
6 |
|
7 |
|
|
|
8 |
|
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
9 |
|
17 |
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
|
18 |
|
|
17 |
|
19 |
|
18 |
|
20 |
|
|
|
||
1172 |
|
1172 |
|
1173 |
|
1173 |
|
1174 |
|
1174 |
|
1175 |
|
|
|
|
1175 |
|
|
1176 |
|
1176 |
|
1177 |
|
1177 |
|
1178 |
|
1178 |
|
|
|
||
345 |
|
345 |
|
346 |
|
346 |
|
347 |
|
347 |
|
|
348 |
|
|
348 |
|
349 |
|
349 |
|
350 |
|
350 |
|
|
|
351 |
|
|
|
|
351 |
|
|
|
352 |
|
|
352 |
|
353 |
|
353 |
|
|
|
354 |
|
|
|
355 |
|
|
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
356 |
|
357 |
|
357 |
|
358 |
|
358 |
|
359 |
|
|
|
||
1607 |
|
1608 |
|
1608 |
|
1609 |
|
1609 |
|
1610 |
|
|
1611 |
|
|
|
1612 |
|
|
|
1613 |
|
|
|
1614 |
|
|
1610 |
|
1615 |
|
1611 |
|
1616 |
|
1612 |
|
1617 |
|
|
|
||
1627 |
|
1632 |
|
1628 |
|
1633 |
|
1629 |
|
1634 |
|
1630 |
|
|
|
|
1635 |
|
|
1631 |
|
1636 |
|
1632 |
|
1637 |
|
1633 |
|
1638 |
|
|
|
||
1638 |
|
1643 |
|
1639 |
|
1644 |
|
1640 |
|
1645 |
|
1641 |
|
|
|
1642 |
|
|
|
1643 |
|
|
|
|
1646 |
|
|
|
1647 |
|
|
|
1648 |
|
|
1644 |
|
1649 |
|
1645 |
|
1650 |
|
1646 |
|
1651 |
|
|
|
||
1676 |
|
1681 |
|
1677 |
|
1682 |
|
1678 |
|
1683 |
|
1679 |
|
|
|
1680 |
|
|
|
1681 |
|
|
|
|
1684 |
|
|
|
1685 |
|
|
|
1686 |
|
|
1682 |
|
1687 |
|
1683 |
|
1688 |
|
1684 |
|
1689 |
|
|
|
||
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
26 |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
27 |
|
30 |
|
28 |
|
31 |
|
29 |
|
32 |
|
|
|
||
96 |
|
99 |
|
97 |
|
100 |
|
98 |
|
101 |
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
104 |
|
106 |
|
105 |
|
107 |
|
106 |
|
108 |
|