摘要 |
PROBLEM TO BE SOLVED: To easily mount a schedule mechanism by generating a command class, a stub class, and a mount class from a source model. SOLUTION: A development assistant system generates the stub class, command class 96, and mount class 99 from a source class. The object of the stub class 92 are made substantial on a memory together with the object of the mount class 99. Then the stub class 92 stores reference to the mount object as a peer 313 so as to become a proxy for the mount class 99. The stub class object has reference 310 to the pool 94 of a scheduler for registering the command object. The method mount 93 of the stub class 92 generates an instance 96 of the command class having information for a target processing capsuled. Then the ID of a current thread is obtained and stored in the instance 96, this item is put in the pool 94 of the scheduler, and the command processing is expected to end.
|