/[ascend]/trunk/models/basemodel.a4l
ViewVC logotype

Diff of /trunk/models/basemodel.a4l

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1 by aw0a, Fri Oct 29 20:54:12 2004 UTC revision 669 by johnpye, Wed Jun 21 07:00:45 2006 UTC
# Line 212  METHOD defaults; Line 212  METHOD defaults;
212      STOP {GUI (or somebody) called non-standard method defaults. Call forwarded to default_self before stopping here.};      STOP {GUI (or somebody) called non-standard method defaults. Call forwarded to default_self before stopping here.};
213  END defaults;  END defaults;
214    
215    METHOD on_load;
216    NOTES 'purpose' SELF {
217    This method adds improved ability to perform stuff when a model is first loaded.
218    By default, just 'default_self' will be run (this was the previous behaviour).
219    Any model that has an on_load method can override this behaviour however.
220    Note that this behaviour applies only in the C++/python interface at this stage.
221    } END NOTES;
222      RUN default_self;
223    END on_load;
224    
225  METHOD default_self;  METHOD default_self;
226  NOTES 'purpose' SELF {  NOTES 'purpose' SELF {
227  This method should set default values for any variables  This method should set default values for any variables

Legend:
Removed from v.1  
changed lines
  Added in v.669

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22