SetJointMode.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-10-06_02-39-31.575241/nasa_r2_common/nasa_r2_common_msgs/srv/SetJointMode.srv */
00002 #ifndef NASA_R2_COMMON_MSGS_SERVICE_SETJOINTMODE_H
00003 #define NASA_R2_COMMON_MSGS_SERVICE_SETJOINTMODE_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 
00020 
00021 
00022 namespace nasa_r2_common_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct SetJointModeRequest_ {
00026   typedef SetJointModeRequest_<ContainerAllocator> Type;
00027 
00028   SetJointModeRequest_()
00029   : arm_name()
00030   {
00031   }
00032 
00033   SetJointModeRequest_(const ContainerAllocator& _alloc)
00034   : arm_name(_alloc)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _arm_name_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  arm_name;
00040 
00041 
00042   typedef boost::shared_ptr< ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> > Ptr;
00043   typedef boost::shared_ptr< ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator>  const> ConstPtr;
00044   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 }; // struct SetJointModeRequest
00046 typedef  ::nasa_r2_common_msgs::SetJointModeRequest_<std::allocator<void> > SetJointModeRequest;
00047 
00048 typedef boost::shared_ptr< ::nasa_r2_common_msgs::SetJointModeRequest> SetJointModeRequestPtr;
00049 typedef boost::shared_ptr< ::nasa_r2_common_msgs::SetJointModeRequest const> SetJointModeRequestConstPtr;
00050 
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct SetJointModeResponse_ {
00055   typedef SetJointModeResponse_<ContainerAllocator> Type;
00056 
00057   SetJointModeResponse_()
00058   : result(false)
00059   {
00060   }
00061 
00062   SetJointModeResponse_(const ContainerAllocator& _alloc)
00063   : result(false)
00064   {
00065   }
00066 
00067   typedef uint8_t _result_type;
00068   uint8_t result;
00069 
00070 
00071   typedef boost::shared_ptr< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> > Ptr;
00072   typedef boost::shared_ptr< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator>  const> ConstPtr;
00073   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 }; // struct SetJointModeResponse
00075 typedef  ::nasa_r2_common_msgs::SetJointModeResponse_<std::allocator<void> > SetJointModeResponse;
00076 
00077 typedef boost::shared_ptr< ::nasa_r2_common_msgs::SetJointModeResponse> SetJointModeResponsePtr;
00078 typedef boost::shared_ptr< ::nasa_r2_common_msgs::SetJointModeResponse const> SetJointModeResponseConstPtr;
00079 
00080 
00081 struct SetJointMode
00082 {
00083 
00084 typedef SetJointModeRequest Request;
00085 typedef SetJointModeResponse Response;
00086 Request request;
00087 Response response;
00088 
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 }; // struct SetJointMode
00092 } // namespace nasa_r2_common_msgs
00093 
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator>  const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "2ddc5460af992861cb686e55ffa09231";
00105   }
00106 
00107   static const char* value(const  ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> &) { return value(); } 
00108   static const uint64_t static_value1 = 0x2ddc5460af992861ULL;
00109   static const uint64_t static_value2 = 0xcb686e55ffa09231ULL;
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct DataType< ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "nasa_r2_common_msgs/SetJointModeRequest";
00117   }
00118 
00119   static const char* value(const  ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> &) { return value(); } 
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct Definition< ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "string arm_name\n\
00127 \n\
00128 ";
00129   }
00130 
00131   static const char* value(const  ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 } // namespace message_traits
00135 } // namespace ros
00136 
00137 
00138 namespace ros
00139 {
00140 namespace message_traits
00141 {
00142 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator>  const> : public TrueType {};
00144 template<class ContainerAllocator>
00145 struct MD5Sum< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> > {
00146   static const char* value() 
00147   {
00148     return "eb13ac1f1354ccecb7941ee8fa2192e8";
00149   }
00150 
00151   static const char* value(const  ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> &) { return value(); } 
00152   static const uint64_t static_value1 = 0xeb13ac1f1354ccecULL;
00153   static const uint64_t static_value2 = 0xb7941ee8fa2192e8ULL;
00154 };
00155 
00156 template<class ContainerAllocator>
00157 struct DataType< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> > {
00158   static const char* value() 
00159   {
00160     return "nasa_r2_common_msgs/SetJointModeResponse";
00161   }
00162 
00163   static const char* value(const  ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> &) { return value(); } 
00164 };
00165 
00166 template<class ContainerAllocator>
00167 struct Definition< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> > {
00168   static const char* value() 
00169   {
00170     return "bool result\n\
00171 \n\
00172 \n\
00173 ";
00174   }
00175 
00176   static const char* value(const  ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> &) { return value(); } 
00177 };
00178 
00179 template<class ContainerAllocator> struct IsFixedSize< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> > : public TrueType {};
00180 } // namespace message_traits
00181 } // namespace ros
00182 
00183 namespace ros
00184 {
00185 namespace serialization
00186 {
00187 
00188 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> >
00189 {
00190   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00191   {
00192     stream.next(m.arm_name);
00193   }
00194 
00195   ROS_DECLARE_ALLINONE_SERIALIZER;
00196 }; // struct SetJointModeRequest_
00197 } // namespace serialization
00198 } // namespace ros
00199 
00200 
00201 namespace ros
00202 {
00203 namespace serialization
00204 {
00205 
00206 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> >
00207 {
00208   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00209   {
00210     stream.next(m.result);
00211   }
00212 
00213   ROS_DECLARE_ALLINONE_SERIALIZER;
00214 }; // struct SetJointModeResponse_
00215 } // namespace serialization
00216 } // namespace ros
00217 
00218 namespace ros
00219 {
00220 namespace service_traits
00221 {
00222 template<>
00223 struct MD5Sum<nasa_r2_common_msgs::SetJointMode> {
00224   static const char* value() 
00225   {
00226     return "37abae7c450f69bbef7c815fd538b275";
00227   }
00228 
00229   static const char* value(const nasa_r2_common_msgs::SetJointMode&) { return value(); } 
00230 };
00231 
00232 template<>
00233 struct DataType<nasa_r2_common_msgs::SetJointMode> {
00234   static const char* value() 
00235   {
00236     return "nasa_r2_common_msgs/SetJointMode";
00237   }
00238 
00239   static const char* value(const nasa_r2_common_msgs::SetJointMode&) { return value(); } 
00240 };
00241 
00242 template<class ContainerAllocator>
00243 struct MD5Sum<nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> > {
00244   static const char* value() 
00245   {
00246     return "37abae7c450f69bbef7c815fd538b275";
00247   }
00248 
00249   static const char* value(const nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> &) { return value(); } 
00250 };
00251 
00252 template<class ContainerAllocator>
00253 struct DataType<nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> > {
00254   static const char* value() 
00255   {
00256     return "nasa_r2_common_msgs/SetJointMode";
00257   }
00258 
00259   static const char* value(const nasa_r2_common_msgs::SetJointModeRequest_<ContainerAllocator> &) { return value(); } 
00260 };
00261 
00262 template<class ContainerAllocator>
00263 struct MD5Sum<nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> > {
00264   static const char* value() 
00265   {
00266     return "37abae7c450f69bbef7c815fd538b275";
00267   }
00268 
00269   static const char* value(const nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> &) { return value(); } 
00270 };
00271 
00272 template<class ContainerAllocator>
00273 struct DataType<nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> > {
00274   static const char* value() 
00275   {
00276     return "nasa_r2_common_msgs/SetJointMode";
00277   }
00278 
00279   static const char* value(const nasa_r2_common_msgs::SetJointModeResponse_<ContainerAllocator> &) { return value(); } 
00280 };
00281 
00282 } // namespace service_traits
00283 } // namespace ros
00284 
00285 #endif // NASA_R2_COMMON_MSGS_SERVICE_SETJOINTMODE_H
00286 


nasa_r2_common_msgs
Author(s): Paul Dinh. Maintained by Jennifer Turner
autogenerated on Mon Oct 6 2014 02:42:34