类 DarraCore.MbxTransactionNative

java.lang.Object
com.sun.jna.Structure
com.darra.ethercat.master.DarraCore.MbxTransactionNative
直接已知子类:
DarraCore.MbxTransactionNative.ByReference
封闭接口:
DarraCore

@FieldOrder({"slave","protocol_type","reserved0","timeout_us","cancel_flag","_padPtr1","request_frame","request_len","reserved1","_padPtr2","response_frame","response_cap","response_len","status","error_code","response_counter","reserved2_0","reserved2_1","reserved2_2","submit_time_us","complete_time_us"}) public static class DarraCore.MbxTransactionNative extends com.sun.jna.Structure
邮箱事务对象 (对齐 C 端 mbx_transaction_t, 72 字节).

C 端无 #pragma pack, 自然对齐: 指针前需 4 字节 padding. 显式声明 _padPtr1/_padPtr2 占位, 不能用 ALIGN_NONE. 与 C# ec_mbx_transaction_t 一致.

  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static class 
     

    从类继承的嵌套类/接口 com.sun.jna.Structure

    com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    int
     
    int
     
    int
     
    long
     
    int
     
    byte
     
    com.sun.jna.Pointer
     
    short
     
    byte
     
    short
     
    byte
     
    byte
     
    byte
     
    short
     
    byte
     
    com.sun.jna.Pointer
     
    short
     
    short
     
    int
     
    long
     
    int
     

    从类继承的字段 com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • 构造器概要

    构造器
    构造器
    说明
     
    MbxTransactionNative(com.sun.jna.Pointer p)
     
  • 方法概要

    从类继承的方法 com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • slave

      public short slave
    • protocol_type

      public byte protocol_type
    • reserved0

      public byte reserved0
    • timeout_us

      public int timeout_us
    • cancel_flag

      public int cancel_flag
    • _padPtr1

      public int _padPtr1
    • request_frame

      public com.sun.jna.Pointer request_frame
    • request_len

      public short request_len
    • reserved1

      public short reserved1
    • _padPtr2

      public int _padPtr2
    • response_frame

      public com.sun.jna.Pointer response_frame
    • response_cap

      public short response_cap
    • response_len

      public short response_len
    • status

      public int status
    • error_code

      public int error_code
    • response_counter

      public byte response_counter
    • reserved2_0

      public byte reserved2_0
    • reserved2_1

      public byte reserved2_1
    • reserved2_2

      public byte reserved2_2
    • submit_time_us

      public long submit_time_us
    • complete_time_us

      public long complete_time_us
  • 构造器详细资料

    • MbxTransactionNative

      public MbxTransactionNative()
    • MbxTransactionNative

      public MbxTransactionNative(com.sun.jna.Pointer p)