Tasks #2488
Plugin configurator should be able to report missing plugins
Status: | Resolved | Start date: | 02/15/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | Plugins | |||
Target version: | Robotics Service Bus - rsb-0.13 |
Description
Otherwise, requested, but not found plugins, will never be reported back to the user.
Related issues
Associated revisions
plugin configurator: NoSuchObject if plugin not found
Throw an exception in the plugin configurator in case a requested plugin
was not found. This behavior can be switched with a boolean in a new
method that has been created to actually execute the configuration of
the plugin system.
This commit breaks the existing API and requires clients to call
execute() on a used Configurator object. This change has been made to
prevent throwing exceptions in destructors.
- src/rsc/plugins/Configurator.cpp: moved destructor code to execute
method + new exception in case a plugin is missing if requested. - src/rsc/plugins/Configurator.h: likewise
- test/rsc/plugins/ConfiguratorTest.cpp: test for the new behavior
fixes #2488
History
#1 Updated by J. Wienke about 7 years ago
- Blocks Bug #2487: [rsb-cpp] No error message when desired plugins are not installed added
#2 Updated by J. Wienke about 7 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset rsc|c32727d2823319d021384118cad6f496aac04838.