103 return Report( aText, aSeverity );
112 return Report( aText, aSeverity );
117 REPORTER& operator <<(
const wxString& aText ) {
return Report( aText ); }
128 virtual bool HasMessageOfSeverity(
int aSeverityMask )
const;
132 return EDA_UNITS::MILLIMETRES;
149 m_textCtrl( aTextCtrl )
157 REPORTER& Report(
const wxString& aText,
160 bool HasMessage()
const override;
185 bool HasMessage()
const override;
186 bool HasMessageOfSeverity(
int aSeverityMask )
const override;
188 const wxString& GetMessages()
const;
215 REPORTER& Report(
const wxString& aText,
293 m_statusBar( aStatusBar ),
294 m_position( aPosition )
300 bool HasMessage()
const override;
Reporter forwarding messages to stdout or stderr as appropriate.
bool HasMessage() const override
Returns true if the reporter client is non-empty.
A singleton reporter that reports to nowhere.
bool HasMessage() const override
Returns true if the reporter client is non-empty.
A pure virtual class used to derive REPORTER objects from.
virtual EDA_UNITS GetUnits() const
LOCATION
Location where the message is to be reported.
virtual REPORTER & ReportHead(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)
Places the report at the beginning of the list for objects that support ordering.
virtual bool HasMessage() const =0
Returns true if the reporter client is non-empty.
virtual REPORTER & ReportTail(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)
Places the report at the end of the list, for objects that support report ordering.
virtual REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)=0
Report a string with a given severity.
A wrapper for reporting to a specific text location in a statusbar.
STATUSBAR_REPORTER(wxStatusBar *aStatusBar, int aPosition=0)
wxStatusBar * m_statusBar
Debug type reporter, forwarding messages to std::cout.
virtual ~STDOUT_REPORTER()
bool HasMessage() const override
Returns true if the reporter client is non-empty.
bool HasMessage() const override
Returns true if the reporter client is non-empty.
virtual ~WXLOG_REPORTER()
A widget for browsing a rich text error/status report.
A modified version of the wxInfoBar class that allows us to:
A wrapper for reporting to a wxString object.
virtual ~WX_STRING_REPORTER()
A wrapper for reporting to a wxTextCtrl object.
virtual ~WX_TEXT_CTRL_REPORTER()
WX_TEXT_CTRL_REPORTER(wxTextCtrl *aTextCtrl)