dev:element_tutorial
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dev:element_tutorial [2014/09/05 20:21] – [Register Element with a Driver] tsmall1 | dev:element_tutorial [2014/09/17 20:00] (current) – [Create the C++ Compilation file] tsmall1 | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| < | < | ||
| - | MFMv2/ | + | MFMv2/ |
| </ | </ | ||
| Line 57: | Line 57: | ||
| m_targetDensity(this, | m_targetDensity(this, | ||
| "The Creg will try to fill this many spots in its event " | "The Creg will try to fill this many spots in its event " | ||
| - | " | + | " |
| </ | </ | ||
| Line 141: | Line 141: | ||
| If the number of Cregs is greater than the thresold, it will delete one of the elements that isn't a Creg. Otherwise, it will delete one that is a Creg. | If the number of Cregs is greater than the thresold, it will delete one of the elements that isn't a Creg. Otherwise, it will delete one that is a Creg. | ||
| + | |||
| + | ===== Register Element witn StdElement.inc ===== | ||
| + | |||
| + | Open: | ||
| + | |||
| + | < | ||
| + | MFMv2/ | ||
| + | </ | ||
| + | |||
| + | Put, at the end of the file: | ||
| + | < | ||
| + | #include " | ||
| + | </ | ||
| + | |||
| + | This elemental include file is used by all drivers so they know about the elements to use. | ||
| + | |||
| ===== Register Element with a Driver ===== | ===== Register Element with a Driver ===== | ||
dev/element_tutorial.1409948470.txt.gz · Last modified: 2014/09/05 20:21 by tsmall1
