Time_generated.h
Go to the documentation of this file.
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 #ifndef FLATBUFFERS_GENERATED_TIME_GRL_FLATBUFFER_H_
4 #define FLATBUFFERS_GENERATED_TIME_GRL_FLATBUFFER_H_
5 
6 #include "flatbuffers/flatbuffers.h"
7 
8 
9 namespace grl {
10 namespace flatbuffer {
11 
12 struct Time;
13 
14 MANUALLY_ALIGNED_STRUCT(8) Time FLATBUFFERS_FINAL_CLASS {
15  private:
16  double sec_;
17 
18  public:
19  Time(double sec)
20  : sec_(flatbuffers::EndianScalar(sec)) { }
21 
22  double sec() const { return flatbuffers::EndianScalar(sec_); }
23 };
24 STRUCT_END(Time, 8);
25 
26 } // namespace flatbuffer
27 } // namespace grl
28 
29 #endif // FLATBUFFERS_GENERATED_TIME_GRL_FLATBUFFER_H_
MANUALLY_ALIGNED_STRUCT(8) EulerXYZd FLATBUFFERS_FINAL_CLASS
STRUCT_END(EulerXYZd, 24)