3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
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; }
21 public Pose pose(
Pose obj) {
int o = __offset(8);
return o != 0 ? obj.
__init(o + bb_pos, bb) : 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();
ByteBuffer parentAsByteBuffer()
LinkObject __init(int _i, ByteBuffer _bb)
static int endLinkObject(FlatBufferBuilder builder)
static void addInertia(FlatBufferBuilder builder, int inertiaOffset)
static void addParent(FlatBufferBuilder builder, int parentOffset)
Pose __init(int _i, ByteBuffer _bb)
static void startLinkObject(FlatBufferBuilder builder)
static void addPose(FlatBufferBuilder builder, int poseOffset)
static LinkObject getRootAsLinkObject(ByteBuffer _bb, LinkObject obj)
ByteBuffer nameAsByteBuffer()
Inertia inertia(Inertia obj)
static void addName(FlatBufferBuilder builder, int nameOffset)
static LinkObject getRootAsLinkObject(ByteBuffer _bb)
Inertia __init(int _i, ByteBuffer _bb)