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


pr2_gazebo_plugins
Author(s): Sachin Chitta, Stu Glaser, John Hsu
autogenerated on Thu Apr 24 2014 15:47:43