reconfiguration of services through their parameter sets is needed
The event display application in NOvA needs to modify the configuration of services during the execution of the program. The service system needs to be able to give out the list of parameter sets that were used for service creation. The service system needs to be able to accept the changed parameter sets and then invoke the "reconfigure" member function of an associated service object if its parameter set has indeed changed.
#1 Updated by Jim Kowalkowski almost 10 years ago
- Status changed from New to Resolved
The interface to perform this function looks like this.
typedef std::vector<ParameterSet> ParameterSets;
ServiceRegistry& inst = ServiceRegistry::instance();
std::cerr << "service name = "
See the Reconfigur* files in the test/Integration direction for a working example.