From: <jk...@us...> - 2004-02-10 06:57:04
|
Update of /cvsroot/opengtoolkit/opengoop_inheritance/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32463/docs Modified Files: Wizard_Tasks.txt Log Message: added comments "Create a New Polymorphic Method Implementation" and "Editing an Object Data Store" Index: Wizard_Tasks.txt =================================================================== RCS file: /cvsroot/opengtoolkit/opengoop_inheritance/docs/Wizard_Tasks.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Wizard_Tasks.txt 11 Dec 2003 04:53:54 -0000 1.1 --- Wizard_Tasks.txt 10 Feb 2004 06:23:17 -0000 1.2 *************** *** 67,68 **** --- 67,91 ---- + -= Create a New Polymorphic Method Implementation =- + + Overview + The creation of a polyMethod implementation involves insuring that the connector pane of the implementation matches the connector pane of the polyMethod in the declarating class. Specifically, this requires that the object RefNums are those of the declaring class. + + Steps: + * Unload Both Classes from Memory + * Create New PolyImplementation (on Disk) + * Copy (on Disk) "{DeclaringClass} Inheritance RefNum.ctl" as "{ImplementingClass} Inheritance RefNum.ctl" in temporary location. + * Load Temp "{ImplementingClass} Inheritance RefNum.ctl" into memory + * Load New PolyImplementation into memory + * Rename Temp "{ImplementingClass} Inheritance RefNum.ctl" as "{DeclaringClass} Inheritance RefNum.ctl" in same (temp) location + * Unload All from Memory + * Load original "{DeclaringClass} Inheritance RefNum.ctl" into memory + * Load New PolyImplementation into memory, thus relinking it to original "{DeclaringClass} Inheritance RefNum.ctl" + * Save New PolyImplementation + + + -= Editing an Object Data Store =- + + Overview: + When an object's data store changes, either by direct addition of data members or addition of inherited members by an ancestor class, a typedef must be relinked so that the data store VI may be called by reference. On the Front Panel of "Class Object Data Store VI Ref Type.vi" the "VI Refnum (Object Data Store.vi Type)" control must have the same con-pane type as "Class Object Data Store.vi" + |