kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #18081
Re: class STATUS_TEXT_REPORTER : public REPORTER
The REPORTER class (the base class for all *_REPORTER classes) is simply
a wxString sink object for status messages. In some ways it is like a
C++ output stream. This was done so that low level objects do not need
to now anything about UI controls which we had in the past. You can
derive any class you want for displaying a wxString and transparently
pass it to a function that takes a REPORTER object to redirect the
output to where ever you want it.
On 4/26/2015 4:05 AM, Mário Luzeiro wrote:
> Hello Jean-Pierre,
>
> I notice your additions in 3d-viewer regarding the STATUS_TEXT_REPORTER
> Does we have in KiCad some mechanism to make something like a Log / console to report warnings and errors ?
> I was thinking something that will log warnings and errors (ie: in the parsers, etc..) and user in the end can check it by clicking somewhere and get the report log.. Or perhaps something like a console.
> Would / How it be possible to implement?
>
> Regards,
> Mario Luzeiro
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References