22 #include <mars/utils/misc.h> 33 : graphics(graphics_), sim(sim_) {
37 Qt::QueuedConnection);
41 char* marsTimerStepsize = getenv(
"MARS_GRAPHICS_UPDATE_TIME");
43 if(marsTimerStepsize) {
44 updateTime = atoi(marsTimerStepsize);
void msleep(unsigned int milliseconds)
sleeps for at least the specified time.
mars::interfaces::SimulatorInterface * sim
void runOnceInternal(void)
GraphicsTimer(mars::interfaces::GraphicsManagerInterface *graphics_, mars::interfaces::SimulatorInterface *sim_)
Copyright 2012, DFKI GmbH Robotics Innovation Center.
virtual bool getAllowDraw(void)=0
virtual void finishedDraw(void)=0
mars::interfaces::GraphicsManagerInterface * graphics
virtual bool getSyncGraphics(void)=0