Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:toolworks:docs:apparatus:enchaining [2021/08/28 21:17] – [C++ Workflow] vladius | en:toolworks:docs:apparatus:enchaining [2022/07/18 15:12] (current) – Fix trouble. jispar | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Enchaining ====== | ====== Enchaining ====== | ||
| - | Enchaining is the process of selecting a subset of Chunks (or Belts) based on a certain Filter criteria. Once enchained | + | Enchaining is a process of selecting a subset of Chunks (or Belts) based on a certain |
| ===== C++ Workflow ===== | ===== C++ Workflow ===== | ||
| - | That's pretty basic, really. You don't create (instantiate) Chains manually but those are actually managed by the [[appi> | + | That's pretty basic, really. You don't create (instantiate) Chains manually but those are actually managed by the [[appi> |
| <code cpp> | <code cpp> | ||
| - | FChain* Chain = UMachine::Enchain(Filter); | + | FChain& Chain = Mechanism-> |
| </ | </ | ||
| Line 21: | Line 21: | ||
| <code cpp> | <code cpp> | ||
| - | FSolidChain* Chain = UMachine::EnchainSolid(Filter); | + | FSolidChain& Chain = Mechanism-> |
| </ | </ | ||
| + | |||
| + | ==== Chunks Proxies ==== | ||
| + | |||
| + | If you want to Iterate the Chunks directly, you would have to Enchain them into a list of Chunks Proxies. | ||
| + | |||
| + | In order to do that, a special overloaded [[appi> | ||
| + | It accepts an [[ue> | ||