counters registration to the map
Counter objects register themselves to the map, and counter containers also register to the map. This can lead to multiple counters being found when iterating over the map, in particular when objects create a hierarchy of counter controllers (like Lima object with BPM and ROIs for example).
TODO:
-
prevent counters from registering themselves -
add parameter to register counter controllers to the map (or not) -
ensure all counters are known by their controller ( ._counters
->.counters
namespace)- otherwise, counters could be hidden since they do not register themselves