3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class FRI extends Table {
13 public static FRI getRootAsFRI(ByteBuffer _bb,
FRI obj) { _bb.order(ByteOrder.LITTLE_ENDIAN);
return (obj.
__init(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
14 public FRI __init(
int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb;
return this; }
16 public byte
overlayType() {
int o = __offset(4);
return o != 0 ? bb.get(o + bb_pos) : 1; }
26 public int sendPeriodMillisec() {
int o = __offset(6);
return o != 0 ? bb.getInt(o + bb_pos) : 4; }
38 public boolean updatePortOnRemote() {
int o = __offset(10);
return o != 0 ? 0!=bb.get(o + bb_pos) :
false; }
47 public short portOnRemote() {
int o = __offset(12);
return o != 0 ? bb.getShort(o + bb_pos) : 0; }
62 public short portOnController() {
int o = __offset(16);
return o != 0 ? bb.getShort(o + bb_pos) : 0; }
64 public static int createFRI(FlatBufferBuilder builder,
66 int sendPeriodMillisec,
67 int setReceiveMultiplier,
68 boolean updatePortOnRemote,
70 boolean updatePortOnController,
71 short portOnController) {
72 builder.startObject(7);
83 public static void startFRI(FlatBufferBuilder builder) { builder.startObject(7); }
84 public static void addOverlayType(FlatBufferBuilder builder, byte overlayType) { builder.addByte(0, overlayType, 1); }
85 public static void addSendPeriodMillisec(FlatBufferBuilder builder,
int sendPeriodMillisec) { builder.addInt(1, sendPeriodMillisec, 4); }
86 public static void addSetReceiveMultiplier(FlatBufferBuilder builder,
int setReceiveMultiplier) { builder.addInt(2, setReceiveMultiplier, 5); }
87 public static void addUpdatePortOnRemote(FlatBufferBuilder builder,
boolean updatePortOnRemote) { builder.addBoolean(3, updatePortOnRemote,
false); }
88 public static void addPortOnRemote(FlatBufferBuilder builder,
short portOnRemote) { builder.addShort(4, portOnRemote, 0); }
89 public static void addUpdatePortOnController(FlatBufferBuilder builder,
boolean updatePortOnController) { builder.addBoolean(5, updatePortOnController,
false); }
90 public static void addPortOnController(FlatBufferBuilder builder,
short portOnController) { builder.addShort(6, portOnController, 0); }
91 public static int endFRI(FlatBufferBuilder builder) {
92 int o = builder.endObject();
static void addPortOnRemote(FlatBufferBuilder builder, short portOnRemote)
boolean updatePortOnRemote()
static void addOverlayType(FlatBufferBuilder builder, byte overlayType)
static void addUpdatePortOnRemote(FlatBufferBuilder builder, boolean updatePortOnRemote)
static int createFRI(FlatBufferBuilder builder, byte overlayType, int sendPeriodMillisec, int setReceiveMultiplier, boolean updatePortOnRemote, short portOnRemote, boolean updatePortOnController, short portOnController)
static void addSendPeriodMillisec(FlatBufferBuilder builder, int sendPeriodMillisec)
int setReceiveMultiplier()
FRI __init(int _i, ByteBuffer _bb)
static int endFRI(FlatBufferBuilder builder)
static void addSetReceiveMultiplier(FlatBufferBuilder builder, int setReceiveMultiplier)
static void startFRI(FlatBufferBuilder builder)
boolean updatePortOnController()
static void addPortOnController(FlatBufferBuilder builder, short portOnController)
static void addUpdatePortOnController(FlatBufferBuilder builder, boolean updatePortOnController)
static FRI getRootAsFRI(ByteBuffer _bb, FRI obj)
static FRI getRootAsFRI(ByteBuffer _bb)