I am trying to figure out the name underlying this design pattern. Basically, you have some arbitrary data that needs to be processed, and any arbitrary number of "handler" objects that can process the data. Data is passed to these handlers until something processes them.
For example, in Qt, QImage reads images through QImageReader. QImageReader queries QImageIOHandler objects to find out if a given file format can be read by this QImageIOHandler. If so, it uses this handler to read the image.
Is there a name for this responsibility?
Zac
source share