HDK
|
#include <diagnosticMgr.h>
Public Member Functions | |
virtual TF_API | ~Delegate ()=0 |
virtual void | IssueError (TfError const &err)=0 |
Called when a TfError is posted. More... | |
virtual void | IssueFatalError (TfCallContext const &context, std::string const &msg)=0 |
virtual void | IssueStatus (TfStatus const &status)=0 |
Called when a TF_STATUS() is issued. More... | |
virtual void | IssueWarning (TfWarning const &warning)=0 |
Called when a TF_WARNING() is issued. More... | |
Protected Member Functions | |
TF_API void | _UnhandledAbort () const |
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 128 of file diagnosticMgr.h.
|
pure virtual |
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.
Called when a TfError
is posted.
Implemented in UsdUtilsConditionalAbortDiagnosticDelegate, and UsdUtilsCoalescingDiagnosticDelegate.
|
pure virtual |
Called when a TF_FATAL_ERROR
is issued (or a failed TF_AXIOM
).
Implemented in UsdUtilsConditionalAbortDiagnosticDelegate, and UsdUtilsCoalescingDiagnosticDelegate.
Called when a TF_STATUS()
is issued.
Implemented in UsdUtilsConditionalAbortDiagnosticDelegate, and UsdUtilsCoalescingDiagnosticDelegate.
Called when a TF_WARNING()
is issued.
Implemented in UsdUtilsConditionalAbortDiagnosticDelegate, and UsdUtilsCoalescingDiagnosticDelegate.