|
What is defined here is a metaclass that is used as a base class for some key classes in Axon. It was originally created to allow super class calling in a slightly nicer manner in terms of syntactic sugar easier to get right that still has the good effects of "super" in a multiple inheritance scenario. Use of this particular feature has been deprecated because of more subtle issues in inheritance situations. However this metaclass has been retained (and is still used) for possible future uses.
Test documentationTests passed:
Axon.Axon.AxonObjectclass AxonObject(object)Base class for axon objects. Uses AxonType as its metaclass. Axon.Axon.AxonTypeclass AxonType(type)
Metaclass for Axon objects.
Methods defined here__init__(cls, name, bases, dict)Override creation of class to set a 'super' attribute to what you get when you call super(). Note that this 'super' attribute is deprecated - there are some subtle issues with it and it should therefore be avoided. FeedbackGot a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording! Please leave you feedback here in reply to the documentation thread in the Kamaelia blog. -- Automatic documentation generator, 01 Feb 2010 at 04:00:28 UTC/GMT |
Kamaelia
is an open source project originated from and guided by BBC
Research. For more information browse the site or get in
contact.
This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC. (the site is powered by a wiki engine)
(C) Copyright 2008 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved