This came from the case of having several processors listening to the same sensor.
The current getCaptureOf returns the first CaptureBasePtr found.
getCaptureOf
CaptureBasePtr