Enhancement #1215

Allow regular expressions in plugins.cpp.load option

Added by J. Moringen over 11 years ago. Updated over 11 years ago.

Status:ResolvedStart date:10/22/2012
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Plugins
Target version:Robotics Service Bus - rsb-0.9

Description

It should be possible to load multiple plugins like this:

[plugins.cpp]
load = rsbyarp:rst.*

Related issues

Related to Robotics Systems Commons - Enhancement #1216: rsc::plugins::Manage::getPlugins should support regular e... Resolved 10/22/2012

Associated revisions

Revision 3b750670
Added by J. Moringen over 11 years ago

Support regex plugin load requests in src/rsc/plugins/Configurator.cpp

fixes #1215

All values of the plugins.cpp.load options are now treated as regular
expressions. All plugins, whose names match these expressions, are
loaded.

  • src/rsc/plugins/Configurator.cpp: when iterating over load requests,
    do a regex lookup via Manager::getPlugins() and load all returned
    matching plugins

History

#1 Updated by J. Moringen over 11 years ago

  • Project changed from Robotics Service Bus to Robotics Systems Commons
  • Category changed from C++ to Plugins
  • Status changed from New to In Progress
  • Assignee set to J. Moringen

#2 Updated by J. Moringen over 11 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset rsc|commit:3b7506708d437e7bd8d9329493689ccfb9fb03eb.

Also available in: Atom PDF