[Bio] / KahApp / KahModule.py Repository:
ViewVC logotype

View of /KahApp/KahModule.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (as text) (annotate)
Fri Mar 11 21:33:13 2005 UTC (14 years, 9 months ago) by efrank
Branch: MAIN
CVS Tags: before-dynamics-persistence, lwc, treatman-lastDay-0, preTreatmanDyn, HEAD
Changes since 1.1: +7 -2 lines
1. introduce Model as king of the hill rather than RecoElem.
2. migrations to follow
3. new modules for by-peg filtering
4. first stab at externalized app fwk
5. moved seed data factory

bunch of timing code still in this ...need to take out


class KahModule:
    def __init__( self, name ):
        self.__myName = name
        return

    def name(self):
        return self.__myName

    def config( self, cfg ):
        """
        Do configuration.  At minimum, register any needed
        configuration parameters with the KahConfigSection

        @type cfg: KahConfigSection
        @rtype: none
        """

        return

    def process( self, aModel, recoElem, cfg ):
        """
        Do processing.  We want to end up just passing a Model in, but
        for now we pass in recoElem.  This is a recoElem in aModel.  This
        supports the modelEditor calling tools to act on a specific recoElem.
        I'd like this to change.

        Cfg holds config params.

        @type aModel: KahOM.Model
        @type recoElem: RecoElem
        @type cfg: KahConfigSection
        @rtype: none
        """

        return

    def finish( self,  cfg ):
        """
        Done processing: do final computations.
        @type cfg:  KahConfigSection
        @rtype: none
        """

        return

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3