----------------------------------------------------------------------------- Delete all TimerEvents associated with this instance -----------------------------------------------------------------------------
| 246 | // Delete all TimerEvents associated with this instance |
| 247 | //----------------------------------------------------------------------------- |
| 248 | void Timer::TimerDelEvents |
| 249 | ( |
| 250 | ) |
| 251 | { |
| 252 | if (m_driver) { |
| 253 | list<TimerThread::TimerEventEntry *>::iterator it = m_timerEventList.begin(); |
| 254 | while( it != m_timerEventList.end() ) { |
| 255 | m_driver->GetTimer()->TimerDelEvent((*it)); |
| 256 | it = m_timerEventList.erase(it); |
| 257 | } |
| 258 | } else { |
| 259 | Log::Write(LogLevel_Warning, "Driver Not Set for Timer"); |
| 260 | } |
| 261 | |
| 262 | } |
| 263 | //----------------------------------------------------------------------------- |
| 264 | // <Timer::SetDriver> |
| 265 | // Associate this instance with a Driver |
nothing calls this directly
no test coverage detected