Exemplo n.º 1
0
void StandardField::init()
{
    createAlarm();
    createTimeStamp();
    createDisplay();
    createControl();
    createBooleanAlarm();
    createByteAlarm();
    createShortAlarm();
    createIntAlarm();
    createLongAlarm();
    createUByteAlarm();
    createUShortAlarm();
    createUIntAlarm();
    createULongAlarm();
    createFloatAlarm();
    createDoubleAlarm();
    createEnumeratedAlarm();
}
Exemplo n.º 2
0
	void RTClock::createAlarm(voidFuncPtr function, tm* alarm_tm) {
		time_t alarm = mktime(alarm_tm);//convert to time_t
		createAlarm(function, alarm);	
	}