[ Odielib Home | Main Table Of Contents | Table Of Contents | Keyword Index ]

tao_procs(n) 9.1 odielib "Module tao procs"


tao_procs - Module tao procs

Table Of Contents




tao::args_to_dict args
tao::args_to_options args
tao::class name body

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

tao::class_ancestors class ?stackvar?

Return a list of tao classes

tao::class_descendents class ?stackvar?
tao::class_destroy class
tao::diagram base filename ?ignorefunct?

Generate a graphviz diagram of the current object hierarchy

tao::diagram_class base filename ?show_indirect? ?ignorefunct?
tao::diagram_ignore class
tao::diagram_name name
tao::dynamic_arguments arglist args
tao::dynamic_methods class
tao::dynamic_methods_class thisclass ancestors
tao::dynamic_methods_ensembles thisclass ancestors
tao::dynamic_methods_property thisclass ancestors
tao::dynamic_wrongargs_message arglist
tao::event::bind self event args

Subscribe an object to events of type <b>event</b>

tao::event::cancel self task *

Cancel a scheduled event

tao::event::generate self event args

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

tao::event::notification_list self event ?stackvar?

Called recursively to produce a list of who recieves notifications

tao::event::notify rcpt sender event eventinfo
tao::event::process self handle script
tao::event::publish self who event
tao::event::schedule self handle interval script

Schedule an event to occur later

tao::event::signal self event
tao::event::subscribe self who event
tao::event::unpublish self args
tao::event::unsubscribe self args
tao::macro name arglist body
tao::module operation ?module?

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
tao::noop args

Go nowhere, do nothing

tao::object_create object

Register the existence of an object

tao::object_destroy object

Unregister an object from the odie event manager

tao::object_rename object newname
tao::parser::aliases args

Specify other names that this class will answer to

tao::parser::class_method name arglist body

Specify the a method for the class object itself, instead of for objects of the class

tao::parser::component args
tao::parser::constructor arglist rawbody

Specify the constructor for a class

tao::parser::destructor rawbody

Specify the destructor for a class

tao::parser::method rawmethod args

Define an ensemble method for this agent

tao::parser::option name args

Define an option for the class

tao::parser::option_class name args

Define a class of options

Option classes are a template of properties that other options can inherit.

tao::parser::peek args

Internal function

Returns the current class being processed


Internal function

Removes the current class being processed from the parser stack.

tao::parser::properties args

Define the properties for this class as a key/value list

tao::parser::property ?type? name value

Define a single property for this class

If no type is given const is assumed.

tao::parser::push type

Push a class onto the stack

tao::parser::signal name infodict

Create a signal for this class

Really just a wrapper for property signal. However, this keyword ensures manditory fields are given.

tao::parser::superclass args

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.

tao::parser::variable name ?default?

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.

tao::signal_compare i j sigdat ?trace?
tao::signal_expand rawsignal sigdat ?signalvar?
tao::signal_matches signal fieldinfo
tao::signal_order sigdat
tao::singleton name body



Sean Woods

Bugs, Ideas, Feedback

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.


odielib, tao