SetDebugData.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-shadow_robot/doc_stacks/2014-10-06_07-33-10.674696/shadow_robot/sr_robot_msgs/srv/SetDebugData.srv */
00002 #ifndef SR_ROBOT_MSGS_SERVICE_SETDEBUGDATA_H
00003 #define SR_ROBOT_MSGS_SERVICE_SETDEBUGDATA_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 "ros/service_traits.h"
00018 
00019 
00020 
00021 
00022 namespace sr_robot_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct SetDebugDataRequest_ {
00026   typedef SetDebugDataRequest_<ContainerAllocator> Type;
00027 
00028   SetDebugDataRequest_()
00029   : motor_index(0)
00030   , motor_data_type(0)
00031   , publisher_index(0)
00032   {
00033   }
00034 
00035   SetDebugDataRequest_(const ContainerAllocator& _alloc)
00036   : motor_index(0)
00037   , motor_data_type(0)
00038   , publisher_index(0)
00039   {
00040   }
00041 
00042   typedef int16_t _motor_index_type;
00043   int16_t motor_index;
00044 
00045   typedef int16_t _motor_data_type_type;
00046   int16_t motor_data_type;
00047 
00048   typedef int16_t _publisher_index_type;
00049   int16_t publisher_index;
00050 
00051 
00052   typedef boost::shared_ptr< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> > Ptr;
00053   typedef boost::shared_ptr< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator>  const> ConstPtr;
00054   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 }; // struct SetDebugDataRequest
00056 typedef  ::sr_robot_msgs::SetDebugDataRequest_<std::allocator<void> > SetDebugDataRequest;
00057 
00058 typedef boost::shared_ptr< ::sr_robot_msgs::SetDebugDataRequest> SetDebugDataRequestPtr;
00059 typedef boost::shared_ptr< ::sr_robot_msgs::SetDebugDataRequest const> SetDebugDataRequestConstPtr;
00060 
00061 
00062 
00063 template <class ContainerAllocator>
00064 struct SetDebugDataResponse_ {
00065   typedef SetDebugDataResponse_<ContainerAllocator> Type;
00066 
00067   SetDebugDataResponse_()
00068   : success(false)
00069   {
00070   }
00071 
00072   SetDebugDataResponse_(const ContainerAllocator& _alloc)
00073   : success(false)
00074   {
00075   }
00076 
00077   typedef uint8_t _success_type;
00078   uint8_t success;
00079 
00080 
00081   typedef boost::shared_ptr< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> > Ptr;
00082   typedef boost::shared_ptr< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator>  const> ConstPtr;
00083   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 }; // struct SetDebugDataResponse
00085 typedef  ::sr_robot_msgs::SetDebugDataResponse_<std::allocator<void> > SetDebugDataResponse;
00086 
00087 typedef boost::shared_ptr< ::sr_robot_msgs::SetDebugDataResponse> SetDebugDataResponsePtr;
00088 typedef boost::shared_ptr< ::sr_robot_msgs::SetDebugDataResponse const> SetDebugDataResponseConstPtr;
00089 
00090 
00091 struct SetDebugData
00092 {
00093 
00094 typedef SetDebugDataRequest Request;
00095 typedef SetDebugDataResponse Response;
00096 Request request;
00097 Response response;
00098 
00099 typedef Request RequestType;
00100 typedef Response ResponseType;
00101 }; // struct SetDebugData
00102 } // namespace sr_robot_msgs
00103 
00104 namespace ros
00105 {
00106 namespace message_traits
00107 {
00108 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> > : public TrueType {};
00109 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator>  const> : public TrueType {};
00110 template<class ContainerAllocator>
00111 struct MD5Sum< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "9f31db3c8e178b58a93d06e8bde6a17a";
00115   }
00116 
00117   static const char* value(const  ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> &) { return value(); } 
00118   static const uint64_t static_value1 = 0x9f31db3c8e178b58ULL;
00119   static const uint64_t static_value2 = 0xa93d06e8bde6a17aULL;
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct DataType< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "sr_robot_msgs/SetDebugDataRequest";
00127   }
00128 
00129   static const char* value(const  ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 template<class ContainerAllocator>
00133 struct Definition< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> > {
00134   static const char* value() 
00135   {
00136     return "\n\
00137 \n\
00138 \n\
00139 \n\
00140 int16 motor_index\n\
00141 int16 motor_data_type\n\
00142 int16 publisher_index\n\
00143 \n\
00144 ";
00145   }
00146 
00147   static const char* value(const  ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> &) { return value(); } 
00148 };
00149 
00150 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> > : public TrueType {};
00151 } // namespace message_traits
00152 } // namespace ros
00153 
00154 
00155 namespace ros
00156 {
00157 namespace message_traits
00158 {
00159 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> > : public TrueType {};
00160 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator>  const> : public TrueType {};
00161 template<class ContainerAllocator>
00162 struct MD5Sum< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> > {
00163   static const char* value() 
00164   {
00165     return "358e233cde0c8a8bcfea4ce193f8fc15";
00166   }
00167 
00168   static const char* value(const  ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> &) { return value(); } 
00169   static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00170   static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00171 };
00172 
00173 template<class ContainerAllocator>
00174 struct DataType< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> > {
00175   static const char* value() 
00176   {
00177     return "sr_robot_msgs/SetDebugDataResponse";
00178   }
00179 
00180   static const char* value(const  ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> &) { return value(); } 
00181 };
00182 
00183 template<class ContainerAllocator>
00184 struct Definition< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> > {
00185   static const char* value() 
00186   {
00187     return "bool success\n\
00188 \n\
00189 ";
00190   }
00191 
00192   static const char* value(const  ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> &) { return value(); } 
00193 };
00194 
00195 template<class ContainerAllocator> struct IsFixedSize< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> > : public TrueType {};
00196 } // namespace message_traits
00197 } // namespace ros
00198 
00199 namespace ros
00200 {
00201 namespace serialization
00202 {
00203 
00204 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> >
00205 {
00206   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00207   {
00208     stream.next(m.motor_index);
00209     stream.next(m.motor_data_type);
00210     stream.next(m.publisher_index);
00211   }
00212 
00213   ROS_DECLARE_ALLINONE_SERIALIZER;
00214 }; // struct SetDebugDataRequest_
00215 } // namespace serialization
00216 } // namespace ros
00217 
00218 
00219 namespace ros
00220 {
00221 namespace serialization
00222 {
00223 
00224 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> >
00225 {
00226   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00227   {
00228     stream.next(m.success);
00229   }
00230 
00231   ROS_DECLARE_ALLINONE_SERIALIZER;
00232 }; // struct SetDebugDataResponse_
00233 } // namespace serialization
00234 } // namespace ros
00235 
00236 namespace ros
00237 {
00238 namespace service_traits
00239 {
00240 template<>
00241 struct MD5Sum<sr_robot_msgs::SetDebugData> {
00242   static const char* value() 
00243   {
00244     return "7e92428f248882f525037fe3b24dbbf1";
00245   }
00246 
00247   static const char* value(const sr_robot_msgs::SetDebugData&) { return value(); } 
00248 };
00249 
00250 template<>
00251 struct DataType<sr_robot_msgs::SetDebugData> {
00252   static const char* value() 
00253   {
00254     return "sr_robot_msgs/SetDebugData";
00255   }
00256 
00257   static const char* value(const sr_robot_msgs::SetDebugData&) { return value(); } 
00258 };
00259 
00260 template<class ContainerAllocator>
00261 struct MD5Sum<sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> > {
00262   static const char* value() 
00263   {
00264     return "7e92428f248882f525037fe3b24dbbf1";
00265   }
00266 
00267   static const char* value(const sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> &) { return value(); } 
00268 };
00269 
00270 template<class ContainerAllocator>
00271 struct DataType<sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> > {
00272   static const char* value() 
00273   {
00274     return "sr_robot_msgs/SetDebugData";
00275   }
00276 
00277   static const char* value(const sr_robot_msgs::SetDebugDataRequest_<ContainerAllocator> &) { return value(); } 
00278 };
00279 
00280 template<class ContainerAllocator>
00281 struct MD5Sum<sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> > {
00282   static const char* value() 
00283   {
00284     return "7e92428f248882f525037fe3b24dbbf1";
00285   }
00286 
00287   static const char* value(const sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> &) { return value(); } 
00288 };
00289 
00290 template<class ContainerAllocator>
00291 struct DataType<sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> > {
00292   static const char* value() 
00293   {
00294     return "sr_robot_msgs/SetDebugData";
00295   }
00296 
00297   static const char* value(const sr_robot_msgs::SetDebugDataResponse_<ContainerAllocator> &) { return value(); } 
00298 };
00299 
00300 } // namespace service_traits
00301 } // namespace ros
00302 
00303 #endif // SR_ROBOT_MSGS_SERVICE_SETDEBUGDATA_H
00304 


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:40:06