105 m_severityMask |= aSeverity;
115 return Report( aText, aSeverity );
124 return Report( aText, aSeverity );
129 REPORTER& operator <<(
const wxString& aText ) {
return Report( aText ); }
142 return ( m_severityMask & aSeverityMask ) != 0;
147 return EDA_UNITS::MM;
168 m_textCtrl( aTextCtrl )
176 REPORTER& Report(
const wxString& aText,
179 bool HasMessage()
const override;
201 bool HasMessage()
const override;
203 const wxString& GetMessages()
const;
204 void Clear()
override;
227 REPORTER& Report(
const wxString& aText,
299 m_statusBar( aStatusBar ),
300 m_position( aPosition )
305 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 & 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.
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)