1 #ifndef _ROS_rosabridge_msgs_Duplex_h 2 #define _ROS_rosabridge_msgs_Duplex_h 18 virtual int serialize(
unsigned char *outbuffer)
const 26 *(outbuffer + offset + 0) = (u_a.base >> (8 * 0)) & 0xFF;
27 *(outbuffer + offset + 1) = (u_a.base >> (8 * 1)) & 0xFF;
28 *(outbuffer + offset + 2) = (u_a.base >> (8 * 2)) & 0xFF;
29 *(outbuffer + offset + 3) = (u_a.base >> (8 * 3)) & 0xFF;
30 offset +=
sizeof(this->
a);
36 *(outbuffer + offset + 0) = (u_b.base >> (8 * 0)) & 0xFF;
37 *(outbuffer + offset + 1) = (u_b.base >> (8 * 1)) & 0xFF;
38 *(outbuffer + offset + 2) = (u_b.base >> (8 * 2)) & 0xFF;
39 *(outbuffer + offset + 3) = (u_b.base >> (8 * 3)) & 0xFF;
40 offset +=
sizeof(this->
b);
52 u_a.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
53 u_a.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
54 u_a.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
55 u_a.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
57 offset +=
sizeof(this->
a);
63 u_b.base |= ((uint32_t) (*(inbuffer + offset + 0))) << (8 * 0);
64 u_b.base |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
65 u_b.base |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
66 u_b.base |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
68 offset +=
sizeof(this->
b);
72 const char *
getType(){
return "rosabridge_msgs/Duplex"; };
73 const char *
getMD5(){
return "3f6326d24b4937f854196fd3a843f42e"; };
virtual int serialize(unsigned char *outbuffer) const
virtual int deserialize(unsigned char *inbuffer)