code: def _field_controller_generator(self):
          
          # Local variable, to avoid messing with "self"
          stored_instance = self._ipopo_instance
  
          def get_value(self, name):
              # pylint: disable=W0613
              """
              Retrieves the controller value, from the iPOPO dictionaries
  
              :param name: The property name
              :return: The property value
              """
              return stored_instance.get_controller_state(name)
  
          def set_value(self, name, new_value):
              # pylint: disable=W0613
              """
              Sets the property value and trigger an update event
  
              :param name: The property name
              :param new_value: The new property value
              """
              # Get the previous value
              old_value = stored_instance.get_controller_state(name)
              if new_value != old_value:
                  # Update the controller state
                  stored_instance.set_controller_state(name, new_value)
  
              return new_value
  
          return get_value, set_value
docs: Generates the methods called by the injected controller