|
20 | 20 |
|
21 | 21 | <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
22 | 22 |
|
23 |
| - <Type Name="hfsm2::detail::Array<*>"> |
| 23 | + <Type Name="hfsm2::detail::ArrayT<*>"> |
24 | 24 | <DisplayString><{(unsigned) _count & 0xFF}></DisplayString>
|
25 | 25 | <Expand HideRawView="true">
|
26 | 26 | <ArrayItems>
|
|
32 | 32 |
|
33 | 33 | <!-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -->
|
34 | 34 |
|
35 |
| - <Type Name="hfsm2::detail::StaticArray<*>"> |
36 |
| - <DisplayString><{$T2}></DisplayString> |
| 35 | + <Type Name="hfsm2::detail::StaticArrayT<*>"> |
37 | 36 | <Expand HideRawView="true">
|
38 | 37 | <ArrayItems>
|
39 | 38 | <Size>$T2</Size>
|
|
44 | 43 |
|
45 | 44 | <!-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -->
|
46 | 45 |
|
47 |
| - <Type Name="hfsm2::detail::BitArray<*>"> |
48 |
| - <DisplayString><{CAPACITY & 0x1}></DisplayString> |
| 46 | + <Type Name="hfsm2::detail::BitArrayT<*>"> |
49 | 47 | <Expand HideRawView="true">
|
50 | 48 | <IndexListItems>
|
51 |
| - <Size>(CAPACITY + 7 / 8)</Size> |
52 |
| - <ValueNode>(_storage[$i / (sizeof(Unit) * 8)] >> ($i % (sizeof(Unit) * 8))) & 0x1</ValueNode> |
| 49 | + <Size>BIT_COUNT</Size> |
| 50 | + <ValueNode>(_storage[$i / UNIT_WIDTH] >> ($i % UNIT_WIDTH)) & 0x1</ValueNode> |
53 | 51 | </IndexListItems>
|
54 | 52 | </Expand>
|
55 | 53 | </Type>
|
56 | 54 |
|
57 |
| - <Type Name="hfsm2::detail::BitArray<*>::Bits"> |
| 55 | + <Type Name="hfsm2::detail::BitArrayT<*>::Bits"> |
58 | 56 | <DisplayString><{CAPACITY & 0x1}></DisplayString>
|
59 | 57 | <Expand HideRawView="true">
|
60 | 58 | <IndexListItems>
|
61 |
| - <Size>(CAPACITY + 7 / 8)</Size> |
62 |
| - <ValueNode>(_storage[$i / (sizeof(Unit) * 8)] >> ($i % (sizeof(Unit) * 8))) & 0x1</ValueNode> |
| 59 | + <Size>BIT_COUNT</Size> |
| 60 | + <ValueNode>(_storage[$i / UNIT_WIDTH] >> ($i % UNIT_WIDTH)) & 0x1</ValueNode> |
63 | 61 | </IndexListItems>
|
64 | 62 | </Expand>
|
65 | 63 | </Type>
|
66 | 64 |
|
67 |
| - <Type Name="hfsm2::detail::BitArray<*>::CBits"> |
68 |
| - <DisplayString><{CAPACITY & 0x1}></DisplayString> |
| 65 | + <Type Name="hfsm2::detail::BitArrayT<*>::CBits"> |
69 | 66 | <Expand HideRawView="true">
|
70 | 67 | <IndexListItems>
|
71 |
| - <Size>(CAPACITY + 7 / 8)</Size> |
72 |
| - <ValueNode>(_storage[$i / (sizeof(Unit) * 8)] >> ($i % (sizeof(Unit) * 8))) & 0x1</ValueNode> |
| 68 | + <Size>BIT_COUNT</Size> |
| 69 | + <ValueNode>(_storage[$i / UNIT_WIDTH] >> ($i % UNIT_WIDTH)) & 0x1</ValueNode> |
73 | 70 | </IndexListItems>
|
74 | 71 | </Expand>
|
75 | 72 | </Type>
|
76 | 73 |
|
77 |
| - <!-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --> |
78 |
| - |
79 |
| - <Type Name="hfsm2::detail::List<*>"> |
80 |
| - <DisplayString>{_count} / {CAPACITY}</DisplayString> |
81 |
| - <Expand HideRawView="true"> |
82 |
| - <IndexListItems Condition="_count > 0"> |
83 |
| - <Size>CAPACITY</Size> |
84 |
| - <ValueNode>_cells[$i]</ValueNode> |
85 |
| - </IndexListItems> |
86 |
| - </Expand> |
87 |
| - </Type> |
88 |
| - |
89 |
| - <Type Name="hfsm2::detail::List<*>::Cell"> |
90 |
| - <DisplayString>{item}</DisplayString> |
91 |
| - </Type> |
92 |
| - |
93 | 74 | <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
94 | 75 |
|
95 | 76 | <Type Name="hfsm2::detail::Parent">
|
|
163 | 144 |
|
164 | 145 | <!-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -->
|
165 | 146 |
|
166 |
| - <Type Name="hfsm2::detail::Task"> |
167 |
| - <DisplayString>{origin} ► {destination}</DisplayString> |
| 147 | + <Type Name="hfsm2::detail::TaskBase"> |
| 148 | + <DisplayString Condition="origin == INVALID_STATE_ID">(■)</DisplayString> |
| 149 | + <DisplayString>({(unsigned) origin} ► {(unsigned) destination})</DisplayString> |
| 150 | + <Expand HideRawView="true" /> |
| 151 | + </Type> |
| 152 | + |
| 153 | + <Type Name="hfsm2::detail::TaskListT<*>"> |
| 154 | + <Expand HideRawView="true"> |
| 155 | + <IndexListItems Condition="_count > 0"> |
| 156 | + <Size>CAPACITY</Size> |
| 157 | + <ValueNode>_items[$i]</ValueNode> |
| 158 | + </IndexListItems> |
| 159 | + </Expand> |
168 | 160 | </Type>
|
169 | 161 |
|
170 | 162 | <Type Name="hfsm2::detail::TaskLink">
|
171 |
| - <DisplayString>{prev} ◄► {next}</DisplayString> |
| 163 | + <DisplayString Condition="prev == INVALID_STATE_ID && next == INVALID_STATE_ID">[■]</DisplayString> |
| 164 | + <DisplayString Condition="prev == INVALID_STATE_ID">[► {(unsigned) next}]</DisplayString> |
| 165 | + <DisplayString Condition="next == INVALID_STATE_ID">[{(unsigned) prev} ◄]</DisplayString> |
| 166 | + <DisplayString>[{(unsigned) prev} ◄► {(unsigned) next}]</DisplayString> |
| 167 | + </Type> |
| 168 | + |
| 169 | + <Type Name="hfsm2::detail::Bounds"> |
| 170 | + <DisplayString>[{(unsigned) first} .. {(unsigned) last}]</DisplayString> |
| 171 | + <Expand HideRawView="true" /> |
172 | 172 | </Type>
|
173 | 173 |
|
174 | 174 | <!-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -->
|
175 | 175 |
|
176 | 176 | <Type Name="hfsm2::detail::PlanT<*>">
|
177 |
| - <DisplayString Condition="_bounds.first == INVALID_LONG_INDEX"><Empty></DisplayString> |
| 177 | + <DisplayString Condition="_bounds.first == INVALID_LONG"><Empty></DisplayString> |
178 | 178 | <Expand HideRawView="true">
|
179 | 179 | <CustomListItems MaxItemsPerView="100">
|
180 | 180 | <Variable Name="i" InitialValue="_bounds.first" />
|
181 | 181 |
|
182 |
| - <If Condition="_bounds.first != INVALID_LONG_INDEX && _bounds.first != _bounds.last"> |
| 182 | + <If Condition="_bounds.first != INVALID_LONG && _bounds.first != _bounds.last"> |
183 | 183 | <Loop>
|
184 |
| - <Item>_planData.tasks._cells[i].item</Item> |
| 184 | + <Item>_planData.tasks._items[i]</Item> |
185 | 185 | <Exec>i = _planData.taskLinks[i].next</Exec>
|
186 | 186 | <Break Condition="i == _bounds.last" />
|
187 | 187 | </Loop>
|
188 |
| - <Item>_planData.tasks._cells[_bounds.last].item</Item> |
| 188 | + <Item>_planData.tasks._items[_bounds.last]</Item> |
189 | 189 | </If>
|
190 | 190 |
|
191 |
| - <If Condition="_bounds.first != INVALID_LONG_INDEX && _bounds.first == _bounds.last"> |
192 |
| - <Item>_planData.tasks._cells[_bounds.last].item</Item> |
| 191 | + <If Condition="_bounds.first != INVALID_LONG && _bounds.first == _bounds.last"> |
| 192 | + <Item>_planData.tasks._items[_bounds.last]</Item> |
193 | 193 | </If>
|
194 | 194 | </CustomListItems>
|
195 | 195 | </Expand>
|
|
198 | 198 | <!-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -->
|
199 | 199 |
|
200 | 200 | <Type Name="hfsm2::detail::PlanT<*>::Iterator">
|
201 |
| - <DisplayString Condition="_curr == INVALID_LONG_INDEX"><Empty></DisplayString> |
202 |
| - <DisplayString Condition="_curr != INVALID_LONG_INDEX">{_plan._planData.tasks._cells[_curr].item}</DisplayString> |
| 201 | + <DisplayString Condition="_curr == INVALID_LONG"><Empty></DisplayString> |
| 202 | + <DisplayString Condition="_curr != INVALID_LONG">{_plan._planData.tasks._items[_curr]}</DisplayString> |
203 | 203 | <Expand HideRawView="true">
|
204 |
| - <ExpandedItem Condition="_curr != INVALID_LONG_INDEX">_plan._planData.tasks._cells[_curr].item</ExpandedItem> |
| 204 | + <ExpandedItem Condition="_curr != INVALID_LONG">_plan._planData.tasks._items[_curr]</ExpandedItem> |
205 | 205 | </Expand>
|
206 | 206 | </Type>
|
207 | 207 |
|
208 | 208 | <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
209 | 209 |
|
210 |
| - <Type Name="hfsm2::detail::DBox<*>"> |
| 210 | + <Type Name="hfsm2::detail::DynamicBox<*>"> |
211 | 211 | <DisplayString>{TYPE}</DisplayString>
|
212 | 212 | <Expand HideRawView="true" />
|
213 | 213 | </Type>
|
214 | 214 |
|
215 |
| - <Type Name="hfsm2::detail::SBox<*>"> |
216 |
| - <DisplayString>{TYPE}</DisplayString> |
| 215 | + <Type Name="hfsm2::detail::StaticBox<*>"> |
| 216 | + <DisplayString Optional="true">{TYPE}</DisplayString> |
| 217 | + <DisplayString Optional="true">{(Type)t_}</DisplayString> |
217 | 218 | <Expand HideRawView="true" />
|
218 | 219 | </Type>
|
219 | 220 |
|
|
0 commit comments