GUIReader::registerTypeAndCallBack for std::function

@lite3 
Please fix the indentation, thanks.