view nodes/delay.py @ 137:7d768d04b9f0

tiny changes, probably "not necessary!"
author dmcc
date Sat, 14 Jun 2003 15:11:10 +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}