Adding a default constructor for dynamic_reconfigure/client.h
I'm trying to declare and initialize dynamic_reconfigure::Client<>
as a class attribute. However, the header file does not have a default constructor. Is there any way to add a default constructor to it? I see there is setConfigurationCallback
in header file. Thus, I need a dynamic_reconfigure::Client<>
that can take a string as name, and then I can use setConfigurationCallback
to set callback function in the class constructor.
Asked by hck007 on 2022-07-11 18:53:04 UTC
Comments