发明名称 System and method for interfacing two modules supporting various applications
摘要 A method, system, object-oriented system, and computer program product for interfacing two software modules to support various applications. A base class, a zero-level abstract class having a declared virtual function, plural first-level derived classes of the zero-level abstract class having the declared virtual function, and plural second-level classes derived from the base class and the first-level derived classes of the abstract class having the declared virtual function are defined using multiple inheritance so that the virtual function is defined differently for plural instantiated objects of the second-level classes. A first application module communicates with a second application module which processes information to select a software object to be referenced for processing data. The second application module passes a reference defined to reference a first-level derived class and having a value of a reference to the selected software object which is derived from the first-level derived class. The first application module receives the value using a reference defined to reference the zero-level abstract class and then accesses the virtual function defined for the selected software object by a reference in the form of the received reference and the name of the virtual function. There is no need for the first application module to determine which software object type is referenced for execution of the function, as all instantiated software objects are derived from the same abstract class. Therefore, the value passed in the reference is used to access the correct code for processing the data for the desired software object.
申请公布号 US6578090(B1) 申请公布日期 2003.06.10
申请号 US19980093052 申请日期 1998.06.08
申请人 RICOH COMPANY, LTD.;RICOH CORPORATION 发明人 MOTOYAMA TETSURO;BHATNAGAR ANURAG
分类号 G06F9/06;G06F9/44;(IPC1-7):G06F9/44 主分类号 G06F9/06
代理机构 代理人
主权项
地址