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


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