32 #ifndef CXRENDERLOOP_H 33 #define CXRENDERLOOP_H 35 #include "org_custusx_core_view_Export.h" 45 class ViewCollectionWidget;
55 class org_custusx_core_view_EXPORT
RenderLoop :
public QObject
62 bool isRunning()
const;
63 void setRenderingInterval(
int interval);
64 void setSmartRender(
bool val);
65 void setLogging(
bool on);
78 void renderFinished();
84 void sendRenderIntervalToTimer(
int interval);
85 void emitPreRenderIfRequested();
87 bool pollForSmartRenderingThisCycle();
88 int calculateTimeToNextRender();
89 void emitFPSIfRequired();
90 void dumpStatistics();
93 QDateTime mLastFullRender;
94 QDateTime mLastBeginRender;
100 int mBaseRenderInterval;
105 std::vector<QPointer<ViewCollectionWidget> > mLayoutWidgets;
113 #endif // CXRENDERLOOP_H boost::shared_ptr< class CyclicActionLogger > CyclicActionLoggerPtr
CyclicActionLoggerPtr getRenderTimer()
boost::shared_ptr< RenderLoop > RenderLoopPtr
Namespace for all CustusX production code.