It has only one change from original one. I added robotfeedback message on it.

Dependencies:   BufferedSerial

Dependents:   RobotFeedback mobileRobotITU

Fork of ros_lib_indigo by Gary Servin

Committer:
randalthor
Date:
Sat Mar 04 14:07:56 2017 +0000
Revision:
4:80d9bee5079a
Parent:
0:fd24f7ca9688
fatih

Who changed what in which revision?

UserRevisionLine numberNew contents of line
garyservin 0:fd24f7ca9688 1 #ifndef _ROS_opencv_apps_Moment_h
garyservin 0:fd24f7ca9688 2 #define _ROS_opencv_apps_Moment_h
garyservin 0:fd24f7ca9688 3
garyservin 0:fd24f7ca9688 4 #include <stdint.h>
garyservin 0:fd24f7ca9688 5 #include <string.h>
garyservin 0:fd24f7ca9688 6 #include <stdlib.h>
garyservin 0:fd24f7ca9688 7 #include "ros/msg.h"
garyservin 0:fd24f7ca9688 8 #include "opencv_apps/Point2D.h"
garyservin 0:fd24f7ca9688 9
garyservin 0:fd24f7ca9688 10 namespace opencv_apps
garyservin 0:fd24f7ca9688 11 {
garyservin 0:fd24f7ca9688 12
garyservin 0:fd24f7ca9688 13 class Moment : public ros::Msg
garyservin 0:fd24f7ca9688 14 {
garyservin 0:fd24f7ca9688 15 public:
garyservin 0:fd24f7ca9688 16 double m00;
garyservin 0:fd24f7ca9688 17 double m10;
garyservin 0:fd24f7ca9688 18 double m01;
garyservin 0:fd24f7ca9688 19 double m20;
garyservin 0:fd24f7ca9688 20 double m11;
garyservin 0:fd24f7ca9688 21 double m02;
garyservin 0:fd24f7ca9688 22 double m30;
garyservin 0:fd24f7ca9688 23 double m21;
garyservin 0:fd24f7ca9688 24 double m12;
garyservin 0:fd24f7ca9688 25 double m03;
garyservin 0:fd24f7ca9688 26 double mu20;
garyservin 0:fd24f7ca9688 27 double mu11;
garyservin 0:fd24f7ca9688 28 double mu02;
garyservin 0:fd24f7ca9688 29 double mu30;
garyservin 0:fd24f7ca9688 30 double mu21;
garyservin 0:fd24f7ca9688 31 double mu12;
garyservin 0:fd24f7ca9688 32 double mu03;
garyservin 0:fd24f7ca9688 33 double nu20;
garyservin 0:fd24f7ca9688 34 double nu11;
garyservin 0:fd24f7ca9688 35 double nu02;
garyservin 0:fd24f7ca9688 36 double nu30;
garyservin 0:fd24f7ca9688 37 double nu21;
garyservin 0:fd24f7ca9688 38 double nu12;
garyservin 0:fd24f7ca9688 39 double nu03;
garyservin 0:fd24f7ca9688 40 opencv_apps::Point2D center;
garyservin 0:fd24f7ca9688 41 double length;
garyservin 0:fd24f7ca9688 42 double area;
garyservin 0:fd24f7ca9688 43
garyservin 0:fd24f7ca9688 44 Moment():
garyservin 0:fd24f7ca9688 45 m00(0),
garyservin 0:fd24f7ca9688 46 m10(0),
garyservin 0:fd24f7ca9688 47 m01(0),
garyservin 0:fd24f7ca9688 48 m20(0),
garyservin 0:fd24f7ca9688 49 m11(0),
garyservin 0:fd24f7ca9688 50 m02(0),
garyservin 0:fd24f7ca9688 51 m30(0),
garyservin 0:fd24f7ca9688 52 m21(0),
garyservin 0:fd24f7ca9688 53 m12(0),
garyservin 0:fd24f7ca9688 54 m03(0),
garyservin 0:fd24f7ca9688 55 mu20(0),
garyservin 0:fd24f7ca9688 56 mu11(0),
garyservin 0:fd24f7ca9688 57 mu02(0),
garyservin 0:fd24f7ca9688 58 mu30(0),
garyservin 0:fd24f7ca9688 59 mu21(0),
garyservin 0:fd24f7ca9688 60 mu12(0),
garyservin 0:fd24f7ca9688 61 mu03(0),
garyservin 0:fd24f7ca9688 62 nu20(0),
garyservin 0:fd24f7ca9688 63 nu11(0),
garyservin 0:fd24f7ca9688 64 nu02(0),
garyservin 0:fd24f7ca9688 65 nu30(0),
garyservin 0:fd24f7ca9688 66 nu21(0),
garyservin 0:fd24f7ca9688 67 nu12(0),
garyservin 0:fd24f7ca9688 68 nu03(0),
garyservin 0:fd24f7ca9688 69 center(),
garyservin 0:fd24f7ca9688 70 length(0),
garyservin 0:fd24f7ca9688 71 area(0)
garyservin 0:fd24f7ca9688 72 {
garyservin 0:fd24f7ca9688 73 }
garyservin 0:fd24f7ca9688 74
garyservin 0:fd24f7ca9688 75 virtual int serialize(unsigned char *outbuffer) const
garyservin 0:fd24f7ca9688 76 {
garyservin 0:fd24f7ca9688 77 int offset = 0;
garyservin 0:fd24f7ca9688 78 union {
garyservin 0:fd24f7ca9688 79 double real;
garyservin 0:fd24f7ca9688 80 uint64_t base;
garyservin 0:fd24f7ca9688 81 } u_m00;
garyservin 0:fd24f7ca9688 82 u_m00.real = this->m00;
garyservin 0:fd24f7ca9688 83 *(outbuffer + offset + 0) = (u_m00.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 84 *(outbuffer + offset + 1) = (u_m00.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 85 *(outbuffer + offset + 2) = (u_m00.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 86 *(outbuffer + offset + 3) = (u_m00.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 87 *(outbuffer + offset + 4) = (u_m00.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 88 *(outbuffer + offset + 5) = (u_m00.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 89 *(outbuffer + offset + 6) = (u_m00.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 90 *(outbuffer + offset + 7) = (u_m00.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 91 offset += sizeof(this->m00);
garyservin 0:fd24f7ca9688 92 union {
garyservin 0:fd24f7ca9688 93 double real;
garyservin 0:fd24f7ca9688 94 uint64_t base;
garyservin 0:fd24f7ca9688 95 } u_m10;
garyservin 0:fd24f7ca9688 96 u_m10.real = this->m10;
garyservin 0:fd24f7ca9688 97 *(outbuffer + offset + 0) = (u_m10.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 98 *(outbuffer + offset + 1) = (u_m10.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 99 *(outbuffer + offset + 2) = (u_m10.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 100 *(outbuffer + offset + 3) = (u_m10.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 101 *(outbuffer + offset + 4) = (u_m10.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 102 *(outbuffer + offset + 5) = (u_m10.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 103 *(outbuffer + offset + 6) = (u_m10.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 104 *(outbuffer + offset + 7) = (u_m10.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 105 offset += sizeof(this->m10);
garyservin 0:fd24f7ca9688 106 union {
garyservin 0:fd24f7ca9688 107 double real;
garyservin 0:fd24f7ca9688 108 uint64_t base;
garyservin 0:fd24f7ca9688 109 } u_m01;
garyservin 0:fd24f7ca9688 110 u_m01.real = this->m01;
garyservin 0:fd24f7ca9688 111 *(outbuffer + offset + 0) = (u_m01.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 112 *(outbuffer + offset + 1) = (u_m01.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 113 *(outbuffer + offset + 2) = (u_m01.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 114 *(outbuffer + offset + 3) = (u_m01.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 115 *(outbuffer + offset + 4) = (u_m01.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 116 *(outbuffer + offset + 5) = (u_m01.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 117 *(outbuffer + offset + 6) = (u_m01.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 118 *(outbuffer + offset + 7) = (u_m01.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 119 offset += sizeof(this->m01);
garyservin 0:fd24f7ca9688 120 union {
garyservin 0:fd24f7ca9688 121 double real;
garyservin 0:fd24f7ca9688 122 uint64_t base;
garyservin 0:fd24f7ca9688 123 } u_m20;
garyservin 0:fd24f7ca9688 124 u_m20.real = this->m20;
garyservin 0:fd24f7ca9688 125 *(outbuffer + offset + 0) = (u_m20.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 126 *(outbuffer + offset + 1) = (u_m20.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 127 *(outbuffer + offset + 2) = (u_m20.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 128 *(outbuffer + offset + 3) = (u_m20.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 129 *(outbuffer + offset + 4) = (u_m20.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 130 *(outbuffer + offset + 5) = (u_m20.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 131 *(outbuffer + offset + 6) = (u_m20.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 132 *(outbuffer + offset + 7) = (u_m20.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 133 offset += sizeof(this->m20);
garyservin 0:fd24f7ca9688 134 union {
garyservin 0:fd24f7ca9688 135 double real;
garyservin 0:fd24f7ca9688 136 uint64_t base;
garyservin 0:fd24f7ca9688 137 } u_m11;
garyservin 0:fd24f7ca9688 138 u_m11.real = this->m11;
garyservin 0:fd24f7ca9688 139 *(outbuffer + offset + 0) = (u_m11.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 140 *(outbuffer + offset + 1) = (u_m11.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 141 *(outbuffer + offset + 2) = (u_m11.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 142 *(outbuffer + offset + 3) = (u_m11.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 143 *(outbuffer + offset + 4) = (u_m11.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 144 *(outbuffer + offset + 5) = (u_m11.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 145 *(outbuffer + offset + 6) = (u_m11.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 146 *(outbuffer + offset + 7) = (u_m11.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 147 offset += sizeof(this->m11);
garyservin 0:fd24f7ca9688 148 union {
garyservin 0:fd24f7ca9688 149 double real;
garyservin 0:fd24f7ca9688 150 uint64_t base;
garyservin 0:fd24f7ca9688 151 } u_m02;
garyservin 0:fd24f7ca9688 152 u_m02.real = this->m02;
garyservin 0:fd24f7ca9688 153 *(outbuffer + offset + 0) = (u_m02.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 154 *(outbuffer + offset + 1) = (u_m02.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 155 *(outbuffer + offset + 2) = (u_m02.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 156 *(outbuffer + offset + 3) = (u_m02.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 157 *(outbuffer + offset + 4) = (u_m02.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 158 *(outbuffer + offset + 5) = (u_m02.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 159 *(outbuffer + offset + 6) = (u_m02.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 160 *(outbuffer + offset + 7) = (u_m02.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 161 offset += sizeof(this->m02);
garyservin 0:fd24f7ca9688 162 union {
garyservin 0:fd24f7ca9688 163 double real;
garyservin 0:fd24f7ca9688 164 uint64_t base;
garyservin 0:fd24f7ca9688 165 } u_m30;
garyservin 0:fd24f7ca9688 166 u_m30.real = this->m30;
garyservin 0:fd24f7ca9688 167 *(outbuffer + offset + 0) = (u_m30.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 168 *(outbuffer + offset + 1) = (u_m30.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 169 *(outbuffer + offset + 2) = (u_m30.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 170 *(outbuffer + offset + 3) = (u_m30.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 171 *(outbuffer + offset + 4) = (u_m30.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 172 *(outbuffer + offset + 5) = (u_m30.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 173 *(outbuffer + offset + 6) = (u_m30.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 174 *(outbuffer + offset + 7) = (u_m30.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 175 offset += sizeof(this->m30);
garyservin 0:fd24f7ca9688 176 union {
garyservin 0:fd24f7ca9688 177 double real;
garyservin 0:fd24f7ca9688 178 uint64_t base;
garyservin 0:fd24f7ca9688 179 } u_m21;
garyservin 0:fd24f7ca9688 180 u_m21.real = this->m21;
garyservin 0:fd24f7ca9688 181 *(outbuffer + offset + 0) = (u_m21.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 182 *(outbuffer + offset + 1) = (u_m21.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 183 *(outbuffer + offset + 2) = (u_m21.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 184 *(outbuffer + offset + 3) = (u_m21.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 185 *(outbuffer + offset + 4) = (u_m21.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 186 *(outbuffer + offset + 5) = (u_m21.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 187 *(outbuffer + offset + 6) = (u_m21.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 188 *(outbuffer + offset + 7) = (u_m21.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 189 offset += sizeof(this->m21);
garyservin 0:fd24f7ca9688 190 union {
garyservin 0:fd24f7ca9688 191 double real;
garyservin 0:fd24f7ca9688 192 uint64_t base;
garyservin 0:fd24f7ca9688 193 } u_m12;
garyservin 0:fd24f7ca9688 194 u_m12.real = this->m12;
garyservin 0:fd24f7ca9688 195 *(outbuffer + offset + 0) = (u_m12.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 196 *(outbuffer + offset + 1) = (u_m12.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 197 *(outbuffer + offset + 2) = (u_m12.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 198 *(outbuffer + offset + 3) = (u_m12.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 199 *(outbuffer + offset + 4) = (u_m12.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 200 *(outbuffer + offset + 5) = (u_m12.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 201 *(outbuffer + offset + 6) = (u_m12.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 202 *(outbuffer + offset + 7) = (u_m12.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 203 offset += sizeof(this->m12);
garyservin 0:fd24f7ca9688 204 union {
garyservin 0:fd24f7ca9688 205 double real;
garyservin 0:fd24f7ca9688 206 uint64_t base;
garyservin 0:fd24f7ca9688 207 } u_m03;
garyservin 0:fd24f7ca9688 208 u_m03.real = this->m03;
garyservin 0:fd24f7ca9688 209 *(outbuffer + offset + 0) = (u_m03.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 210 *(outbuffer + offset + 1) = (u_m03.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 211 *(outbuffer + offset + 2) = (u_m03.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 212 *(outbuffer + offset + 3) = (u_m03.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 213 *(outbuffer + offset + 4) = (u_m03.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 214 *(outbuffer + offset + 5) = (u_m03.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 215 *(outbuffer + offset + 6) = (u_m03.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 216 *(outbuffer + offset + 7) = (u_m03.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 217 offset += sizeof(this->m03);
garyservin 0:fd24f7ca9688 218 union {
garyservin 0:fd24f7ca9688 219 double real;
garyservin 0:fd24f7ca9688 220 uint64_t base;
garyservin 0:fd24f7ca9688 221 } u_mu20;
garyservin 0:fd24f7ca9688 222 u_mu20.real = this->mu20;
garyservin 0:fd24f7ca9688 223 *(outbuffer + offset + 0) = (u_mu20.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 224 *(outbuffer + offset + 1) = (u_mu20.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 225 *(outbuffer + offset + 2) = (u_mu20.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 226 *(outbuffer + offset + 3) = (u_mu20.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 227 *(outbuffer + offset + 4) = (u_mu20.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 228 *(outbuffer + offset + 5) = (u_mu20.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 229 *(outbuffer + offset + 6) = (u_mu20.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 230 *(outbuffer + offset + 7) = (u_mu20.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 231 offset += sizeof(this->mu20);
garyservin 0:fd24f7ca9688 232 union {
garyservin 0:fd24f7ca9688 233 double real;
garyservin 0:fd24f7ca9688 234 uint64_t base;
garyservin 0:fd24f7ca9688 235 } u_mu11;
garyservin 0:fd24f7ca9688 236 u_mu11.real = this->mu11;
garyservin 0:fd24f7ca9688 237 *(outbuffer + offset + 0) = (u_mu11.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 238 *(outbuffer + offset + 1) = (u_mu11.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 239 *(outbuffer + offset + 2) = (u_mu11.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 240 *(outbuffer + offset + 3) = (u_mu11.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 241 *(outbuffer + offset + 4) = (u_mu11.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 242 *(outbuffer + offset + 5) = (u_mu11.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 243 *(outbuffer + offset + 6) = (u_mu11.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 244 *(outbuffer + offset + 7) = (u_mu11.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 245 offset += sizeof(this->mu11);
garyservin 0:fd24f7ca9688 246 union {
garyservin 0:fd24f7ca9688 247 double real;
garyservin 0:fd24f7ca9688 248 uint64_t base;
garyservin 0:fd24f7ca9688 249 } u_mu02;
garyservin 0:fd24f7ca9688 250 u_mu02.real = this->mu02;
garyservin 0:fd24f7ca9688 251 *(outbuffer + offset + 0) = (u_mu02.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 252 *(outbuffer + offset + 1) = (u_mu02.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 253 *(outbuffer + offset + 2) = (u_mu02.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 254 *(outbuffer + offset + 3) = (u_mu02.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 255 *(outbuffer + offset + 4) = (u_mu02.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 256 *(outbuffer + offset + 5) = (u_mu02.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 257 *(outbuffer + offset + 6) = (u_mu02.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 258 *(outbuffer + offset + 7) = (u_mu02.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 259 offset += sizeof(this->mu02);
garyservin 0:fd24f7ca9688 260 union {
garyservin 0:fd24f7ca9688 261 double real;
garyservin 0:fd24f7ca9688 262 uint64_t base;
garyservin 0:fd24f7ca9688 263 } u_mu30;
garyservin 0:fd24f7ca9688 264 u_mu30.real = this->mu30;
garyservin 0:fd24f7ca9688 265 *(outbuffer + offset + 0) = (u_mu30.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 266 *(outbuffer + offset + 1) = (u_mu30.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 267 *(outbuffer + offset + 2) = (u_mu30.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 268 *(outbuffer + offset + 3) = (u_mu30.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 269 *(outbuffer + offset + 4) = (u_mu30.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 270 *(outbuffer + offset + 5) = (u_mu30.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 271 *(outbuffer + offset + 6) = (u_mu30.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 272 *(outbuffer + offset + 7) = (u_mu30.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 273 offset += sizeof(this->mu30);
garyservin 0:fd24f7ca9688 274 union {
garyservin 0:fd24f7ca9688 275 double real;
garyservin 0:fd24f7ca9688 276 uint64_t base;
garyservin 0:fd24f7ca9688 277 } u_mu21;
garyservin 0:fd24f7ca9688 278 u_mu21.real = this->mu21;
garyservin 0:fd24f7ca9688 279 *(outbuffer + offset + 0) = (u_mu21.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 280 *(outbuffer + offset + 1) = (u_mu21.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 281 *(outbuffer + offset + 2) = (u_mu21.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 282 *(outbuffer + offset + 3) = (u_mu21.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 283 *(outbuffer + offset + 4) = (u_mu21.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 284 *(outbuffer + offset + 5) = (u_mu21.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 285 *(outbuffer + offset + 6) = (u_mu21.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 286 *(outbuffer + offset + 7) = (u_mu21.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 287 offset += sizeof(this->mu21);
garyservin 0:fd24f7ca9688 288 union {
garyservin 0:fd24f7ca9688 289 double real;
garyservin 0:fd24f7ca9688 290 uint64_t base;
garyservin 0:fd24f7ca9688 291 } u_mu12;
garyservin 0:fd24f7ca9688 292 u_mu12.real = this->mu12;
garyservin 0:fd24f7ca9688 293 *(outbuffer + offset + 0) = (u_mu12.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 294 *(outbuffer + offset + 1) = (u_mu12.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 295 *(outbuffer + offset + 2) = (u_mu12.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 296 *(outbuffer + offset + 3) = (u_mu12.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 297 *(outbuffer + offset + 4) = (u_mu12.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 298 *(outbuffer + offset + 5) = (u_mu12.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 299 *(outbuffer + offset + 6) = (u_mu12.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 300 *(outbuffer + offset + 7) = (u_mu12.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 301 offset += sizeof(this->mu12);
garyservin 0:fd24f7ca9688 302 union {
garyservin 0:fd24f7ca9688 303 double real;
garyservin 0:fd24f7ca9688 304 uint64_t base;
garyservin 0:fd24f7ca9688 305 } u_mu03;
garyservin 0:fd24f7ca9688 306 u_mu03.real = this->mu03;
garyservin 0:fd24f7ca9688 307 *(outbuffer + offset + 0) = (u_mu03.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 308 *(outbuffer + offset + 1) = (u_mu03.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 309 *(outbuffer + offset + 2) = (u_mu03.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 310 *(outbuffer + offset + 3) = (u_mu03.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 311 *(outbuffer + offset + 4) = (u_mu03.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 312 *(outbuffer + offset + 5) = (u_mu03.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 313 *(outbuffer + offset + 6) = (u_mu03.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 314 *(outbuffer + offset + 7) = (u_mu03.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 315 offset += sizeof(this->mu03);
garyservin 0:fd24f7ca9688 316 union {
garyservin 0:fd24f7ca9688 317 double real;
garyservin 0:fd24f7ca9688 318 uint64_t base;
garyservin 0:fd24f7ca9688 319 } u_nu20;
garyservin 0:fd24f7ca9688 320 u_nu20.real = this->nu20;
garyservin 0:fd24f7ca9688 321 *(outbuffer + offset + 0) = (u_nu20.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 322 *(outbuffer + offset + 1) = (u_nu20.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 323 *(outbuffer + offset + 2) = (u_nu20.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 324 *(outbuffer + offset + 3) = (u_nu20.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 325 *(outbuffer + offset + 4) = (u_nu20.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 326 *(outbuffer + offset + 5) = (u_nu20.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 327 *(outbuffer + offset + 6) = (u_nu20.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 328 *(outbuffer + offset + 7) = (u_nu20.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 329 offset += sizeof(this->nu20);
garyservin 0:fd24f7ca9688 330 union {
garyservin 0:fd24f7ca9688 331 double real;
garyservin 0:fd24f7ca9688 332 uint64_t base;
garyservin 0:fd24f7ca9688 333 } u_nu11;
garyservin 0:fd24f7ca9688 334 u_nu11.real = this->nu11;
garyservin 0:fd24f7ca9688 335 *(outbuffer + offset + 0) = (u_nu11.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 336 *(outbuffer + offset + 1) = (u_nu11.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 337 *(outbuffer + offset + 2) = (u_nu11.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 338 *(outbuffer + offset + 3) = (u_nu11.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 339 *(outbuffer + offset + 4) = (u_nu11.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 340 *(outbuffer + offset + 5) = (u_nu11.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 341 *(outbuffer + offset + 6) = (u_nu11.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 342 *(outbuffer + offset + 7) = (u_nu11.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 343 offset += sizeof(this->nu11);
garyservin 0:fd24f7ca9688 344 union {
garyservin 0:fd24f7ca9688 345 double real;
garyservin 0:fd24f7ca9688 346 uint64_t base;
garyservin 0:fd24f7ca9688 347 } u_nu02;
garyservin 0:fd24f7ca9688 348 u_nu02.real = this->nu02;
garyservin 0:fd24f7ca9688 349 *(outbuffer + offset + 0) = (u_nu02.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 350 *(outbuffer + offset + 1) = (u_nu02.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 351 *(outbuffer + offset + 2) = (u_nu02.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 352 *(outbuffer + offset + 3) = (u_nu02.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 353 *(outbuffer + offset + 4) = (u_nu02.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 354 *(outbuffer + offset + 5) = (u_nu02.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 355 *(outbuffer + offset + 6) = (u_nu02.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 356 *(outbuffer + offset + 7) = (u_nu02.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 357 offset += sizeof(this->nu02);
garyservin 0:fd24f7ca9688 358 union {
garyservin 0:fd24f7ca9688 359 double real;
garyservin 0:fd24f7ca9688 360 uint64_t base;
garyservin 0:fd24f7ca9688 361 } u_nu30;
garyservin 0:fd24f7ca9688 362 u_nu30.real = this->nu30;
garyservin 0:fd24f7ca9688 363 *(outbuffer + offset + 0) = (u_nu30.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 364 *(outbuffer + offset + 1) = (u_nu30.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 365 *(outbuffer + offset + 2) = (u_nu30.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 366 *(outbuffer + offset + 3) = (u_nu30.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 367 *(outbuffer + offset + 4) = (u_nu30.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 368 *(outbuffer + offset + 5) = (u_nu30.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 369 *(outbuffer + offset + 6) = (u_nu30.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 370 *(outbuffer + offset + 7) = (u_nu30.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 371 offset += sizeof(this->nu30);
garyservin 0:fd24f7ca9688 372 union {
garyservin 0:fd24f7ca9688 373 double real;
garyservin 0:fd24f7ca9688 374 uint64_t base;
garyservin 0:fd24f7ca9688 375 } u_nu21;
garyservin 0:fd24f7ca9688 376 u_nu21.real = this->nu21;
garyservin 0:fd24f7ca9688 377 *(outbuffer + offset + 0) = (u_nu21.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 378 *(outbuffer + offset + 1) = (u_nu21.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 379 *(outbuffer + offset + 2) = (u_nu21.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 380 *(outbuffer + offset + 3) = (u_nu21.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 381 *(outbuffer + offset + 4) = (u_nu21.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 382 *(outbuffer + offset + 5) = (u_nu21.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 383 *(outbuffer + offset + 6) = (u_nu21.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 384 *(outbuffer + offset + 7) = (u_nu21.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 385 offset += sizeof(this->nu21);
garyservin 0:fd24f7ca9688 386 union {
garyservin 0:fd24f7ca9688 387 double real;
garyservin 0:fd24f7ca9688 388 uint64_t base;
garyservin 0:fd24f7ca9688 389 } u_nu12;
garyservin 0:fd24f7ca9688 390 u_nu12.real = this->nu12;
garyservin 0:fd24f7ca9688 391 *(outbuffer + offset + 0) = (u_nu12.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 392 *(outbuffer + offset + 1) = (u_nu12.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 393 *(outbuffer + offset + 2) = (u_nu12.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 394 *(outbuffer + offset + 3) = (u_nu12.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 395 *(outbuffer + offset + 4) = (u_nu12.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 396 *(outbuffer + offset + 5) = (u_nu12.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 397 *(outbuffer + offset + 6) = (u_nu12.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 398 *(outbuffer + offset + 7) = (u_nu12.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 399 offset += sizeof(this->nu12);
garyservin 0:fd24f7ca9688 400 union {
garyservin 0:fd24f7ca9688 401 double real;
garyservin 0:fd24f7ca9688 402 uint64_t base;
garyservin 0:fd24f7ca9688 403 } u_nu03;
garyservin 0:fd24f7ca9688 404 u_nu03.real = this->nu03;
garyservin 0:fd24f7ca9688 405 *(outbuffer + offset + 0) = (u_nu03.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 406 *(outbuffer + offset + 1) = (u_nu03.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 407 *(outbuffer + offset + 2) = (u_nu03.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 408 *(outbuffer + offset + 3) = (u_nu03.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 409 *(outbuffer + offset + 4) = (u_nu03.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 410 *(outbuffer + offset + 5) = (u_nu03.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 411 *(outbuffer + offset + 6) = (u_nu03.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 412 *(outbuffer + offset + 7) = (u_nu03.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 413 offset += sizeof(this->nu03);
garyservin 0:fd24f7ca9688 414 offset += this->center.serialize(outbuffer + offset);
garyservin 0:fd24f7ca9688 415 union {
garyservin 0:fd24f7ca9688 416 double real;
garyservin 0:fd24f7ca9688 417 uint64_t base;
garyservin 0:fd24f7ca9688 418 } u_length;
garyservin 0:fd24f7ca9688 419 u_length.real = this->length;
garyservin 0:fd24f7ca9688 420 *(outbuffer + offset + 0) = (u_length.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 421 *(outbuffer + offset + 1) = (u_length.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 422 *(outbuffer + offset + 2) = (u_length.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 423 *(outbuffer + offset + 3) = (u_length.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 424 *(outbuffer + offset + 4) = (u_length.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 425 *(outbuffer + offset + 5) = (u_length.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 426 *(outbuffer + offset + 6) = (u_length.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 427 *(outbuffer + offset + 7) = (u_length.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 428 offset += sizeof(this->length);
garyservin 0:fd24f7ca9688 429 union {
garyservin 0:fd24f7ca9688 430 double real;
garyservin 0:fd24f7ca9688 431 uint64_t base;
garyservin 0:fd24f7ca9688 432 } u_area;
garyservin 0:fd24f7ca9688 433 u_area.real = this->area;
garyservin 0:fd24f7ca9688 434 *(outbuffer + offset + 0) = (u_area.base >> (8 * 0)) & 0xFF;
garyservin 0:fd24f7ca9688 435 *(outbuffer + offset + 1) = (u_area.base >> (8 * 1)) & 0xFF;
garyservin 0:fd24f7ca9688 436 *(outbuffer + offset + 2) = (u_area.base >> (8 * 2)) & 0xFF;
garyservin 0:fd24f7ca9688 437 *(outbuffer + offset + 3) = (u_area.base >> (8 * 3)) & 0xFF;
garyservin 0:fd24f7ca9688 438 *(outbuffer + offset + 4) = (u_area.base >> (8 * 4)) & 0xFF;
garyservin 0:fd24f7ca9688 439 *(outbuffer + offset + 5) = (u_area.base >> (8 * 5)) & 0xFF;
garyservin 0:fd24f7ca9688 440 *(outbuffer + offset + 6) = (u_area.base >> (8 * 6)) & 0xFF;
garyservin 0:fd24f7ca9688 441 *(outbuffer + offset + 7) = (u_area.base >> (8 * 7)) & 0xFF;
garyservin 0:fd24f7ca9688 442 offset += sizeof(this->area);
garyservin 0:fd24f7ca9688 443 return offset;
garyservin 0:fd24f7ca9688 444 }
garyservin 0:fd24f7ca9688 445
garyservin 0:fd24f7ca9688 446 virtual int deserialize(unsigned char *inbuffer)
garyservin 0:fd24f7ca9688 447 {
garyservin 0:fd24f7ca9688 448 int offset = 0;
garyservin 0:fd24f7ca9688 449 union {
garyservin 0:fd24f7ca9688 450 double real;
garyservin 0:fd24f7ca9688 451 uint64_t base;
garyservin 0:fd24f7ca9688 452 } u_m00;
garyservin 0:fd24f7ca9688 453 u_m00.base = 0;
garyservin 0:fd24f7ca9688 454 u_m00.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 455 u_m00.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 456 u_m00.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 457 u_m00.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 458 u_m00.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 459 u_m00.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 460 u_m00.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 461 u_m00.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 462 this->m00 = u_m00.real;
garyservin 0:fd24f7ca9688 463 offset += sizeof(this->m00);
garyservin 0:fd24f7ca9688 464 union {
garyservin 0:fd24f7ca9688 465 double real;
garyservin 0:fd24f7ca9688 466 uint64_t base;
garyservin 0:fd24f7ca9688 467 } u_m10;
garyservin 0:fd24f7ca9688 468 u_m10.base = 0;
garyservin 0:fd24f7ca9688 469 u_m10.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 470 u_m10.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 471 u_m10.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 472 u_m10.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 473 u_m10.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 474 u_m10.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 475 u_m10.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 476 u_m10.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 477 this->m10 = u_m10.real;
garyservin 0:fd24f7ca9688 478 offset += sizeof(this->m10);
garyservin 0:fd24f7ca9688 479 union {
garyservin 0:fd24f7ca9688 480 double real;
garyservin 0:fd24f7ca9688 481 uint64_t base;
garyservin 0:fd24f7ca9688 482 } u_m01;
garyservin 0:fd24f7ca9688 483 u_m01.base = 0;
garyservin 0:fd24f7ca9688 484 u_m01.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 485 u_m01.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 486 u_m01.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 487 u_m01.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 488 u_m01.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 489 u_m01.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 490 u_m01.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 491 u_m01.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 492 this->m01 = u_m01.real;
garyservin 0:fd24f7ca9688 493 offset += sizeof(this->m01);
garyservin 0:fd24f7ca9688 494 union {
garyservin 0:fd24f7ca9688 495 double real;
garyservin 0:fd24f7ca9688 496 uint64_t base;
garyservin 0:fd24f7ca9688 497 } u_m20;
garyservin 0:fd24f7ca9688 498 u_m20.base = 0;
garyservin 0:fd24f7ca9688 499 u_m20.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 500 u_m20.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 501 u_m20.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 502 u_m20.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 503 u_m20.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 504 u_m20.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 505 u_m20.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 506 u_m20.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 507 this->m20 = u_m20.real;
garyservin 0:fd24f7ca9688 508 offset += sizeof(this->m20);
garyservin 0:fd24f7ca9688 509 union {
garyservin 0:fd24f7ca9688 510 double real;
garyservin 0:fd24f7ca9688 511 uint64_t base;
garyservin 0:fd24f7ca9688 512 } u_m11;
garyservin 0:fd24f7ca9688 513 u_m11.base = 0;
garyservin 0:fd24f7ca9688 514 u_m11.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 515 u_m11.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 516 u_m11.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 517 u_m11.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 518 u_m11.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 519 u_m11.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 520 u_m11.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 521 u_m11.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 522 this->m11 = u_m11.real;
garyservin 0:fd24f7ca9688 523 offset += sizeof(this->m11);
garyservin 0:fd24f7ca9688 524 union {
garyservin 0:fd24f7ca9688 525 double real;
garyservin 0:fd24f7ca9688 526 uint64_t base;
garyservin 0:fd24f7ca9688 527 } u_m02;
garyservin 0:fd24f7ca9688 528 u_m02.base = 0;
garyservin 0:fd24f7ca9688 529 u_m02.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 530 u_m02.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 531 u_m02.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 532 u_m02.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 533 u_m02.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 534 u_m02.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 535 u_m02.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 536 u_m02.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 537 this->m02 = u_m02.real;
garyservin 0:fd24f7ca9688 538 offset += sizeof(this->m02);
garyservin 0:fd24f7ca9688 539 union {
garyservin 0:fd24f7ca9688 540 double real;
garyservin 0:fd24f7ca9688 541 uint64_t base;
garyservin 0:fd24f7ca9688 542 } u_m30;
garyservin 0:fd24f7ca9688 543 u_m30.base = 0;
garyservin 0:fd24f7ca9688 544 u_m30.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 545 u_m30.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 546 u_m30.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 547 u_m30.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 548 u_m30.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 549 u_m30.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 550 u_m30.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 551 u_m30.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 552 this->m30 = u_m30.real;
garyservin 0:fd24f7ca9688 553 offset += sizeof(this->m30);
garyservin 0:fd24f7ca9688 554 union {
garyservin 0:fd24f7ca9688 555 double real;
garyservin 0:fd24f7ca9688 556 uint64_t base;
garyservin 0:fd24f7ca9688 557 } u_m21;
garyservin 0:fd24f7ca9688 558 u_m21.base = 0;
garyservin 0:fd24f7ca9688 559 u_m21.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 560 u_m21.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 561 u_m21.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 562 u_m21.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 563 u_m21.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 564 u_m21.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 565 u_m21.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 566 u_m21.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 567 this->m21 = u_m21.real;
garyservin 0:fd24f7ca9688 568 offset += sizeof(this->m21);
garyservin 0:fd24f7ca9688 569 union {
garyservin 0:fd24f7ca9688 570 double real;
garyservin 0:fd24f7ca9688 571 uint64_t base;
garyservin 0:fd24f7ca9688 572 } u_m12;
garyservin 0:fd24f7ca9688 573 u_m12.base = 0;
garyservin 0:fd24f7ca9688 574 u_m12.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 575 u_m12.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 576 u_m12.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 577 u_m12.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 578 u_m12.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 579 u_m12.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 580 u_m12.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 581 u_m12.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 582 this->m12 = u_m12.real;
garyservin 0:fd24f7ca9688 583 offset += sizeof(this->m12);
garyservin 0:fd24f7ca9688 584 union {
garyservin 0:fd24f7ca9688 585 double real;
garyservin 0:fd24f7ca9688 586 uint64_t base;
garyservin 0:fd24f7ca9688 587 } u_m03;
garyservin 0:fd24f7ca9688 588 u_m03.base = 0;
garyservin 0:fd24f7ca9688 589 u_m03.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 590 u_m03.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 591 u_m03.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 592 u_m03.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 593 u_m03.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 594 u_m03.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 595 u_m03.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 596 u_m03.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 597 this->m03 = u_m03.real;
garyservin 0:fd24f7ca9688 598 offset += sizeof(this->m03);
garyservin 0:fd24f7ca9688 599 union {
garyservin 0:fd24f7ca9688 600 double real;
garyservin 0:fd24f7ca9688 601 uint64_t base;
garyservin 0:fd24f7ca9688 602 } u_mu20;
garyservin 0:fd24f7ca9688 603 u_mu20.base = 0;
garyservin 0:fd24f7ca9688 604 u_mu20.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 605 u_mu20.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 606 u_mu20.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 607 u_mu20.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 608 u_mu20.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 609 u_mu20.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 610 u_mu20.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 611 u_mu20.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 612 this->mu20 = u_mu20.real;
garyservin 0:fd24f7ca9688 613 offset += sizeof(this->mu20);
garyservin 0:fd24f7ca9688 614 union {
garyservin 0:fd24f7ca9688 615 double real;
garyservin 0:fd24f7ca9688 616 uint64_t base;
garyservin 0:fd24f7ca9688 617 } u_mu11;
garyservin 0:fd24f7ca9688 618 u_mu11.base = 0;
garyservin 0:fd24f7ca9688 619 u_mu11.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 620 u_mu11.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 621 u_mu11.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 622 u_mu11.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 623 u_mu11.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 624 u_mu11.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 625 u_mu11.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 626 u_mu11.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 627 this->mu11 = u_mu11.real;
garyservin 0:fd24f7ca9688 628 offset += sizeof(this->mu11);
garyservin 0:fd24f7ca9688 629 union {
garyservin 0:fd24f7ca9688 630 double real;
garyservin 0:fd24f7ca9688 631 uint64_t base;
garyservin 0:fd24f7ca9688 632 } u_mu02;
garyservin 0:fd24f7ca9688 633 u_mu02.base = 0;
garyservin 0:fd24f7ca9688 634 u_mu02.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 635 u_mu02.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 636 u_mu02.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 637 u_mu02.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 638 u_mu02.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 639 u_mu02.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 640 u_mu02.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 641 u_mu02.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 642 this->mu02 = u_mu02.real;
garyservin 0:fd24f7ca9688 643 offset += sizeof(this->mu02);
garyservin 0:fd24f7ca9688 644 union {
garyservin 0:fd24f7ca9688 645 double real;
garyservin 0:fd24f7ca9688 646 uint64_t base;
garyservin 0:fd24f7ca9688 647 } u_mu30;
garyservin 0:fd24f7ca9688 648 u_mu30.base = 0;
garyservin 0:fd24f7ca9688 649 u_mu30.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 650 u_mu30.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 651 u_mu30.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 652 u_mu30.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 653 u_mu30.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 654 u_mu30.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 655 u_mu30.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 656 u_mu30.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 657 this->mu30 = u_mu30.real;
garyservin 0:fd24f7ca9688 658 offset += sizeof(this->mu30);
garyservin 0:fd24f7ca9688 659 union {
garyservin 0:fd24f7ca9688 660 double real;
garyservin 0:fd24f7ca9688 661 uint64_t base;
garyservin 0:fd24f7ca9688 662 } u_mu21;
garyservin 0:fd24f7ca9688 663 u_mu21.base = 0;
garyservin 0:fd24f7ca9688 664 u_mu21.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 665 u_mu21.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 666 u_mu21.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 667 u_mu21.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 668 u_mu21.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 669 u_mu21.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 670 u_mu21.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 671 u_mu21.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 672 this->mu21 = u_mu21.real;
garyservin 0:fd24f7ca9688 673 offset += sizeof(this->mu21);
garyservin 0:fd24f7ca9688 674 union {
garyservin 0:fd24f7ca9688 675 double real;
garyservin 0:fd24f7ca9688 676 uint64_t base;
garyservin 0:fd24f7ca9688 677 } u_mu12;
garyservin 0:fd24f7ca9688 678 u_mu12.base = 0;
garyservin 0:fd24f7ca9688 679 u_mu12.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 680 u_mu12.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 681 u_mu12.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 682 u_mu12.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 683 u_mu12.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 684 u_mu12.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 685 u_mu12.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 686 u_mu12.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 687 this->mu12 = u_mu12.real;
garyservin 0:fd24f7ca9688 688 offset += sizeof(this->mu12);
garyservin 0:fd24f7ca9688 689 union {
garyservin 0:fd24f7ca9688 690 double real;
garyservin 0:fd24f7ca9688 691 uint64_t base;
garyservin 0:fd24f7ca9688 692 } u_mu03;
garyservin 0:fd24f7ca9688 693 u_mu03.base = 0;
garyservin 0:fd24f7ca9688 694 u_mu03.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 695 u_mu03.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 696 u_mu03.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 697 u_mu03.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 698 u_mu03.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 699 u_mu03.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 700 u_mu03.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 701 u_mu03.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 702 this->mu03 = u_mu03.real;
garyservin 0:fd24f7ca9688 703 offset += sizeof(this->mu03);
garyservin 0:fd24f7ca9688 704 union {
garyservin 0:fd24f7ca9688 705 double real;
garyservin 0:fd24f7ca9688 706 uint64_t base;
garyservin 0:fd24f7ca9688 707 } u_nu20;
garyservin 0:fd24f7ca9688 708 u_nu20.base = 0;
garyservin 0:fd24f7ca9688 709 u_nu20.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 710 u_nu20.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 711 u_nu20.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 712 u_nu20.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 713 u_nu20.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 714 u_nu20.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 715 u_nu20.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 716 u_nu20.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 717 this->nu20 = u_nu20.real;
garyservin 0:fd24f7ca9688 718 offset += sizeof(this->nu20);
garyservin 0:fd24f7ca9688 719 union {
garyservin 0:fd24f7ca9688 720 double real;
garyservin 0:fd24f7ca9688 721 uint64_t base;
garyservin 0:fd24f7ca9688 722 } u_nu11;
garyservin 0:fd24f7ca9688 723 u_nu11.base = 0;
garyservin 0:fd24f7ca9688 724 u_nu11.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 725 u_nu11.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 726 u_nu11.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 727 u_nu11.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 728 u_nu11.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 729 u_nu11.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 730 u_nu11.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 731 u_nu11.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 732 this->nu11 = u_nu11.real;
garyservin 0:fd24f7ca9688 733 offset += sizeof(this->nu11);
garyservin 0:fd24f7ca9688 734 union {
garyservin 0:fd24f7ca9688 735 double real;
garyservin 0:fd24f7ca9688 736 uint64_t base;
garyservin 0:fd24f7ca9688 737 } u_nu02;
garyservin 0:fd24f7ca9688 738 u_nu02.base = 0;
garyservin 0:fd24f7ca9688 739 u_nu02.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 740 u_nu02.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 741 u_nu02.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 742 u_nu02.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 743 u_nu02.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 744 u_nu02.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 745 u_nu02.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 746 u_nu02.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 747 this->nu02 = u_nu02.real;
garyservin 0:fd24f7ca9688 748 offset += sizeof(this->nu02);
garyservin 0:fd24f7ca9688 749 union {
garyservin 0:fd24f7ca9688 750 double real;
garyservin 0:fd24f7ca9688 751 uint64_t base;
garyservin 0:fd24f7ca9688 752 } u_nu30;
garyservin 0:fd24f7ca9688 753 u_nu30.base = 0;
garyservin 0:fd24f7ca9688 754 u_nu30.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 755 u_nu30.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 756 u_nu30.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 757 u_nu30.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 758 u_nu30.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 759 u_nu30.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 760 u_nu30.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 761 u_nu30.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 762 this->nu30 = u_nu30.real;
garyservin 0:fd24f7ca9688 763 offset += sizeof(this->nu30);
garyservin 0:fd24f7ca9688 764 union {
garyservin 0:fd24f7ca9688 765 double real;
garyservin 0:fd24f7ca9688 766 uint64_t base;
garyservin 0:fd24f7ca9688 767 } u_nu21;
garyservin 0:fd24f7ca9688 768 u_nu21.base = 0;
garyservin 0:fd24f7ca9688 769 u_nu21.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 770 u_nu21.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 771 u_nu21.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 772 u_nu21.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 773 u_nu21.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 774 u_nu21.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 775 u_nu21.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 776 u_nu21.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 777 this->nu21 = u_nu21.real;
garyservin 0:fd24f7ca9688 778 offset += sizeof(this->nu21);
garyservin 0:fd24f7ca9688 779 union {
garyservin 0:fd24f7ca9688 780 double real;
garyservin 0:fd24f7ca9688 781 uint64_t base;
garyservin 0:fd24f7ca9688 782 } u_nu12;
garyservin 0:fd24f7ca9688 783 u_nu12.base = 0;
garyservin 0:fd24f7ca9688 784 u_nu12.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 785 u_nu12.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 786 u_nu12.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 787 u_nu12.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 788 u_nu12.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 789 u_nu12.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 790 u_nu12.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 791 u_nu12.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 792 this->nu12 = u_nu12.real;
garyservin 0:fd24f7ca9688 793 offset += sizeof(this->nu12);
garyservin 0:fd24f7ca9688 794 union {
garyservin 0:fd24f7ca9688 795 double real;
garyservin 0:fd24f7ca9688 796 uint64_t base;
garyservin 0:fd24f7ca9688 797 } u_nu03;
garyservin 0:fd24f7ca9688 798 u_nu03.base = 0;
garyservin 0:fd24f7ca9688 799 u_nu03.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 800 u_nu03.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 801 u_nu03.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 802 u_nu03.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 803 u_nu03.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 804 u_nu03.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 805 u_nu03.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 806 u_nu03.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 807 this->nu03 = u_nu03.real;
garyservin 0:fd24f7ca9688 808 offset += sizeof(this->nu03);
garyservin 0:fd24f7ca9688 809 offset += this->center.deserialize(inbuffer + offset);
garyservin 0:fd24f7ca9688 810 union {
garyservin 0:fd24f7ca9688 811 double real;
garyservin 0:fd24f7ca9688 812 uint64_t base;
garyservin 0:fd24f7ca9688 813 } u_length;
garyservin 0:fd24f7ca9688 814 u_length.base = 0;
garyservin 0:fd24f7ca9688 815 u_length.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 816 u_length.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 817 u_length.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 818 u_length.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 819 u_length.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 820 u_length.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 821 u_length.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 822 u_length.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 823 this->length = u_length.real;
garyservin 0:fd24f7ca9688 824 offset += sizeof(this->length);
garyservin 0:fd24f7ca9688 825 union {
garyservin 0:fd24f7ca9688 826 double real;
garyservin 0:fd24f7ca9688 827 uint64_t base;
garyservin 0:fd24f7ca9688 828 } u_area;
garyservin 0:fd24f7ca9688 829 u_area.base = 0;
garyservin 0:fd24f7ca9688 830 u_area.base |= ((uint64_t) (*(inbuffer + offset + 0))) << (8 * 0);
garyservin 0:fd24f7ca9688 831 u_area.base |= ((uint64_t) (*(inbuffer + offset + 1))) << (8 * 1);
garyservin 0:fd24f7ca9688 832 u_area.base |= ((uint64_t) (*(inbuffer + offset + 2))) << (8 * 2);
garyservin 0:fd24f7ca9688 833 u_area.base |= ((uint64_t) (*(inbuffer + offset + 3))) << (8 * 3);
garyservin 0:fd24f7ca9688 834 u_area.base |= ((uint64_t) (*(inbuffer + offset + 4))) << (8 * 4);
garyservin 0:fd24f7ca9688 835 u_area.base |= ((uint64_t) (*(inbuffer + offset + 5))) << (8 * 5);
garyservin 0:fd24f7ca9688 836 u_area.base |= ((uint64_t) (*(inbuffer + offset + 6))) << (8 * 6);
garyservin 0:fd24f7ca9688 837 u_area.base |= ((uint64_t) (*(inbuffer + offset + 7))) << (8 * 7);
garyservin 0:fd24f7ca9688 838 this->area = u_area.real;
garyservin 0:fd24f7ca9688 839 offset += sizeof(this->area);
garyservin 0:fd24f7ca9688 840 return offset;
garyservin 0:fd24f7ca9688 841 }
garyservin 0:fd24f7ca9688 842
garyservin 0:fd24f7ca9688 843 const char * getType(){ return "opencv_apps/Moment"; };
garyservin 0:fd24f7ca9688 844 const char * getMD5(){ return "560ee3fabfffb4ed4155742d6db8a03c"; };
garyservin 0:fd24f7ca9688 845
garyservin 0:fd24f7ca9688 846 };
garyservin 0:fd24f7ca9688 847
garyservin 0:fd24f7ca9688 848 }
garyservin 0:fd24f7ca9688 849 #endif