124 return Report( aText, aSeverity );
133 return Report( aText, aSeverity );
196 bool HasMessage()
const override;
198 bool HasMessageOfSeverity(
int aSeverityMask )
const override;
202 void Clear()
override;
204 void Finalize()
override;
206 void SetNullReporter();
230 REPORTER& Report(
const wxString& aText,
253 const wxString& GetMessages()
const;
254 void Clear()
override;
277 REPORTER& Report(
const wxString& aText,
358 void SetRedirectTarget(
REPORTER* aReporter );
359 REPORTER* GetRedirectTarget()
const;
436 std::shared_ptr<STATUSBAR_WARNING_REPORTER_IMPL>
m_impl;
Reporter forwarding messages to stdout or stderr as appropriate.
void SetVerbose(bool aVerbose)
Enable or disable verbose mode.
FONTCONFIG_REPORTER_SCOPE(REPORTER *aReporter)
REPORTER * m_previousReporter
KISTATUSBAR is a wxStatusBar suitable for Kicad manager.
Holds a structured error message.
LOAD_INFO_REPORTER_SCOPE(REPORTER *aReporter)
LOAD_INFO_REPORTER & m_reporter
REPORTER * m_previousReporter
REPORTER * m_redirectTarget
virtual ~LOAD_INFO_REPORTER()
REPORTER * m_redirectTarget
REDIRECT_REPORTER(REPORTER *aRedirectTarget)
A pure virtual class used to derive REPORTER objects from.
virtual EDA_UNITS GetUnits() const
int m_reportedSeverityMask
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 REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)
Report a string with a given severity.
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 bool HasMessageOfSeverity(int aSeverityMask) const
Returns true if the reporter has one or more messages matching the specified severity mask.
virtual bool HasMessage() const
Returns true if any messages were reported.
STATUSBAR_REPORTER(wxStatusBar *aStatusBar, int aPosition=0)
wxStatusBar * m_statusBar
STATUSBAR_WARNING_REPORTER(KISTATUSBAR *aStatusBar, const wxString &aSource)
~STATUSBAR_WARNING_REPORTER() override
REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
std::shared_ptr< STATUSBAR_WARNING_REPORTER_IMPL > m_impl
virtual ~STDOUT_REPORTER()
SYNC_REPORTER(REPORTER &aReporter)
virtual ~WXLOG_REPORTER()
A widget for browsing a rich text error/status report.
A modified version of the wxInfoBar class that allows us to:
virtual ~WX_STRING_REPORTER()
virtual ~WX_TEXT_CTRL_REPORTER()
WX_TEXT_CTRL_REPORTER(wxTextCtrl *aTextCtrl)
std::ostream & operator<<(std::ostream &aStream, const EDA_TEXT &aText)