def __init__(self, service, name, send_events, multicast, data_type, values=[]): BaseStateVariable.__init__(self, service, name, send_events, multicast, data_type, values)
def _create_state_var(self, name, send_events, multicast, data_type, values): """ Factory method that creates a service state variable. @return: The state variable object. @rtype: BaseStateVariable """ return BaseStateVariable(self.service, name, send_events, multicast, data_type, values)
def subscribe(self, callback): BaseStateVariable.subscribe_for_update(self, callback)
def __init__(self, service, name, send_events, multicast, data_type, values): BaseStateVariable.__init__(self, service, name, send_events, multicast, data_type, values)