114 return Report( aText, aSeverity );
123 return Report( aText, aSeverity );
183 bool HasMessage()
const override;
185 bool HasMessageOfSeverity(
int aSeverityMask )
const override;
189 void Clear()
override;
213 REPORTER& Report(
const wxString& aText,
236 const wxString& GetMessages()
const;
237 void Clear()
override;
260 REPORTER& Report(
const wxString& aText,
341 void SetRedirectTarget(
REPORTER* aReporter );
342 REPORTER* GetRedirectTarget()
const;
418 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
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)