/** wakeup **/ void Timer::wakeup(Service* service, const int64_t now){ if(m_pfn == 0){ return; } m_pfn(service, now, m_interval, m_userdata); m_expire_time =now + m_interval; }
void convert_() { m_convertedValue = m_pfn(m_sourceValue); m_bInitialised = true; }