3 #ifndef FLATBUFFERS_GENERATED_LINKOBJECT_GRL_FLATBUFFER_H_ 4 #define FLATBUFFERS_GENERATED_LINKOBJECT_GRL_FLATBUFFER_H_ 6 #include "flatbuffers/flatbuffers.h" 11 namespace flatbuffer {
21 namespace flatbuffer {
25 struct LinkObject FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
26 const flatbuffers::String *
name()
const {
return GetPointer<const flatbuffers::String *>(4); }
27 const flatbuffers::String *
parent()
const {
return GetPointer<const flatbuffers::String *>(6); }
30 bool Verify(flatbuffers::Verifier &verifier)
const {
31 return VerifyTableStart(verifier) &&
32 VerifyField<flatbuffers::uoffset_t>(verifier, 4 ) &&
33 verifier.Verify(name()) &&
34 VerifyField<flatbuffers::uoffset_t>(verifier, 6 ) &&
35 verifier.Verify(parent()) &&
36 VerifyField<grl::flatbuffer::Pose>(verifier, 8 ) &&
37 VerifyField<grl::flatbuffer::Inertia>(verifier, 10 ) &&
43 flatbuffers::FlatBufferBuilder &
fbb_;
45 void add_name(flatbuffers::Offset<flatbuffers::String> name) { fbb_.AddOffset(4, name); }
46 void add_parent(flatbuffers::Offset<flatbuffers::String> parent) { fbb_.AddOffset(6, parent); }
49 LinkObjectBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); }
51 flatbuffers::Offset<LinkObject>
Finish() {
52 auto o = flatbuffers::Offset<LinkObject>(fbb_.EndTable(start_, 4));
57 inline flatbuffers::Offset<LinkObject>
CreateLinkObject(flatbuffers::FlatBufferBuilder &_fbb,
58 flatbuffers::Offset<flatbuffers::String> name = 0,
59 flatbuffers::Offset<flatbuffers::String> parent = 0,
73 #endif // FLATBUFFERS_GENERATED_LINKOBJECT_GRL_FLATBUFFER_H_ const grl::flatbuffer::Inertia * inertia() const
const flatbuffers::String * parent() const
const grl::flatbuffer::Pose * pose() const
flatbuffers::Offset< LinkObject > Finish()
void add_parent(flatbuffers::Offset< flatbuffers::String > parent)
LinkObjectBuilder(flatbuffers::FlatBufferBuilder &_fbb)
void add_name(flatbuffers::Offset< flatbuffers::String > name)
bool Verify(flatbuffers::Verifier &verifier) const
flatbuffers::FlatBufferBuilder & fbb_
void add_inertia(const grl::flatbuffer::Inertia *inertia)
const flatbuffers::String * name() const
flatbuffers::uoffset_t start_
flatbuffers::Offset< LinkObject > CreateLinkObject(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > name=0, flatbuffers::Offset< flatbuffers::String > parent=0, const grl::flatbuffer::Pose *pose=0, const grl::flatbuffer::Inertia *inertia=0)
void add_pose(const grl::flatbuffer::Pose *pose)