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


dmp
Author(s): Scott Niekum
autogenerated on Fri Jan 3 2014 11:19:23