... | ... | @@ -137,10 +137,10 @@ deactivate simulation |
|
|
### Callback declaration and activation diagram
|
|
|
|
|
|
In the following diagram, two trackers can be potentially used, so we need to declare a creator for both of them.
|
|
|
|
|
|
Eventually, the user configuration will only activate one.
|
|
|
|
|
|
Note that the 'simulationTrackerManager' is actually implemented through the static part of 'SimulationTracker' class.
|
|
|
Also, we use intermediate object 'declaredTrackerX' to ease the creators creation and registration through template meta-programing.
|
|
|
|
|
|
```plantuml
|
|
|
participant main
|
... | ... | @@ -177,4 +177,7 @@ deactivate main |
|
|
end
|
|
|
|
|
|
main -> simulation : run
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
## Example
|
|
|
|