def __init__(self,name,node,func,sendtime=False): if(sendtime): BasicOrigin.__init__(self,node,name,len(func(0,0)),Units.UNK) else: BasicOrigin.__init__(self,node,name,len(func()),Units.UNK) self._sendtime=sendtime self.func=func
def __init__(self, name, node, dimensions): BasicOrigin.__init__(self, node, name, dimensions, Units.UNK) self._value = [0] * dimensions
def __init__(self,name,node,func): BasicOrigin.__init__(self,node,name,len(func()),Units.UNK) self.func=func
def __init__(self, name, node, func): BasicOrigin.__init__(self, node, name, len(func()), Units.UNK) self.func = func