Systronix_utilities.cpp
//---------------------------< I S _ T A S K _ T I M E >------------------------------------------------------
//
// This function queries the state of a task's elapsed timer and compares it to the the task's interval setting.
// For the time that a task's interval time has not yet elapsed, the function returns false.  When the interval
// time has elapsed, the function resets the timer and returns true.
//
// to call this function, pass it a pointer to the task's e_timer_struct.
//
// return true and reset the timer if interval has elapsed, e.g. task time has expired, else return false
< I S _ T A S K _ T I M E >
This function queries the state of a task's elapsed timer and compares it to the the task's interval setting.
For the time that a task's interval time has not yet elapsed, the function returns false.  When the interval
time has elapsed, the function resets the timer and returns true.

to call this function, pass it a pointer to the task's e_timer_struct.

return true and reset the timer if interval has elapsed, e.g. task time has expired, else return false
< I S _ T A S K _ T I M E > This function queries the state of a task ' s elapsed timer and compares it to the the task ' s interval setting . For the time that a task ' s interval time has not yet elapsed the function returns false . When the interval time has elapsed the function resets the timer and returns true . to call this function pass it a pointer to the task ' s e_timer_struct . return true and reset the timer if interval has elapsed e . g . task time has expired else return false
boolean Systronix_utilities::is_task_time (e_timer *et_ptr)
	{
	if (et_ptr->elapsed_time >= et_ptr->interval)	
		{
		et_ptr->elapsed_time = 0;					
		return true;								
		}
	return false;									
	}
boolean Systronix_utilities :: is_task_time ( e_timer * et_ptr ) { if ( et_ptr -> elapsed_time >= et_ptr -> interval ) { et_ptr -> elapsed_time = 0 ; return true ; } return false ; }
< I S _ T A S K _ T I M E >
This function queries the state of a task's elapsed timer and compares it to the the task's interval setting.
< I S _ T A S K _ T I M E > This function queries the state of a task ' s elapsed timer and compares it to the the task ' s interval setting .
// has the time since the last reset passed? // yes, reset the timer // and return true // no, return false