Class DynUDINT

    • Constructor Detail

      • DynUDINT

        public DynUDINT()
      • DynUDINT

        public DynUDINT​(int val)
      • DynUDINT

        public DynUDINT​(int[] dimensions)
    • Method Detail

      • get

        public java.lang.Integer get​(int[] indices)
        Implementations of DynUDINT must override get() with the desired dynamic value calculation.
        Overrides:
        get in class CipUDINT
        Parameters:
        indices - Array subscripts. Missing subscripts not allowed.
        Returns:
      • set

        public void set​(int[] indices,
                        java.lang.Integer val)
        Description copied from class: BaseDataType
        Application-side value storage. Subclasses must implement this function to store one value or complex element into the storage array.
        Overrides:
        set in class CipUDINT
        Parameters:
        indices - Array subscripts. Missing subscripts not allowed.
      • wrap

        public DynUDINT wrap​(int[] indices)
        Description copied from class: BaseDataType
        Application-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.
        Overrides:
        wrap in class CipUDINT
        Parameters:
        indices - Array subscripts. Missing subscripts are allowed.