7#ifndef PXR_BASE_TF_DIAGNOSTIC_TRANSPORT_H
8#define PXR_BASE_TF_DIAGNOSTIC_TRANSPORT_H
13#include "pxr/base/tf/api.h"
16#include "pxr/base/tf/status.h"
17#include "pxr/base/tf/warning.h"
25PXR_NAMESPACE_OPEN_SCOPE
75 return _container.IsEmpty();
89 : _container(
std::move(container))
92 Tf_DiagnosticContainer _container;
95PXR_NAMESPACE_CLOSE_SCOPE
Provide facilities for error handling in script.
Singleton class through which all errors and diagnostics pass.
A facility for transporting diagnostics from thread to thread.
void Post()
Post all contained diagnostics to the current thread in the order they were originally issued,...
TfDiagnosticTransport()=default
Construct an empty TfDiagnosticTransport.
bool IsEmpty() const
Return true if this transport contains no diagnostics.
A scoped, stack-based mechanism for intercepting and examining diagnostics issued on the current thre...