Class SpeedControlVars


  • public class SpeedControlVars
    extends CFacade
    Generated facet for DNA struct type 'SpeedControlVars'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct SpeedControlVars.

        It is required when allocating a new block to store data for SpeedControlVars.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__frameMap

        public static final long[] __DNA__FIELD__frameMap
        Field descriptor (offset) for struct member 'frameMap'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpeedControlVars speedcontrolvars = ...;
         CPointer<Object> p = speedcontrolvars.__dna__addressof(SpeedControlVars.__DNA__FIELD__frameMap);
         CPointer<CPointer<Float>> p_frameMap = p.cast(new Class[]{CPointer.class, Float.class});
         

        Metadata

        • Field: 'frameMap'
        • Signature: 'float*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__globalSpeed

        public static final long[] __DNA__FIELD__globalSpeed
        Field descriptor (offset) for struct member 'globalSpeed'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpeedControlVars speedcontrolvars = ...;
         CPointer<Object> p = speedcontrolvars.__dna__addressof(SpeedControlVars.__DNA__FIELD__globalSpeed);
         CPointer<Float> p_globalSpeed = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'globalSpeed'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flags

        public static final long[] __DNA__FIELD__flags
        Field descriptor (offset) for struct member 'flags'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpeedControlVars speedcontrolvars = ...;
         CPointer<Object> p = speedcontrolvars.__dna__addressof(SpeedControlVars.__DNA__FIELD__flags);
         CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__length

        public static final long[] __DNA__FIELD__length
        Field descriptor (offset) for struct member 'length'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpeedControlVars speedcontrolvars = ...;
         CPointer<Object> p = speedcontrolvars.__dna__addressof(SpeedControlVars.__DNA__FIELD__length);
         CPointer<Integer> p_length = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'length'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__lastValidFrame

        public static final long[] __DNA__FIELD__lastValidFrame
        Field descriptor (offset) for struct member 'lastValidFrame'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpeedControlVars speedcontrolvars = ...;
         CPointer<Object> p = speedcontrolvars.__dna__addressof(SpeedControlVars.__DNA__FIELD__lastValidFrame);
         CPointer<Integer> p_lastValidFrame = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'lastValidFrame'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • SpeedControlVars

        public SpeedControlVars​(long __address,
                                Block __block,
                                BlockTable __blockTable)
    • Method Detail

      • getFrameMap

        public CPointer<java.lang.Float> getFrameMap()
                                              throws java.io.IOException
        Get method for struct member 'frameMap'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frameMap
      • setFrameMap

        public void setFrameMap​(CPointer<java.lang.Float> frameMap)
                         throws java.io.IOException
        Set method for struct member 'frameMap'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frameMap
      • getGlobalSpeed

        public float getGlobalSpeed()
                             throws java.io.IOException
        Get method for struct member 'globalSpeed'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__globalSpeed
      • setGlobalSpeed

        public void setGlobalSpeed​(float globalSpeed)
                            throws java.io.IOException
        Set method for struct member 'globalSpeed'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__globalSpeed
      • getFlags

        public int getFlags()
                     throws java.io.IOException
        Get method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • setFlags

        public void setFlags​(int flags)
                      throws java.io.IOException
        Set method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • getLength

        public int getLength()
                      throws java.io.IOException
        Get method for struct member 'length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • setLength

        public void setLength​(int length)
                       throws java.io.IOException
        Set method for struct member 'length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • getLastValidFrame

        public int getLastValidFrame()
                              throws java.io.IOException
        Get method for struct member 'lastValidFrame'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lastValidFrame
      • setLastValidFrame

        public void setLastValidFrame​(int lastValidFrame)
                               throws java.io.IOException
        Set method for struct member 'lastValidFrame'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lastValidFrame