Esempio n. 1
0
	/** 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;
	}
Esempio n. 2
0
 void convert_()
 {
     m_convertedValue    =   m_pfn(m_sourceValue);
     m_bInitialised      =   true;
 }