Introduce a generic IDataStoreAgent implementation
- Add
makeDataStoreAgentwhich takes a callable (eg. a lambda) and creates an instance of a class which inherits fromIDataStoreAgent, and which implementsIDataStoreAgent::analyseby invoking the callable - Extend the
IDataMgrSvcinterface so that where it accepts anIDataStoreAgent, it also accepts a callable with the signature which matches the signature ofIDataStoreAgent::analyse - Replace some
IDataStoreAgentimplementations with lambdas
Edited by Gerhard Raven