This looks very interesting and useful -- but there is not a single comment explaining the intended use! Please add some doxygen comments so that other developers can make use of your new features more easily!