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


pr2_mechanism_msgs
Author(s): Stuart Glaser sglaser@willowgarage.com, Wim Meeussen
autogenerated on Sat Nov 17 2012 19:53:39