1 #ifndef _ROS_std_msgs_Int16_h
2 #define _ROS_std_msgs_Int16_h
22 virtual int serialize(
unsigned char *outbuffer)
const
29 u_data.real = this->
data;
30 *(outbuffer + offset + 0) = (u_data.base >> (8 * 0)) & 0xFF;
31 *(outbuffer + offset + 1) = (u_data.base >> (8 * 1)) & 0xFF;
32 offset +=
sizeof(this->
data);
44 u_data.base |= ((uint16_t) (*(inbuffer + offset + 0))) << (8 * 0);
45 u_data.base |= ((uint16_t) (*(inbuffer + offset + 1))) << (8 * 1);
46 this->
data = u_data.real;
47 offset +=
sizeof(this->
data);
51 const char *
getType(){
return "std_msgs/Int16"; };
52 const char *
getMD5(){
return "8524586e34fbd7cb1c08c5f5f1ca0e57"; };
virtual int deserialize(unsigned char *inbuffer)
Definition: Int16.h:36
const char * getMD5()
Definition: Int16.h:52
Int16()
Definition: Int16.h:17
virtual int serialize(unsigned char *outbuffer) const
Definition: Int16.h:22
int16_t data
Definition: Int16.h:15
const char * getType()
Definition: Int16.h:51