add GUIReader::registerTypeAndCallBack for std::function