104 return Report( aText, aSeverity );
113 return Report( aText, aSeverity );
118 REPORTER& operator <<(
const wxString& aText ) {
return Report( aText ); }
129 virtual bool HasMessageOfSeverity(
int aSeverityMask )
const;
133 return EDA_UNITS::MM;
150 m_textCtrl( aTextCtrl )
158 REPORTER& Report(
const wxString& aText,
161 bool HasMessage()
const override;
186 bool HasMessage()
const override;
187 bool HasMessageOfSeverity(
int aSeverityMask )
const override;
189 const wxString& GetMessages()
const;
216 REPORTER& Report(
const wxString& aText,
242 bool HasMessageOfSeverity(
int aSeverityMask )
const override;
298 m_statusBar( aStatusBar ),
299 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.
std::map< SEVERITY, bool > m_hasMessageMap
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)