Page MenuHomePhabricator

Possibility to filter reader services when using IOutils
Closed, ResolvedPublic

Description

Currently it is not possible to select or avoid specific reader services when you use mitk::IOutils (e.g. in tests or commandline apps). Internally IOutils has a callback option but it is not accessible in the public interface an can only be used by inheritance (c.f. QmitkIOutils). There is currently no known reasoning for not allowing callbacks/dependency injection also in the public interface of IOutils.

Todos:

  1. Allow public load functions to specify a callback. Default value is NULL (therefor same behaviour as now)
  2. Implement a callback class that allows white listing (first hit on a whitelist is always used) and black listing (candidates on a black list are never used).

Revisions and Commits

Event Timeline

floca moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
floca added a revision: Restricted Differential Revision.May 2 2017, 2:55 PM
floca moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Feb 13 2019, 10:49 AM