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


pr2_gazebo_plugins
Author(s): Sachin Chitta, Stu Glaser, John Hsu
autogenerated on Thu Jan 2 2014 11:45:00