Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 23.1.1 ]
Hello all,
I am currently reading the Module Development page.
However, I do not understand why the TaskExecuter class has two methods, beginOffset() and beginOffsetDefault().
As shown in the code below, it appears that beginOffsetDefault() is provided to override beginOffset() and hook a specific process.
double MyTaskExecuter::beginOffset(double endspeed, treenode item) { if (xOnly) { offsetloc[1] = 0; offsetloc[2] = 0; } return beginOffsetDefault(endspeed, item); }
However, I am not sure how it differs from "return __super::beginOffset();"
Thank you in advance for your assistance.
Solved! Go to Solution.