25 #ifndef PXR_BASE_TRACE_REPORTER_BASE_H
26 #define PXR_BASE_TRACE_REPORTER_BASE_H
37 #include <tbb/concurrent_vector.h>
82 tbb::concurrent_vector<CollectionPtr> _processedCollections;
87 #endif // PXR_BASE_TRACE_REPORTER_BASE_H
std::unique_ptr< TraceReporterDataSourceBase > DataSourcePtr
virtual TRACE_API ~TraceReporterBase()
Destructor.
TRACE_API bool SerializeProcessedCollections(std::ostream &ostr) const
Write all collections that were processed by this reporter to ostr.
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_AND_REF_PTRS(TraceReporterBase)
std::shared_ptr< TraceCollection > CollectionPtr
TraceReporterBaseRefPtr ThisRefPtr
TRACE_API TraceReporterBase(DataSourcePtr dataSource)
Constructor taking ownership of dataSource.
TraceReporterBasePtr ThisPtr
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual void _ProcessCollection(const CollectionPtr &)=0
Called once per collection from _Update()
TRACE_API void _Clear()
Removes all references to TraceCollections.