RestartController.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-dynamixel_motor/doc_stacks/2014-01-03_11-18-15.042751/dynamixel_motor/dynamixel_controllers/srv/RestartController.srv */
00002 #ifndef DYNAMIXEL_CONTROLLERS_SERVICE_RESTARTCONTROLLER_H
00003 #define DYNAMIXEL_CONTROLLERS_SERVICE_RESTARTCONTROLLER_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 dynamixel_controllers
00023 {
00024 template <class ContainerAllocator>
00025 struct RestartControllerRequest_ {
00026   typedef RestartControllerRequest_<ContainerAllocator> Type;
00027 
00028   RestartControllerRequest_()
00029   : port_name()
00030   , package_path()
00031   , module_name()
00032   , class_name()
00033   , controller_name()
00034   , dependencies()
00035   {
00036   }
00037 
00038   RestartControllerRequest_(const ContainerAllocator& _alloc)
00039   : port_name(_alloc)
00040   , package_path(_alloc)
00041   , module_name(_alloc)
00042   , class_name(_alloc)
00043   , controller_name(_alloc)
00044   , dependencies(_alloc)
00045   {
00046   }
00047 
00048   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _port_name_type;
00049   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  port_name;
00050 
00051   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _package_path_type;
00052   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  package_path;
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _module_name_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  module_name;
00056 
00057   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _class_name_type;
00058   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  class_name;
00059 
00060   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _controller_name_type;
00061   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  controller_name;
00062 
00063   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 >  _dependencies_type;
00064   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 >  dependencies;
00065 
00066 
00067   typedef boost::shared_ptr< ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> > Ptr;
00068   typedef boost::shared_ptr< ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator>  const> ConstPtr;
00069   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 }; // struct RestartControllerRequest
00071 typedef  ::dynamixel_controllers::RestartControllerRequest_<std::allocator<void> > RestartControllerRequest;
00072 
00073 typedef boost::shared_ptr< ::dynamixel_controllers::RestartControllerRequest> RestartControllerRequestPtr;
00074 typedef boost::shared_ptr< ::dynamixel_controllers::RestartControllerRequest const> RestartControllerRequestConstPtr;
00075 
00076 
00077 template <class ContainerAllocator>
00078 struct RestartControllerResponse_ {
00079   typedef RestartControllerResponse_<ContainerAllocator> Type;
00080 
00081   RestartControllerResponse_()
00082   : success(false)
00083   , reason()
00084   {
00085   }
00086 
00087   RestartControllerResponse_(const ContainerAllocator& _alloc)
00088   : success(false)
00089   , reason(_alloc)
00090   {
00091   }
00092 
00093   typedef uint8_t _success_type;
00094   uint8_t success;
00095 
00096   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _reason_type;
00097   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  reason;
00098 
00099 
00100   typedef boost::shared_ptr< ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> > Ptr;
00101   typedef boost::shared_ptr< ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator>  const> ConstPtr;
00102   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00103 }; // struct RestartControllerResponse
00104 typedef  ::dynamixel_controllers::RestartControllerResponse_<std::allocator<void> > RestartControllerResponse;
00105 
00106 typedef boost::shared_ptr< ::dynamixel_controllers::RestartControllerResponse> RestartControllerResponsePtr;
00107 typedef boost::shared_ptr< ::dynamixel_controllers::RestartControllerResponse const> RestartControllerResponseConstPtr;
00108 
00109 struct RestartController
00110 {
00111 
00112 typedef RestartControllerRequest Request;
00113 typedef RestartControllerResponse Response;
00114 Request request;
00115 Response response;
00116 
00117 typedef Request RequestType;
00118 typedef Response ResponseType;
00119 }; // struct RestartController
00120 } // namespace dynamixel_controllers
00121 
00122 namespace ros
00123 {
00124 namespace message_traits
00125 {
00126 template<class ContainerAllocator> struct IsMessage< ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> > : public TrueType {};
00127 template<class ContainerAllocator> struct IsMessage< ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator>  const> : public TrueType {};
00128 template<class ContainerAllocator>
00129 struct MD5Sum< ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> > {
00130   static const char* value() 
00131   {
00132     return "7785d708c83a180befd2fe3450dd9d41";
00133   }
00134 
00135   static const char* value(const  ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> &) { return value(); } 
00136   static const uint64_t static_value1 = 0x7785d708c83a180bULL;
00137   static const uint64_t static_value2 = 0xefd2fe3450dd9d41ULL;
00138 };
00139 
00140 template<class ContainerAllocator>
00141 struct DataType< ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> > {
00142   static const char* value() 
00143   {
00144     return "dynamixel_controllers/RestartControllerRequest";
00145   }
00146 
00147   static const char* value(const  ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> &) { return value(); } 
00148 };
00149 
00150 template<class ContainerAllocator>
00151 struct Definition< ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> > {
00152   static const char* value() 
00153   {
00154     return "string port_name\n\
00155 string package_path\n\
00156 string module_name\n\
00157 string class_name\n\
00158 string controller_name\n\
00159 string[] dependencies\n\
00160 \n\
00161 ";
00162   }
00163 
00164   static const char* value(const  ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> &) { return value(); } 
00165 };
00166 
00167 } // namespace message_traits
00168 } // namespace ros
00169 
00170 
00171 namespace ros
00172 {
00173 namespace message_traits
00174 {
00175 template<class ContainerAllocator> struct IsMessage< ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> > : public TrueType {};
00176 template<class ContainerAllocator> struct IsMessage< ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator>  const> : public TrueType {};
00177 template<class ContainerAllocator>
00178 struct MD5Sum< ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> > {
00179   static const char* value() 
00180   {
00181     return "a4d50a34d34f18de48e2436ff1472594";
00182   }
00183 
00184   static const char* value(const  ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> &) { return value(); } 
00185   static const uint64_t static_value1 = 0xa4d50a34d34f18deULL;
00186   static const uint64_t static_value2 = 0x48e2436ff1472594ULL;
00187 };
00188 
00189 template<class ContainerAllocator>
00190 struct DataType< ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> > {
00191   static const char* value() 
00192   {
00193     return "dynamixel_controllers/RestartControllerResponse";
00194   }
00195 
00196   static const char* value(const  ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> &) { return value(); } 
00197 };
00198 
00199 template<class ContainerAllocator>
00200 struct Definition< ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> > {
00201   static const char* value() 
00202   {
00203     return "bool success\n\
00204 string reason\n\
00205 \n\
00206 \n\
00207 ";
00208   }
00209 
00210   static const char* value(const  ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> &) { return value(); } 
00211 };
00212 
00213 } // namespace message_traits
00214 } // namespace ros
00215 
00216 namespace ros
00217 {
00218 namespace serialization
00219 {
00220 
00221 template<class ContainerAllocator> struct Serializer< ::dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> >
00222 {
00223   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00224   {
00225     stream.next(m.port_name);
00226     stream.next(m.package_path);
00227     stream.next(m.module_name);
00228     stream.next(m.class_name);
00229     stream.next(m.controller_name);
00230     stream.next(m.dependencies);
00231   }
00232 
00233   ROS_DECLARE_ALLINONE_SERIALIZER;
00234 }; // struct RestartControllerRequest_
00235 } // namespace serialization
00236 } // namespace ros
00237 
00238 
00239 namespace ros
00240 {
00241 namespace serialization
00242 {
00243 
00244 template<class ContainerAllocator> struct Serializer< ::dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> >
00245 {
00246   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00247   {
00248     stream.next(m.success);
00249     stream.next(m.reason);
00250   }
00251 
00252   ROS_DECLARE_ALLINONE_SERIALIZER;
00253 }; // struct RestartControllerResponse_
00254 } // namespace serialization
00255 } // namespace ros
00256 
00257 namespace ros
00258 {
00259 namespace service_traits
00260 {
00261 template<>
00262 struct MD5Sum<dynamixel_controllers::RestartController> {
00263   static const char* value() 
00264   {
00265     return "94c76c2df56346fcaa2611bdac54f434";
00266   }
00267 
00268   static const char* value(const dynamixel_controllers::RestartController&) { return value(); } 
00269 };
00270 
00271 template<>
00272 struct DataType<dynamixel_controllers::RestartController> {
00273   static const char* value() 
00274   {
00275     return "dynamixel_controllers/RestartController";
00276   }
00277 
00278   static const char* value(const dynamixel_controllers::RestartController&) { return value(); } 
00279 };
00280 
00281 template<class ContainerAllocator>
00282 struct MD5Sum<dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> > {
00283   static const char* value() 
00284   {
00285     return "94c76c2df56346fcaa2611bdac54f434";
00286   }
00287 
00288   static const char* value(const dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> &) { return value(); } 
00289 };
00290 
00291 template<class ContainerAllocator>
00292 struct DataType<dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> > {
00293   static const char* value() 
00294   {
00295     return "dynamixel_controllers/RestartController";
00296   }
00297 
00298   static const char* value(const dynamixel_controllers::RestartControllerRequest_<ContainerAllocator> &) { return value(); } 
00299 };
00300 
00301 template<class ContainerAllocator>
00302 struct MD5Sum<dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> > {
00303   static const char* value() 
00304   {
00305     return "94c76c2df56346fcaa2611bdac54f434";
00306   }
00307 
00308   static const char* value(const dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> &) { return value(); } 
00309 };
00310 
00311 template<class ContainerAllocator>
00312 struct DataType<dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> > {
00313   static const char* value() 
00314   {
00315     return "dynamixel_controllers/RestartController";
00316   }
00317 
00318   static const char* value(const dynamixel_controllers::RestartControllerResponse_<ContainerAllocator> &) { return value(); } 
00319 };
00320 
00321 } // namespace service_traits
00322 } // namespace ros
00323 
00324 #endif // DYNAMIXEL_CONTROLLERS_SERVICE_RESTARTCONTROLLER_H
00325 


dynamixel_controllers
Author(s): Antons Rebguns, Cody Jorgensen, Cara Slutter
autogenerated on Fri Jan 3 2014 11:19:47