Пример #1
0
 def __init__(self, x = None, y = None):
     from marketsim.gen._out._observable._observablefloat import Observablefloat
     from marketsim.gen._out._const import const_Float as _const_Float
     from marketsim import deref_opt
     Observablefloat.__init__(self)
     self.x = x if x is not None else deref_opt(_const_Float(1.0))
     self.y = y if y is not None else deref_opt(_const_Float(1.0))
     Mul_Impl.__init__(self)
Пример #2
0
 def __init__(self, x=None, y=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
     from marketsim.gen._out._const import const_Float as _const_Float
     Observablefloat.__init__(self)
     self.x = x if x is not None else deref_opt(_constant_Float(1.0))
     self.y = y if y is not None else deref_opt(_const_Float(1.0))
     Mul_Impl.__init__(self)
Пример #3
0
 def reset(self):
     Mul_Impl.reset(self)
Пример #4
0
 def bind_impl(self, ctx):
     Mul_Impl.bind_impl(self, ctx)
Пример #5
0
 def reset(self):
     Mul_Impl.reset(self)
Пример #6
0
 def bind_impl(self, ctx):
     Mul_Impl.bind_impl(self, ctx)