3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class LinkObject extends Table {
14 public LinkObject __init(
int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb;
return this; }
16 public String
name() {
int o = __offset(4);
return o != 0 ? __string(o + bb_pos) : null; }
18 public String
parent() {
int o = __offset(6);
return o != 0 ? __string(o + bb_pos) : null; }
25 public static void startLinkObject(FlatBufferBuilder builder) { builder.startObject(4); }
26 public static void addName(FlatBufferBuilder builder,
int nameOffset) { builder.addOffset(0, nameOffset, 0); }
27 public static void addParent(FlatBufferBuilder builder,
int parentOffset) { builder.addOffset(1, parentOffset, 0); }
28 public static void addPose(FlatBufferBuilder builder,
int poseOffset) { builder.addStruct(2, poseOffset, 0); }
29 public static void addInertia(FlatBufferBuilder builder,
int inertiaOffset) { builder.addStruct(3, inertiaOffset, 0); }
31 int o = builder.endObject();
grl.flatbuffer.Inertia inertia(grl.flatbuffer.Inertia obj)
ByteBuffer parentAsByteBuffer()
LinkObject __init(int _i, ByteBuffer _bb)
static int endLinkObject(FlatBufferBuilder builder)
grl.flatbuffer.Pose pose()
static void addInertia(FlatBufferBuilder builder, int inertiaOffset)
grl.flatbuffer.Inertia inertia()
static void addParent(FlatBufferBuilder builder, int parentOffset)
static void startLinkObject(FlatBufferBuilder builder)
static void addPose(FlatBufferBuilder builder, int poseOffset)
static LinkObject getRootAsLinkObject(ByteBuffer _bb, LinkObject obj)
ByteBuffer nameAsByteBuffer()
static void addName(FlatBufferBuilder builder, int nameOffset)
static LinkObject getRootAsLinkObject(ByteBuffer _bb)
grl.flatbuffer.Pose pose(grl.flatbuffer.Pose obj)