Mercurial > code > home > repos > light9
diff Nodes/delay.py @ 0:45b12307c695
Initial revision
author | drewp |
---|---|
date | Wed, 03 Jul 2002 09:37:57 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Nodes/delay.py Wed Jul 03 09:37:57 2002 +0000 @@ -0,0 +1,14 @@ +"""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}