'Set the node processing state.'

def set_processing_state(self, state):

    if (self.__processing_state != state):
        self.__processing_state = state
        self.processing_state_changed.emit(state)
