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


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