commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/common/doc TriggerSpecifications.txt


From: James Thompson
Subject: gnue/common/doc TriggerSpecifications.txt
Date: Wed, 23 Jan 2002 20:30:46 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 02/01/23 20:30:46

Modified files:
        common/doc     : TriggerSpecifications.txt 

Log message:
        More trigger notes

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/doc/TriggerSpecifications.txt.diff?tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: gnue/common/doc/TriggerSpecifications.txt
diff -c gnue/common/doc/TriggerSpecifications.txt:1.9 
gnue/common/doc/TriggerSpecifications.txt:1.10
*** gnue/common/doc/TriggerSpecifications.txt:1.9       Tue Jan 22 22:45:10 2002
--- gnue/common/doc/TriggerSpecifications.txt   Wed Jan 23 20:30:46 2002
***************
*** 291,297 ****
--- 291,318 ----
    yet allow their children to be in
  
  
+ At init time the GObj tree is parsed.  The following objects are created and 
placed
+ into a global trigger namespace.  
  
+ GTriggerObject
+   * Created for each GObj that requires inclusion in the trigger namespace
+   * Contains attributes that link to GTriggerFunction and GTriggerAttribute 
objects
+   * Contains the following extra attributes: 
+   *   self
+   *   properties
  
+ GTriggerFunction 
+   * Created for each function that needs linked into a GTriggerObject
+   * defines a __call__ that links to the stored link assigned by the GObj
+ 
+ GTriggerAttribute
+   * Create for each attribute that needs linked into a GTriggerObject
+   * defines __getattr__, __setattr__ that links to the assigned GObj 
variables 
+ 
+ 
+ In addition each GObj derived object contains a copy of the trigger namespace 
+ from itself down.  When a trigger is executed the global trigger namespace is 
merged 
+ with the local trigger namespace extracted from the object which is having 
the trigger
+ fired against it.
  
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]