Class CipFTIME


  • public class CipFTIME
    extends CipLREAL
    CIP microseconds duration

    Encoded signed in four bytes.

    • Constructor Detail

      • CipFTIME

        public CipFTIME()
      • CipFTIME

        public CipFTIME​(long val)
      • CipFTIME

        public CipFTIME​(int[] dimensions)
      • CipFTIME

        protected CipFTIME​(CipFTIME data,
                           int[] indices)
    • Method Detail

      • getNestingDef

        public DataDefinitionSeg getNestingDef()
        Description copied from class: BaseDataType
        Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.
        Overrides:
        getNestingDef in class CipLREAL
      • crcName

        public java.lang.String crcName()
        Description copied from class: BaseDataType
        Obtain the name of this type as used for computing structure CRCs. Can be different from the name(s) used by the CipPath parser.
        Overrides:
        crcName in class CipLREAL
        Returns:
      • setPayloadImpl

        protected void setPayloadImpl​(java.nio.ByteBuffer source,
                                      int[] indices)
        Description copied from class: BaseDataType
        All concrete implementations must supply their per-element decoder here.
        Overrides:
        setPayloadImpl in class CipLREAL
      • putPayloadImpl

        protected void putPayloadImpl​(java.nio.ByteBuffer dest,
                                      int[] indices)
        Description copied from class: BaseDataType
        All concrete implementations must supply their per-element encoder here.
        Overrides:
        putPayloadImpl in class CipLREAL
      • bytesImpl

        protected int bytesImpl​(int[] indices)
        Description copied from class: BaseDataType
        Retrieve the bytes payload size of a single array element (or sole element). Objects with fixed element sizes may simply return bytesEach() here.
        Overrides:
        bytesImpl in class CipLREAL
        Returns:
      • wrap

        public CipFTIME 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 CipLREAL
        Parameters:
        indices - Array subscripts. Missing subscripts are allowed.