tao_procs - Module tao procs
Create or modify a tao class
This command is an enhancement to ::oo::class create and oo::define. In addition to the normal behavior expected from these operations, tao::class tracks the class in the tao::db as well as rebuild the dynamic methods
Return a list of tao classes
Generate a graphviz diagram of the current object hierarchy
Subscribe an object to events of type <b>event</b>
Cancel a scheduled event
Generate an event Adds a subscription mechanism for objects to see who has recieved this event and prevent spamming or infinite recursion
Return a unique event handle
Called recursively to produce a list of who recieves notifications
Schedule an event to occur later
Manage the module stack
While the module stack does not impact normal operations within Tao maintaining it allow Tao to populate the "package" field in the tao::db
::tao::module push myPackage load_path $dir ::tao::module pop
Go nowhere, do nothing
Register the existence of an object
Unregister an object from the odie event manager
Specify other names that this class will answer to
Specify the a method for the class object itself, instead of for objects of the class
Specify the constructor for a class
Specify the destructor for a class
Define an ensemble method for this agent
Define an option for the class
Define a class of options
Option classes are a template of properties that other options can inherit.
Internal function
Returns the current class being processed
Internal function
Removes the current class being processed from the parser stack.
Define the properties for this class as a key/value list
Define a single property for this class
If no type is given const is assumed.
Push a class onto the stack
Create a signal for this class
Really just a wrapper for property signal. However, this keyword ensures manditory fields are given.
Specify ancestors for this class
This keyword mimics the behavior of the TclOO superclass keyword. In addition to the TclOO connotations, this keyword also indexes the class in the in-memory database.
For classes with no ancestors, call this keyword with no arguments. Failure to do so will cause problems with the property method.
This function will also map classes classes refered to by alias.
Specify a variable which should be initialized in the constructor
This keyword can also be expressed:
property variable NAME {default DEFAULT}
Variables registered in the variable property are also initialized (if missing) when the object changes class via the morph method.
Sean Woods
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category tao of the Odielib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.
Procs
Copyright © 2000-2014 Sean Woods <yoda@etoyoc.com>