00001
00002 #ifndef VREP_COMMON_MESSAGE_JOINTSETSTATEDATA_H
00003 #define VREP_COMMON_MESSAGE_JOINTSETSTATEDATA_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "std_msgs/Int32MultiArray.h"
00018 #include "std_msgs/UInt8MultiArray.h"
00019 #include "std_msgs/Float32MultiArray.h"
00020
00021 namespace vrep_common
00022 {
00023 template <class ContainerAllocator>
00024 struct JointSetStateData_ {
00025 typedef JointSetStateData_<ContainerAllocator> Type;
00026
00027 JointSetStateData_()
00028 : handles()
00029 , setModes()
00030 , values()
00031 {
00032 }
00033
00034 JointSetStateData_(const ContainerAllocator& _alloc)
00035 : handles(_alloc)
00036 , setModes(_alloc)
00037 , values(_alloc)
00038 {
00039 }
00040
00041 typedef ::std_msgs::Int32MultiArray_<ContainerAllocator> _handles_type;
00042 ::std_msgs::Int32MultiArray_<ContainerAllocator> handles;
00043
00044 typedef ::std_msgs::UInt8MultiArray_<ContainerAllocator> _setModes_type;
00045 ::std_msgs::UInt8MultiArray_<ContainerAllocator> setModes;
00046
00047 typedef ::std_msgs::Float32MultiArray_<ContainerAllocator> _values_type;
00048 ::std_msgs::Float32MultiArray_<ContainerAllocator> values;
00049
00050
00051 typedef boost::shared_ptr< ::vrep_common::JointSetStateData_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::vrep_common::JointSetStateData_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::vrep_common::JointSetStateData_<std::allocator<void> > JointSetStateData;
00056
00057 typedef boost::shared_ptr< ::vrep_common::JointSetStateData> JointSetStateDataPtr;
00058 typedef boost::shared_ptr< ::vrep_common::JointSetStateData const> JointSetStateDataConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::vrep_common::JointSetStateData_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::vrep_common::JointSetStateData_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::vrep_common::JointSetStateData_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::vrep_common::JointSetStateData_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::vrep_common::JointSetStateData_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "bd1161cd602435f02e226bb73e4acdb9";
00080 }
00081
00082 static const char* value(const ::vrep_common::JointSetStateData_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0xbd1161cd602435f0ULL;
00084 static const uint64_t static_value2 = 0x2e226bb73e4acdb9ULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::vrep_common::JointSetStateData_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "vrep_common/JointSetStateData";
00092 }
00093
00094 static const char* value(const ::vrep_common::JointSetStateData_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::vrep_common::JointSetStateData_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "std_msgs/Int32MultiArray handles\n\
00102 std_msgs/UInt8MultiArray setModes\n\
00103 std_msgs/Float32MultiArray values\n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Int32MultiArray\n\
00107 # Please look at the MultiArrayLayout message definition for\n\
00108 # documentation on all multiarrays.\n\
00109 \n\
00110 MultiArrayLayout layout # specification of data layout\n\
00111 int32[] data # array of data\n\
00112 \n\
00113 \n\
00114 ================================================================================\n\
00115 MSG: std_msgs/MultiArrayLayout\n\
00116 # The multiarray declares a generic multi-dimensional array of a\n\
00117 # particular data type. Dimensions are ordered from outer most\n\
00118 # to inner most.\n\
00119 \n\
00120 MultiArrayDimension[] dim # Array of dimension properties\n\
00121 uint32 data_offset # padding bytes at front of data\n\
00122 \n\
00123 # Accessors should ALWAYS be written in terms of dimension stride\n\
00124 # and specified outer-most dimension first.\n\
00125 # \n\
00126 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\
00127 #\n\
00128 # A standard, 3-channel 640x480 image with interleaved color channels\n\
00129 # would be specified as:\n\
00130 #\n\
00131 # dim[0].label = \"height\"\n\
00132 # dim[0].size = 480\n\
00133 # dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n\
00134 # dim[1].label = \"width\"\n\
00135 # dim[1].size = 640\n\
00136 # dim[1].stride = 3*640 = 1920\n\
00137 # dim[2].label = \"channel\"\n\
00138 # dim[2].size = 3\n\
00139 # dim[2].stride = 3\n\
00140 #\n\
00141 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\
00142 ================================================================================\n\
00143 MSG: std_msgs/MultiArrayDimension\n\
00144 string label # label of given dimension\n\
00145 uint32 size # size of given dimension (in type units)\n\
00146 uint32 stride # stride of given dimension\n\
00147 ================================================================================\n\
00148 MSG: std_msgs/UInt8MultiArray\n\
00149 # Please look at the MultiArrayLayout message definition for\n\
00150 # documentation on all multiarrays.\n\
00151 \n\
00152 MultiArrayLayout layout # specification of data layout\n\
00153 uint8[] data # array of data\n\
00154 \n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: std_msgs/Float32MultiArray\n\
00158 # Please look at the MultiArrayLayout message definition for\n\
00159 # documentation on all multiarrays.\n\
00160 \n\
00161 MultiArrayLayout layout # specification of data layout\n\
00162 float32[] data # array of data\n\
00163 \n\
00164 \n\
00165 ";
00166 }
00167
00168 static const char* value(const ::vrep_common::JointSetStateData_<ContainerAllocator> &) { return value(); }
00169 };
00170
00171 }
00172 }
00173
00174 namespace ros
00175 {
00176 namespace serialization
00177 {
00178
00179 template<class ContainerAllocator> struct Serializer< ::vrep_common::JointSetStateData_<ContainerAllocator> >
00180 {
00181 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00182 {
00183 stream.next(m.handles);
00184 stream.next(m.setModes);
00185 stream.next(m.values);
00186 }
00187
00188 ROS_DECLARE_ALLINONE_SERIALIZER;
00189 };
00190 }
00191 }
00192
00193 namespace ros
00194 {
00195 namespace message_operations
00196 {
00197
00198 template<class ContainerAllocator>
00199 struct Printer< ::vrep_common::JointSetStateData_<ContainerAllocator> >
00200 {
00201 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::vrep_common::JointSetStateData_<ContainerAllocator> & v)
00202 {
00203 s << indent << "handles: ";
00204 s << std::endl;
00205 Printer< ::std_msgs::Int32MultiArray_<ContainerAllocator> >::stream(s, indent + " ", v.handles);
00206 s << indent << "setModes: ";
00207 s << std::endl;
00208 Printer< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >::stream(s, indent + " ", v.setModes);
00209 s << indent << "values: ";
00210 s << std::endl;
00211 Printer< ::std_msgs::Float32MultiArray_<ContainerAllocator> >::stream(s, indent + " ", v.values);
00212 }
00213 };
00214
00215
00216 }
00217 }
00218
00219 #endif // VREP_COMMON_MESSAGE_JOINTSETSTATEDATA_H
00220