class EventTracker - Class that tracks method calls on itself.

Declared in module xml.arch.xmlarch

Synopsis

class EventTracker:
    def __call__(self, *args) # Call method.
    def __getattr__(self, name) # Get attribute.
    def __init__(self) # Initialize a new instance.
    def __nonzero__(self) # Return true when asked if __nonzero__
    def __repr__(self) # Return a textual representation of the object.
    def get_event(self, name) # Returns the arguments of the given method.
    def get_events(self) # Returns a hash containing the arguments - indexed my method name.
    def set_event(self, name, args) # Register a method call name with the arguments args.