view Nodes/delay.py @ 117:c071ada6ae2b

removed an extra import removed an extra import changed the shbang line to /usr/bin/python, which makes a better-looking sys.argv[0], which is used in the IPC
author drewp
date Fri, 13 Jun 2003 13:57:38 +0000
parents 45b12307c695
children
line wrap: on
line source

"""delay node outputs the input a fixed time later"""


class DelayOps(Ops):
    def clocked(self, input, output, stateaccess):
        stateaccess.buffer


class Delay(Node):
    def __init__(self):
        Node.__init__(self)
        
    def getnodeparams(self):
        return {'delay':State.Time}