| 182 | } |
| 183 | |
| 184 | void SensorPlugin::update(YAGfx& gfx) |
| 185 | { |
| 186 | MutexGuard<MutexRecursive> guard(m_mutex); |
| 187 | |
| 188 | if (true == m_updateTimer.isTimeout()) |
| 189 | { |
| 190 | update(); |
| 191 | m_updateTimer.start(UPDATE_PERIOD); |
| 192 | } |
| 193 | |
| 194 | m_view.update(gfx); |
| 195 | } |
| 196 | |
| 197 | /****************************************************************************** |
| 198 | * Protected Methods |
nothing calls this directly
no test coverage detected