SetLinkState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-simulator_gazebo/doc_stacks/2014-10-06_12-11-14.842894/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 
00054 template <class ContainerAllocator>
00055 struct SetLinkStateResponse_ {
00056   typedef SetLinkStateResponse_<ContainerAllocator> Type;
00057 
00058   SetLinkStateResponse_()
00059   : success(false)
00060   , status_message()
00061   {
00062   }
00063 
00064   SetLinkStateResponse_(const ContainerAllocator& _alloc)
00065   : success(false)
00066   , status_message(_alloc)
00067   {
00068   }
00069 
00070   typedef uint8_t _success_type;
00071   uint8_t success;
00072 
00073   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _status_message_type;
00074   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  status_message;
00075 
00076 
00077   typedef boost::shared_ptr< ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct SetLinkStateResponse
00081 typedef  ::gazebo_msgs::SetLinkStateResponse_<std::allocator<void> > SetLinkStateResponse;
00082 
00083 typedef boost::shared_ptr< ::gazebo_msgs::SetLinkStateResponse> SetLinkStateResponsePtr;
00084 typedef boost::shared_ptr< ::gazebo_msgs::SetLinkStateResponse const> SetLinkStateResponseConstPtr;
00085 
00086 
00087 struct SetLinkState
00088 {
00089 
00090 typedef SetLinkStateRequest Request;
00091 typedef SetLinkStateResponse Response;
00092 Request request;
00093 Response response;
00094 
00095 typedef Request RequestType;
00096 typedef Response ResponseType;
00097 }; // struct SetLinkState
00098 } // namespace gazebo_msgs
00099 
00100 namespace ros
00101 {
00102 namespace message_traits
00103 {
00104 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> > : public TrueType {};
00105 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator>  const> : public TrueType {};
00106 template<class ContainerAllocator>
00107 struct MD5Sum< ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "22a2c757d56911b6f27868159e9a872d";
00111   }
00112 
00113   static const char* value(const  ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> &) { return value(); } 
00114   static const uint64_t static_value1 = 0x22a2c757d56911b6ULL;
00115   static const uint64_t static_value2 = 0xf27868159e9a872dULL;
00116 };
00117 
00118 template<class ContainerAllocator>
00119 struct DataType< ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "gazebo_msgs/SetLinkStateRequest";
00123   }
00124 
00125   static const char* value(const  ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> &) { return value(); } 
00126 };
00127 
00128 template<class ContainerAllocator>
00129 struct Definition< ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> > {
00130   static const char* value() 
00131   {
00132     return "gazebo_msgs/LinkState link_state\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: gazebo_msgs/LinkState\n\
00136 # @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\
00137 string link_name            # link name, link_names are in gazebo scoped name notation, [model_name::body_name]\n\
00138 geometry_msgs/Pose pose     # desired pose in reference frame\n\
00139 geometry_msgs/Twist twist   # desired twist in reference frame\n\
00140 string reference_frame      # set pose/twist relative to the frame of this link/body\n\
00141                             # leave empty or \"world\" or \"map\" defaults to world-frame\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: geometry_msgs/Pose\n\
00145 # A representation of pose in free space, composed of postion and orientation. \n\
00146 Point position\n\
00147 Quaternion orientation\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: geometry_msgs/Point\n\
00151 # This contains the position of a point in free space\n\
00152 float64 x\n\
00153 float64 y\n\
00154 float64 z\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: geometry_msgs/Quaternion\n\
00158 # This represents an orientation in free space in quaternion form.\n\
00159 \n\
00160 float64 x\n\
00161 float64 y\n\
00162 float64 z\n\
00163 float64 w\n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: geometry_msgs/Twist\n\
00167 # This expresses velocity in free space broken into its linear and angular parts.\n\
00168 Vector3  linear\n\
00169 Vector3  angular\n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: geometry_msgs/Vector3\n\
00173 # This represents a vector in free space. \n\
00174 \n\
00175 float64 x\n\
00176 float64 y\n\
00177 float64 z\n\
00178 ";
00179   }
00180 
00181   static const char* value(const  ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> &) { return value(); } 
00182 };
00183 
00184 } // namespace message_traits
00185 } // namespace ros
00186 
00187 
00188 namespace ros
00189 {
00190 namespace message_traits
00191 {
00192 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> > : public TrueType {};
00193 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator>  const> : public TrueType {};
00194 template<class ContainerAllocator>
00195 struct MD5Sum< ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> > {
00196   static const char* value() 
00197   {
00198     return "2ec6f3eff0161f4257b808b12bc830c2";
00199   }
00200 
00201   static const char* value(const  ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> &) { return value(); } 
00202   static const uint64_t static_value1 = 0x2ec6f3eff0161f42ULL;
00203   static const uint64_t static_value2 = 0x57b808b12bc830c2ULL;
00204 };
00205 
00206 template<class ContainerAllocator>
00207 struct DataType< ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> > {
00208   static const char* value() 
00209   {
00210     return "gazebo_msgs/SetLinkStateResponse";
00211   }
00212 
00213   static const char* value(const  ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> &) { return value(); } 
00214 };
00215 
00216 template<class ContainerAllocator>
00217 struct Definition< ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> > {
00218   static const char* value() 
00219   {
00220     return "bool success\n\
00221 string status_message\n\
00222 \n\
00223 \n\
00224 ";
00225   }
00226 
00227   static const char* value(const  ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> &) { return value(); } 
00228 };
00229 
00230 } // namespace message_traits
00231 } // namespace ros
00232 
00233 namespace ros
00234 {
00235 namespace serialization
00236 {
00237 
00238 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> >
00239 {
00240   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00241   {
00242     stream.next(m.link_state);
00243   }
00244 
00245   ROS_DECLARE_ALLINONE_SERIALIZER;
00246 }; // struct SetLinkStateRequest_
00247 } // namespace serialization
00248 } // namespace ros
00249 
00250 
00251 namespace ros
00252 {
00253 namespace serialization
00254 {
00255 
00256 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> >
00257 {
00258   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00259   {
00260     stream.next(m.success);
00261     stream.next(m.status_message);
00262   }
00263 
00264   ROS_DECLARE_ALLINONE_SERIALIZER;
00265 }; // struct SetLinkStateResponse_
00266 } // namespace serialization
00267 } // namespace ros
00268 
00269 namespace ros
00270 {
00271 namespace service_traits
00272 {
00273 template<>
00274 struct MD5Sum<gazebo_msgs::SetLinkState> {
00275   static const char* value() 
00276   {
00277     return "8a5146eb66ae4d26b0860b08f3f271be";
00278   }
00279 
00280   static const char* value(const gazebo_msgs::SetLinkState&) { return value(); } 
00281 };
00282 
00283 template<>
00284 struct DataType<gazebo_msgs::SetLinkState> {
00285   static const char* value() 
00286   {
00287     return "gazebo_msgs/SetLinkState";
00288   }
00289 
00290   static const char* value(const gazebo_msgs::SetLinkState&) { return value(); } 
00291 };
00292 
00293 template<class ContainerAllocator>
00294 struct MD5Sum<gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> > {
00295   static const char* value() 
00296   {
00297     return "8a5146eb66ae4d26b0860b08f3f271be";
00298   }
00299 
00300   static const char* value(const gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> &) { return value(); } 
00301 };
00302 
00303 template<class ContainerAllocator>
00304 struct DataType<gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> > {
00305   static const char* value() 
00306   {
00307     return "gazebo_msgs/SetLinkState";
00308   }
00309 
00310   static const char* value(const gazebo_msgs::SetLinkStateRequest_<ContainerAllocator> &) { return value(); } 
00311 };
00312 
00313 template<class ContainerAllocator>
00314 struct MD5Sum<gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> > {
00315   static const char* value() 
00316   {
00317     return "8a5146eb66ae4d26b0860b08f3f271be";
00318   }
00319 
00320   static const char* value(const gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> &) { return value(); } 
00321 };
00322 
00323 template<class ContainerAllocator>
00324 struct DataType<gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> > {
00325   static const char* value() 
00326   {
00327     return "gazebo_msgs/SetLinkState";
00328   }
00329 
00330   static const char* value(const gazebo_msgs::SetLinkStateResponse_<ContainerAllocator> &) { return value(); } 
00331 };
00332 
00333 } // namespace service_traits
00334 } // namespace ros
00335 
00336 #endif // GAZEBO_MSGS_SERVICE_SETLINKSTATE_H
00337 


gazebo_msgs
Author(s): John Hsu
autogenerated on Mon Oct 6 2014 12:14:34