What is the callbacks_ field in the Subscription class?
I was perusing the roscpp code and wondering what the callbacks_
field of type V_CallbackInfo
in the Subscription
class is for? It seems that every call to subscribe
(..) creates a new subscription object and each such call supplies just one callback so why there is a vector of them, and the code actually iterates over that collection I don’t get.