11 #ifndef __BRAY_Stats__
12 #define __BRAY_Stats__
32 Stats(
const BRAY_Renderer &renderer);
144 Value(BRAY_StatsImpl &stats,
Key key);
145 Value(BRAY_StatsImpl &stats,
DeviceKey key,
int device);
161 BRAY_StatsImpl &myStats;
173 fpreal percentComplete()
const;
177 {
return Value(*myImpl, key); }
181 {
return Value(*myImpl, key, device); }
199 void startBucket(
const UT_DimRect &bounds,
int pass);
207 myStats.startBucket(bounds, pass);
const UT_JSONValue & operator*() const
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
AutoBucket(Stats &stats, const UT_DimRect &bounds, int pass)
Class to store JSON objects as C++ objects.
const UT_JSONValue & operator->() const