def __init__(self, x = 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))
     Negate_Impl.__init__(self)
Beispiel #2
0
 def __init__(self, x=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))
     Negate_Impl.__init__(self)
 def reset(self):
     Negate_Impl.reset(self)
 def bind_impl(self, ctx):
     Negate_Impl.bind_impl(self, ctx)
Beispiel #5
0
 def reset(self):
     Negate_Impl.reset(self)
Beispiel #6
0
 def bind_impl(self, ctx):
     Negate_Impl.bind_impl(self, ctx)