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


gazebo_msgs
Author(s): John Hsu
autogenerated on Sun Jan 5 2014 11:34:32