摘要 |
An electronic control apparatus is designed to perform an engine control program in an object-oriented programming manner. A first type message, which does not contain a count value generated as a result of execution of a method of an object, is stored in a message storage unit. At the time that execution of the method is completed, the stored first type message is read out and a method of the object corresponding to the destination of the message is executed. A timer message, which contains a count value generated as a result of execution of the method of the object, is stored in another storage unit. The count value (timer counter) of the timer message in the other storage unit is reduced one by one as a result of the process being performed every predetermined time. When the count value of the timer message reaches 0 in the message storage unit the message is re-stored as a first type message.
|