3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class KUKAiiwaArmConfiguration extends Table {
16 public String
name() {
int o = __offset(4);
return o != 0 ? __string(o + bb_pos) : null; }
21 public byte
commandInterface() {
int o = __offset(6);
return o != 0 ? bb.get(o + bb_pos) : 0; }
25 public byte
monitorInterface() {
int o = __offset(8);
return o != 0 ? bb.get(o + bb_pos) : 0; }
29 public byte
clientCommandMode() {
int o = __offset(10);
return o != 0 ? bb.get(o + bb_pos) : 0; }
33 public byte
overlayType() {
int o = __offset(12);
return o != 0 ? bb.get(o + bb_pos) : 0; }
37 public byte
controlMode() {
int o = __offset(14);
return o != 0 ? bb.get(o + bb_pos) : 0; }
41 public FRI FRIConfig(
FRI obj) {
int o = __offset(18);
return o != 0 ? obj.
__init(__indirect(o + bb_pos), bb) : null; }
44 public int toolsLength() {
int o = __offset(20);
return o != 0 ? __vector_len(o) : 0; }
50 public int processDataLength() {
int o = __offset(22);
return o != 0 ? __vector_len(o) : 0; }
51 public String
currentMotionCenter() {
int o = __offset(24);
return o != 0 ? __string(o + bb_pos) : null; }
57 byte commandInterface,
58 byte monitorInterface,
59 byte clientCommandMode,
62 int smartServoConfigOffset,
65 int processDataOffset,
66 int currentMotionCenterOffset,
67 boolean requestMonitorProcessData) {
68 builder.startObject(12);
85 public static void addName(FlatBufferBuilder builder,
int nameOffset) { builder.addOffset(0, nameOffset, 0); }
86 public static void addCommandInterface(FlatBufferBuilder builder, byte commandInterface) { builder.addByte(1, commandInterface, 0); }
87 public static void addMonitorInterface(FlatBufferBuilder builder, byte monitorInterface) { builder.addByte(2, monitorInterface, 0); }
88 public static void addClientCommandMode(FlatBufferBuilder builder, byte clientCommandMode) { builder.addByte(3, clientCommandMode, 0); }
89 public static void addOverlayType(FlatBufferBuilder builder, byte overlayType) { builder.addByte(4, overlayType, 0); }
90 public static void addControlMode(FlatBufferBuilder builder, byte controlMode) { builder.addByte(5, controlMode, 0); }
91 public static void addSmartServoConfig(FlatBufferBuilder builder,
int smartServoConfigOffset) { builder.addOffset(6, smartServoConfigOffset, 0); }
92 public static void addFRIConfig(FlatBufferBuilder builder,
int FRIConfigOffset) { builder.addOffset(7, FRIConfigOffset, 0); }
93 public static void addTools(FlatBufferBuilder builder,
int toolsOffset) { builder.addOffset(8, toolsOffset, 0); }
94 public static int createToolsVector(FlatBufferBuilder builder,
int[] data) { builder.startVector(4, data.length, 4);
for (
int i = data.length - 1; i >= 0; i--) builder.addOffset(data[i]);
return builder.endVector(); }
95 public static void startToolsVector(FlatBufferBuilder builder,
int numElems) { builder.startVector(4, numElems, 4); }
96 public static void addProcessData(FlatBufferBuilder builder,
int processDataOffset) { builder.addOffset(9, processDataOffset, 0); }
97 public static int createProcessDataVector(FlatBufferBuilder builder,
int[] data) { builder.startVector(4, data.length, 4);
for (
int i = data.length - 1; i >= 0; i--) builder.addOffset(data[i]);
return builder.endVector(); }
98 public static void startProcessDataVector(FlatBufferBuilder builder,
int numElems) { builder.startVector(4, numElems, 4); }
99 public static void addCurrentMotionCenter(FlatBufferBuilder builder,
int currentMotionCenterOffset) { builder.addOffset(10, currentMotionCenterOffset, 0); }
100 public static void addRequestMonitorProcessData(FlatBufferBuilder builder,
boolean requestMonitorProcessData) { builder.addBoolean(11, requestMonitorProcessData,
false); }
102 int o = builder.endObject();
static int createToolsVector(FlatBufferBuilder builder, int[] data)
static void addCurrentMotionCenter(FlatBufferBuilder builder, int currentMotionCenterOffset)
static void startProcessDataVector(FlatBufferBuilder builder, int numElems)
static void addOverlayType(FlatBufferBuilder builder, byte overlayType)
KUKAiiwaArmConfiguration __init(int _i, ByteBuffer _bb)
String currentMotionCenter()
static void addName(FlatBufferBuilder builder, int nameOffset)
grl.flatbuffer.LinkObject tools(grl.flatbuffer.LinkObject obj, int j)
static void startKUKAiiwaArmConfiguration(FlatBufferBuilder builder)
ProcessData processData(ProcessData obj, int j)
FRI __init(int _i, ByteBuffer _bb)
ByteBuffer currentMotionCenterAsByteBuffer()
static KUKAiiwaArmConfiguration getRootAsKUKAiiwaArmConfiguration(ByteBuffer _bb)
SmartServo __init(int _i, ByteBuffer _bb)
ProcessData processData(int j)
static void addFRIConfig(FlatBufferBuilder builder, int FRIConfigOffset)
static void addRequestMonitorProcessData(FlatBufferBuilder builder, boolean requestMonitorProcessData)
static void addMonitorInterface(FlatBufferBuilder builder, byte monitorInterface)
static void addTools(FlatBufferBuilder builder, int toolsOffset)
boolean requestMonitorProcessData()
ProcessData __init(int _i, ByteBuffer _bb)
SmartServo smartServoConfig()
static int endKUKAiiwaArmConfiguration(FlatBufferBuilder builder)
grl.flatbuffer.LinkObject tools(int j)
static int createKUKAiiwaArmConfiguration(FlatBufferBuilder builder, int nameOffset, byte commandInterface, byte monitorInterface, byte clientCommandMode, byte overlayType, byte controlMode, int smartServoConfigOffset, int FRIConfigOffset, int toolsOffset, int processDataOffset, int currentMotionCenterOffset, boolean requestMonitorProcessData)
static void addSmartServoConfig(FlatBufferBuilder builder, int smartServoConfigOffset)
static void addProcessData(FlatBufferBuilder builder, int processDataOffset)
static void startToolsVector(FlatBufferBuilder builder, int numElems)
static int createProcessDataVector(FlatBufferBuilder builder, int[] data)
static KUKAiiwaArmConfiguration getRootAsKUKAiiwaArmConfiguration(ByteBuffer _bb, KUKAiiwaArmConfiguration obj)
SmartServo smartServoConfig(SmartServo obj)
static void addCommandInterface(FlatBufferBuilder builder, byte commandInterface)
static void addControlMode(FlatBufferBuilder builder, byte controlMode)
ByteBuffer nameAsByteBuffer()
static void addClientCommandMode(FlatBufferBuilder builder, byte clientCommandMode)