SpawnModel.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-simulator_gazebo/doc_stacks/2014-10-06_12-11-14.842894/simulator_gazebo/gazebo_msgs/srv/SpawnModel.srv */
00002 #ifndef GAZEBO_MSGS_SERVICE_SPAWNMODEL_H
00003 #define GAZEBO_MSGS_SERVICE_SPAWNMODEL_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 #include "geometry_msgs/Pose.h"
00020 
00021 
00022 
00023 namespace gazebo_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct SpawnModelRequest_ {
00027   typedef SpawnModelRequest_<ContainerAllocator> Type;
00028 
00029   SpawnModelRequest_()
00030   : model_name()
00031   , model_xml()
00032   , robot_namespace()
00033   , initial_pose()
00034   , reference_frame()
00035   {
00036   }
00037 
00038   SpawnModelRequest_(const ContainerAllocator& _alloc)
00039   : model_name(_alloc)
00040   , model_xml(_alloc)
00041   , robot_namespace(_alloc)
00042   , initial_pose(_alloc)
00043   , reference_frame(_alloc)
00044   {
00045   }
00046 
00047   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _model_name_type;
00048   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  model_name;
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _model_xml_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  model_xml;
00052 
00053   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _robot_namespace_type;
00054   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  robot_namespace;
00055 
00056   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _initial_pose_type;
00057    ::geometry_msgs::Pose_<ContainerAllocator>  initial_pose;
00058 
00059   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _reference_frame_type;
00060   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  reference_frame;
00061 
00062 
00063   typedef boost::shared_ptr< ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> > Ptr;
00064   typedef boost::shared_ptr< ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator>  const> ConstPtr;
00065   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 }; // struct SpawnModelRequest
00067 typedef  ::gazebo_msgs::SpawnModelRequest_<std::allocator<void> > SpawnModelRequest;
00068 
00069 typedef boost::shared_ptr< ::gazebo_msgs::SpawnModelRequest> SpawnModelRequestPtr;
00070 typedef boost::shared_ptr< ::gazebo_msgs::SpawnModelRequest const> SpawnModelRequestConstPtr;
00071 
00072 
00073 
00074 template <class ContainerAllocator>
00075 struct SpawnModelResponse_ {
00076   typedef SpawnModelResponse_<ContainerAllocator> Type;
00077 
00078   SpawnModelResponse_()
00079   : success(false)
00080   , status_message()
00081   {
00082   }
00083 
00084   SpawnModelResponse_(const ContainerAllocator& _alloc)
00085   : success(false)
00086   , status_message(_alloc)
00087   {
00088   }
00089 
00090   typedef uint8_t _success_type;
00091   uint8_t success;
00092 
00093   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _status_message_type;
00094   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  status_message;
00095 
00096 
00097   typedef boost::shared_ptr< ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> > Ptr;
00098   typedef boost::shared_ptr< ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator>  const> ConstPtr;
00099   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00100 }; // struct SpawnModelResponse
00101 typedef  ::gazebo_msgs::SpawnModelResponse_<std::allocator<void> > SpawnModelResponse;
00102 
00103 typedef boost::shared_ptr< ::gazebo_msgs::SpawnModelResponse> SpawnModelResponsePtr;
00104 typedef boost::shared_ptr< ::gazebo_msgs::SpawnModelResponse const> SpawnModelResponseConstPtr;
00105 
00106 
00107 struct SpawnModel
00108 {
00109 
00110 typedef SpawnModelRequest Request;
00111 typedef SpawnModelResponse Response;
00112 Request request;
00113 Response response;
00114 
00115 typedef Request RequestType;
00116 typedef Response ResponseType;
00117 }; // struct SpawnModel
00118 } // namespace gazebo_msgs
00119 
00120 namespace ros
00121 {
00122 namespace message_traits
00123 {
00124 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> > : public TrueType {};
00125 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator>  const> : public TrueType {};
00126 template<class ContainerAllocator>
00127 struct MD5Sum< ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "6d0eba5753761cd57e6263a056b79930";
00131   }
00132 
00133   static const char* value(const  ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> &) { return value(); } 
00134   static const uint64_t static_value1 = 0x6d0eba5753761cd5ULL;
00135   static const uint64_t static_value2 = 0x7e6263a056b79930ULL;
00136 };
00137 
00138 template<class ContainerAllocator>
00139 struct DataType< ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> > {
00140   static const char* value() 
00141   {
00142     return "gazebo_msgs/SpawnModelRequest";
00143   }
00144 
00145   static const char* value(const  ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> &) { return value(); } 
00146 };
00147 
00148 template<class ContainerAllocator>
00149 struct Definition< ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> > {
00150   static const char* value() 
00151   {
00152     return "string model_name\n\
00153 string model_xml\n\
00154 string robot_namespace\n\
00155 geometry_msgs/Pose initial_pose\n\
00156 string reference_frame\n\
00157 \n\
00158 \n\
00159 \n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/Pose\n\
00163 # A representation of pose in free space, composed of postion and orientation. \n\
00164 Point position\n\
00165 Quaternion orientation\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/Point\n\
00169 # This contains the position of a point in free space\n\
00170 float64 x\n\
00171 float64 y\n\
00172 float64 z\n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: geometry_msgs/Quaternion\n\
00176 # This represents an orientation in free space in quaternion form.\n\
00177 \n\
00178 float64 x\n\
00179 float64 y\n\
00180 float64 z\n\
00181 float64 w\n\
00182 \n\
00183 ";
00184   }
00185 
00186   static const char* value(const  ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> &) { return value(); } 
00187 };
00188 
00189 } // namespace message_traits
00190 } // namespace ros
00191 
00192 
00193 namespace ros
00194 {
00195 namespace message_traits
00196 {
00197 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> > : public TrueType {};
00198 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator>  const> : public TrueType {};
00199 template<class ContainerAllocator>
00200 struct MD5Sum< ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> > {
00201   static const char* value() 
00202   {
00203     return "2ec6f3eff0161f4257b808b12bc830c2";
00204   }
00205 
00206   static const char* value(const  ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> &) { return value(); } 
00207   static const uint64_t static_value1 = 0x2ec6f3eff0161f42ULL;
00208   static const uint64_t static_value2 = 0x57b808b12bc830c2ULL;
00209 };
00210 
00211 template<class ContainerAllocator>
00212 struct DataType< ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> > {
00213   static const char* value() 
00214   {
00215     return "gazebo_msgs/SpawnModelResponse";
00216   }
00217 
00218   static const char* value(const  ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> &) { return value(); } 
00219 };
00220 
00221 template<class ContainerAllocator>
00222 struct Definition< ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> > {
00223   static const char* value() 
00224   {
00225     return "bool success\n\
00226 string status_message\n\
00227 \n\
00228 \n\
00229 ";
00230   }
00231 
00232   static const char* value(const  ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> &) { return value(); } 
00233 };
00234 
00235 } // namespace message_traits
00236 } // namespace ros
00237 
00238 namespace ros
00239 {
00240 namespace serialization
00241 {
00242 
00243 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::SpawnModelRequest_<ContainerAllocator> >
00244 {
00245   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00246   {
00247     stream.next(m.model_name);
00248     stream.next(m.model_xml);
00249     stream.next(m.robot_namespace);
00250     stream.next(m.initial_pose);
00251     stream.next(m.reference_frame);
00252   }
00253 
00254   ROS_DECLARE_ALLINONE_SERIALIZER;
00255 }; // struct SpawnModelRequest_
00256 } // namespace serialization
00257 } // namespace ros
00258 
00259 
00260 namespace ros
00261 {
00262 namespace serialization
00263 {
00264 
00265 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::SpawnModelResponse_<ContainerAllocator> >
00266 {
00267   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00268   {
00269     stream.next(m.success);
00270     stream.next(m.status_message);
00271   }
00272 
00273   ROS_DECLARE_ALLINONE_SERIALIZER;
00274 }; // struct SpawnModelResponse_
00275 } // namespace serialization
00276 } // namespace ros
00277 
00278 namespace ros
00279 {
00280 namespace service_traits
00281 {
00282 template<>
00283 struct MD5Sum<gazebo_msgs::SpawnModel> {
00284   static const char* value() 
00285   {
00286     return "9ed9c82c96abe1a00c3e8cdaeee24413";
00287   }
00288 
00289   static const char* value(const gazebo_msgs::SpawnModel&) { return value(); } 
00290 };
00291 
00292 template<>
00293 struct DataType<gazebo_msgs::SpawnModel> {
00294   static const char* value() 
00295   {
00296     return "gazebo_msgs/SpawnModel";
00297   }
00298 
00299   static const char* value(const gazebo_msgs::SpawnModel&) { return value(); } 
00300 };
00301 
00302 template<class ContainerAllocator>
00303 struct MD5Sum<gazebo_msgs::SpawnModelRequest_<ContainerAllocator> > {
00304   static const char* value() 
00305   {
00306     return "9ed9c82c96abe1a00c3e8cdaeee24413";
00307   }
00308 
00309   static const char* value(const gazebo_msgs::SpawnModelRequest_<ContainerAllocator> &) { return value(); } 
00310 };
00311 
00312 template<class ContainerAllocator>
00313 struct DataType<gazebo_msgs::SpawnModelRequest_<ContainerAllocator> > {
00314   static const char* value() 
00315   {
00316     return "gazebo_msgs/SpawnModel";
00317   }
00318 
00319   static const char* value(const gazebo_msgs::SpawnModelRequest_<ContainerAllocator> &) { return value(); } 
00320 };
00321 
00322 template<class ContainerAllocator>
00323 struct MD5Sum<gazebo_msgs::SpawnModelResponse_<ContainerAllocator> > {
00324   static const char* value() 
00325   {
00326     return "9ed9c82c96abe1a00c3e8cdaeee24413";
00327   }
00328 
00329   static const char* value(const gazebo_msgs::SpawnModelResponse_<ContainerAllocator> &) { return value(); } 
00330 };
00331 
00332 template<class ContainerAllocator>
00333 struct DataType<gazebo_msgs::SpawnModelResponse_<ContainerAllocator> > {
00334   static const char* value() 
00335   {
00336     return "gazebo_msgs/SpawnModel";
00337   }
00338 
00339   static const char* value(const gazebo_msgs::SpawnModelResponse_<ContainerAllocator> &) { return value(); } 
00340 };
00341 
00342 } // namespace service_traits
00343 } // namespace ros
00344 
00345 #endif // GAZEBO_MSGS_SERVICE_SPAWNMODEL_H
00346 


gazebo_msgs
Author(s): John Hsu
autogenerated on Mon Oct 6 2014 12:14:34