Esempio n. 1
0
 def __init__(self, x = None, dt = None):
     from marketsim.gen._out._observable._observablefloat import Observablefloat
     from marketsim.gen._out._constant import constant_Float as _constant_Float
     from marketsim import deref_opt
     Observablefloat.__init__(self)
     self.x = x if x is not None else deref_opt(_constant_Float(1.0))
     self.dt = dt if dt is not None else 1.0
     OnEveryDt_Impl.__init__(self)
Esempio n. 2
0
 def reset(self):
     OnEveryDt_Impl.reset(self)
Esempio n. 3
0
 def bind_impl(self, ctx):
     OnEveryDt_Impl.bind_impl(self, ctx)