|
One may set a delegate with the TfDiagnosticMgr
which will be called to respond to errors and diagnostics.
More...
#include <diagnosticMgr.h>
Public Member Functions | |
virtual void | IssueError (TfError const &err)=0 |
Called when a TfError is posted. | |
virtual void | IssueFatalError (TfCallContext const &context, std::string const &msg)=0 |
Called when a TF_FATAL_ERROR is issued (or a failed TF_AXIOM ). | |
virtual void | IssueStatus (TfStatus const &status)=0 |
Called when a TF_STATUS() is issued. | |
virtual void | IssueWarning (TfWarning const &warning)=0 |
Called when a TF_WARNING() is issued. | |
Protected Member Functions | |
TF_API void | _UnhandledAbort () const |
Abort the program, but avoid the session logging mechanism. | |
One may set a delegate with the TfDiagnosticMgr
which will be called to respond to errors and diagnostics.
TfDiagnosticMgr::Delegate
can be reentrant.Practically speaking, this means they cannot invoke:
For a more complete list, see diagnostic.h
Definition at line 111 of file diagnosticMgr.h.
|
protected |
Abort the program, but avoid the session logging mechanism.
This is intended to be used for fatal error cases where any information has already been logged.
|
pure virtual |
Called when a TfError
is posted.
Implemented in UsdUtilsCoalescingDiagnosticDelegate, and UsdUtilsConditionalAbortDiagnosticDelegate.
|
pure virtual |
Called when a TF_FATAL_ERROR
is issued (or a failed TF_AXIOM
).
Implemented in UsdUtilsCoalescingDiagnosticDelegate, and UsdUtilsConditionalAbortDiagnosticDelegate.
|
pure virtual |
Called when a TF_STATUS()
is issued.
Implemented in UsdUtilsCoalescingDiagnosticDelegate, and UsdUtilsConditionalAbortDiagnosticDelegate.
|
pure virtual |
Called when a TF_WARNING()
is issued.
Implemented in UsdUtilsCoalescingDiagnosticDelegate, and UsdUtilsConditionalAbortDiagnosticDelegate.