3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class KUKAiiwaState extends Table {
16 public String
name() {
int o = __offset(4);
return o != 0 ? __string(o + bb_pos) : null; }
18 public String
destination() {
int o = __offset(6);
return o != 0 ? __string(o + bb_pos) : null; }
20 public String
source() {
int o = __offset(8);
return o != 0 ? __string(o + bb_pos) : null; }
22 public double timestamp() {
int o = __offset(10);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
23 public boolean setArmControlState() {
int o = __offset(12);
return o != 0 ? 0!=bb.get(o + bb_pos) :
false; }
26 public boolean setArmConfiguration() {
int o = __offset(16);
return o != 0 ? 0!=bb.get(o + bb_pos) :
false; }
29 public boolean hasMonitorState() {
int o = __offset(20);
return o != 0 ? 0!=bb.get(o + bb_pos) :
false; }
32 public boolean hasMonitorConfig() {
int o = __offset(24);
return o != 0 ? 0!=bb.get(o + bb_pos) :
false; }
38 int destinationOffset,
41 boolean setArmControlState,
42 int armControlStateOffset,
43 boolean setArmConfiguration,
44 int armConfigurationOffset,
45 boolean hasMonitorState,
46 int monitorStateOffset,
47 boolean hasMonitorConfig,
48 int monitorConfigOffset) {
49 builder.startObject(12);
66 public static void addName(FlatBufferBuilder builder,
int nameOffset) { builder.addOffset(0, nameOffset, 0); }
67 public static void addDestination(FlatBufferBuilder builder,
int destinationOffset) { builder.addOffset(1, destinationOffset, 0); }
68 public static void addSource(FlatBufferBuilder builder,
int sourceOffset) { builder.addOffset(2, sourceOffset, 0); }
69 public static void addTimestamp(FlatBufferBuilder builder,
double timestamp) { builder.addDouble(3, timestamp, 0.0); }
70 public static void addSetArmControlState(FlatBufferBuilder builder,
boolean setArmControlState) { builder.addBoolean(4, setArmControlState,
false); }
71 public static void addArmControlState(FlatBufferBuilder builder,
int armControlStateOffset) { builder.addOffset(5, armControlStateOffset, 0); }
72 public static void addSetArmConfiguration(FlatBufferBuilder builder,
boolean setArmConfiguration) { builder.addBoolean(6, setArmConfiguration,
false); }
73 public static void addArmConfiguration(FlatBufferBuilder builder,
int armConfigurationOffset) { builder.addOffset(7, armConfigurationOffset, 0); }
74 public static void addHasMonitorState(FlatBufferBuilder builder,
boolean hasMonitorState) { builder.addBoolean(8, hasMonitorState,
false); }
75 public static void addMonitorState(FlatBufferBuilder builder,
int monitorStateOffset) { builder.addOffset(9, monitorStateOffset, 0); }
76 public static void addHasMonitorConfig(FlatBufferBuilder builder,
boolean hasMonitorConfig) { builder.addBoolean(10, hasMonitorConfig,
false); }
77 public static void addMonitorConfig(FlatBufferBuilder builder,
int monitorConfigOffset) { builder.addOffset(11, monitorConfigOffset, 0); }
79 int o = builder.endObject();
static void startKUKAiiwaState(FlatBufferBuilder builder)
static void addTimestamp(FlatBufferBuilder builder, double timestamp)
static void addName(FlatBufferBuilder builder, int nameOffset)
KUKAiiwaMonitorConfiguration __init(int _i, ByteBuffer _bb)
static void addMonitorConfig(FlatBufferBuilder builder, int monitorConfigOffset)
KUKAiiwaArmConfiguration __init(int _i, ByteBuffer _bb)
boolean hasMonitorConfig()
static void addDestination(FlatBufferBuilder builder, int destinationOffset)
KUKAiiwaMonitorConfiguration monitorConfig(KUKAiiwaMonitorConfiguration obj)
static void addArmControlState(FlatBufferBuilder builder, int armControlStateOffset)
ByteBuffer sourceAsByteBuffer()
KUKAiiwaMonitorState monitorState(KUKAiiwaMonitorState obj)
KUKAiiwaArmConfiguration armConfiguration(KUKAiiwaArmConfiguration obj)
static int endKUKAiiwaState(FlatBufferBuilder builder)
KUKAiiwaMonitorState __init(int _i, ByteBuffer _bb)
static KUKAiiwaState getRootAsKUKAiiwaState(ByteBuffer _bb)
boolean hasMonitorState()
ByteBuffer destinationAsByteBuffer()
KUKAiiwaMonitorConfiguration monitorConfig()
static void addSource(FlatBufferBuilder builder, int sourceOffset)
static void addMonitorState(FlatBufferBuilder builder, int monitorStateOffset)
ByteBuffer nameAsByteBuffer()
grl.flatbuffer.ArmControlState armControlState(grl.flatbuffer.ArmControlState obj)
static void addHasMonitorConfig(FlatBufferBuilder builder, boolean hasMonitorConfig)
static int createKUKAiiwaState(FlatBufferBuilder builder, int nameOffset, int destinationOffset, int sourceOffset, double timestamp, boolean setArmControlState, int armControlStateOffset, boolean setArmConfiguration, int armConfigurationOffset, boolean hasMonitorState, int monitorStateOffset, boolean hasMonitorConfig, int monitorConfigOffset)
static void addSetArmControlState(FlatBufferBuilder builder, boolean setArmControlState)
KUKAiiwaArmConfiguration armConfiguration()
static void addSetArmConfiguration(FlatBufferBuilder builder, boolean setArmConfiguration)
static void addArmConfiguration(FlatBufferBuilder builder, int armConfigurationOffset)
boolean setArmControlState()
static void addHasMonitorState(FlatBufferBuilder builder, boolean hasMonitorState)
boolean setArmConfiguration()
KUKAiiwaMonitorState monitorState()
KUKAiiwaState __init(int _i, ByteBuffer _bb)
static KUKAiiwaState getRootAsKUKAiiwaState(ByteBuffer _bb, KUKAiiwaState obj)
grl.flatbuffer.ArmControlState armControlState()