Interface Sendable

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      default void addChild​(Object child)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use SendableRegistry.addChild()
      default String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use SendableRegistry.getName()
      default String getSubsystem()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use SendableRegistry.getSubsystem()
      void initSendable​(SendableBuilder builder)
      Initializes this Sendable object.
      default void setName​(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use SendableRegistry.setName()
      default void setName​(String moduleType, int channel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use SendableRegistry.setName()
      default void setName​(String moduleType, int moduleNumber, int channel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use SendableRegistry.setName()
      default void setName​(String subsystem, String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use SendableRegistry.setName()
      default void setSubsystem​(String subsystem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use SendableRegistry.setSubsystem()
    • Method Detail

      • getName

        @Deprecated(since="2020",
                    forRemoval=true)
        default String getName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use SendableRegistry.getName()
        Gets the name of this Sendable object.
        Returns:
        Name
      • setName

        @Deprecated(since="2020",
                    forRemoval=true)
        default void setName​(String name)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use SendableRegistry.setName()
        Sets the name of this Sendable object.
        Parameters:
        name - name
      • setName

        @Deprecated(since="2020",
                    forRemoval=true)
        default void setName​(String subsystem,
                             String name)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use SendableRegistry.setName()
        Sets both the subsystem name and device name of this Sendable object.
        Parameters:
        subsystem - subsystem name
        name - device name
      • setName

        @Deprecated(since="2020",
                    forRemoval=true)
        default void setName​(String moduleType,
                             int channel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use SendableRegistry.setName()
        Sets the name of the sensor with a channel number.
        Parameters:
        moduleType - A string that defines the module name in the label for the value
        channel - The channel number the device is plugged into
      • setName

        @Deprecated(since="2020",
                    forRemoval=true)
        default void setName​(String moduleType,
                             int moduleNumber,
                             int channel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use SendableRegistry.setName()
        Sets the name of the sensor with a module and channel number.
        Parameters:
        moduleType - A string that defines the module name in the label for the value
        moduleNumber - The number of the particular module type
        channel - The channel number the device is plugged into (usually PWM)
      • getSubsystem

        @Deprecated(since="2020",
                    forRemoval=true)
        default String getSubsystem()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use SendableRegistry.getSubsystem()
        Gets the subsystem name of this Sendable object.
        Returns:
        Subsystem name
      • setSubsystem

        @Deprecated(since="2020",
                    forRemoval=true)
        default void setSubsystem​(String subsystem)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use SendableRegistry.setSubsystem()
        Sets the subsystem name of this Sendable object.
        Parameters:
        subsystem - subsystem name
      • addChild

        @Deprecated(since="2020",
                    forRemoval=true)
        default void addChild​(Object child)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use SendableRegistry.addChild()
        Add a child component.
        Parameters:
        child - child component
      • initSendable

        void initSendable​(SendableBuilder builder)
        Initializes this Sendable object.
        Parameters:
        builder - sendable builder