Skip to content

assert sensor ptr !nullptr when installing processor

Jeremie Deray requested to merge check_sensor_ptr into master

I seen that in the function Problem::installProcessor(const std::string& _prc_type, // const std::string& _unique_processor_name, // const std::string& _corresponding_sensor_name, // const std::string& _params_filename) the function throws if the sensor ptr isn't found, wouldn't it be better to simply print an error as in this pr?
I guess an uninstall proc will not generate later problem. @jsola let me know what do you prefer and I will update this PR accordingly.

Edited by Jeremie Deray

Merge request reports

Loading