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


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