SetProfile.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_controllers/doc_stacks/2014-01-03_11-37-53.226877/pr2_controllers/pr2_mechanism_controllers/srv/SetProfile.srv */
00002 #ifndef PR2_MECHANISM_CONTROLLERS_SERVICE_SETPROFILE_H
00003 #define PR2_MECHANISM_CONTROLLERS_SERVICE_SETPROFILE_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_controllers
00023 {
00024 template <class ContainerAllocator>
00025 struct SetProfileRequest_ {
00026   typedef SetProfileRequest_<ContainerAllocator> Type;
00027 
00028   SetProfileRequest_()
00029   : UpperTurnaround(0.0)
00030   , LowerTurnaround(0.0)
00031   , upperDecelBuffer(0.0)
00032   , lowerDecelBuffer(0.0)
00033   , profile(0.0)
00034   , period(0.0)
00035   , amplitude(0.0)
00036   , offset(0.0)
00037   {
00038   }
00039 
00040   SetProfileRequest_(const ContainerAllocator& _alloc)
00041   : UpperTurnaround(0.0)
00042   , LowerTurnaround(0.0)
00043   , upperDecelBuffer(0.0)
00044   , lowerDecelBuffer(0.0)
00045   , profile(0.0)
00046   , period(0.0)
00047   , amplitude(0.0)
00048   , offset(0.0)
00049   {
00050   }
00051 
00052   typedef double _UpperTurnaround_type;
00053   double UpperTurnaround;
00054 
00055   typedef double _LowerTurnaround_type;
00056   double LowerTurnaround;
00057 
00058   typedef double _upperDecelBuffer_type;
00059   double upperDecelBuffer;
00060 
00061   typedef double _lowerDecelBuffer_type;
00062   double lowerDecelBuffer;
00063 
00064   typedef double _profile_type;
00065   double profile;
00066 
00067   typedef double _period_type;
00068   double period;
00069 
00070   typedef double _amplitude_type;
00071   double amplitude;
00072 
00073   typedef double _offset_type;
00074   double offset;
00075 
00076 
00077   typedef boost::shared_ptr< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct SetProfileRequest
00081 typedef  ::pr2_mechanism_controllers::SetProfileRequest_<std::allocator<void> > SetProfileRequest;
00082 
00083 typedef boost::shared_ptr< ::pr2_mechanism_controllers::SetProfileRequest> SetProfileRequestPtr;
00084 typedef boost::shared_ptr< ::pr2_mechanism_controllers::SetProfileRequest const> SetProfileRequestConstPtr;
00085 
00086 
00087 template <class ContainerAllocator>
00088 struct SetProfileResponse_ {
00089   typedef SetProfileResponse_<ContainerAllocator> Type;
00090 
00091   SetProfileResponse_()
00092   : time(0.0)
00093   {
00094   }
00095 
00096   SetProfileResponse_(const ContainerAllocator& _alloc)
00097   : time(0.0)
00098   {
00099   }
00100 
00101   typedef double _time_type;
00102   double time;
00103 
00104 
00105   typedef boost::shared_ptr< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> > Ptr;
00106   typedef boost::shared_ptr< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator>  const> ConstPtr;
00107   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00108 }; // struct SetProfileResponse
00109 typedef  ::pr2_mechanism_controllers::SetProfileResponse_<std::allocator<void> > SetProfileResponse;
00110 
00111 typedef boost::shared_ptr< ::pr2_mechanism_controllers::SetProfileResponse> SetProfileResponsePtr;
00112 typedef boost::shared_ptr< ::pr2_mechanism_controllers::SetProfileResponse const> SetProfileResponseConstPtr;
00113 
00114 struct SetProfile
00115 {
00116 
00117 typedef SetProfileRequest Request;
00118 typedef SetProfileResponse Response;
00119 Request request;
00120 Response response;
00121 
00122 typedef Request RequestType;
00123 typedef Response ResponseType;
00124 }; // struct SetProfile
00125 } // namespace pr2_mechanism_controllers
00126 
00127 namespace ros
00128 {
00129 namespace message_traits
00130 {
00131 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> > : public TrueType {};
00132 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator>  const> : public TrueType {};
00133 template<class ContainerAllocator>
00134 struct MD5Sum< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> > {
00135   static const char* value() 
00136   {
00137     return "309001fc196b0094f23b1ae2bd672fb2";
00138   }
00139 
00140   static const char* value(const  ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> &) { return value(); } 
00141   static const uint64_t static_value1 = 0x309001fc196b0094ULL;
00142   static const uint64_t static_value2 = 0xf23b1ae2bd672fb2ULL;
00143 };
00144 
00145 template<class ContainerAllocator>
00146 struct DataType< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> > {
00147   static const char* value() 
00148   {
00149     return "pr2_mechanism_controllers/SetProfileRequest";
00150   }
00151 
00152   static const char* value(const  ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> &) { return value(); } 
00153 };
00154 
00155 template<class ContainerAllocator>
00156 struct Definition< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> > {
00157   static const char* value() 
00158   {
00159     return "float64 UpperTurnaround\n\
00160 float64 LowerTurnaround\n\
00161 float64 upperDecelBuffer\n\
00162 float64 lowerDecelBuffer\n\
00163 float64 profile\n\
00164 float64 period\n\
00165 float64 amplitude\n\
00166 float64 offset\n\
00167 \n\
00168 ";
00169   }
00170 
00171   static const char* value(const  ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> &) { return value(); } 
00172 };
00173 
00174 template<class ContainerAllocator> struct IsFixedSize< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> > : public TrueType {};
00175 } // namespace message_traits
00176 } // namespace ros
00177 
00178 
00179 namespace ros
00180 {
00181 namespace message_traits
00182 {
00183 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> > : public TrueType {};
00184 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator>  const> : public TrueType {};
00185 template<class ContainerAllocator>
00186 struct MD5Sum< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> > {
00187   static const char* value() 
00188   {
00189     return "be5310e7aa4c90cdee120add91648cee";
00190   }
00191 
00192   static const char* value(const  ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> &) { return value(); } 
00193   static const uint64_t static_value1 = 0xbe5310e7aa4c90cdULL;
00194   static const uint64_t static_value2 = 0xee120add91648ceeULL;
00195 };
00196 
00197 template<class ContainerAllocator>
00198 struct DataType< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> > {
00199   static const char* value() 
00200   {
00201     return "pr2_mechanism_controllers/SetProfileResponse";
00202   }
00203 
00204   static const char* value(const  ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> &) { return value(); } 
00205 };
00206 
00207 template<class ContainerAllocator>
00208 struct Definition< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> > {
00209   static const char* value() 
00210   {
00211     return "float64 time\n\
00212 \n\
00213 \n\
00214 \n\
00215 ";
00216   }
00217 
00218   static const char* value(const  ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> &) { return value(); } 
00219 };
00220 
00221 template<class ContainerAllocator> struct IsFixedSize< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> > : public TrueType {};
00222 } // namespace message_traits
00223 } // namespace ros
00224 
00225 namespace ros
00226 {
00227 namespace serialization
00228 {
00229 
00230 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> >
00231 {
00232   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00233   {
00234     stream.next(m.UpperTurnaround);
00235     stream.next(m.LowerTurnaround);
00236     stream.next(m.upperDecelBuffer);
00237     stream.next(m.lowerDecelBuffer);
00238     stream.next(m.profile);
00239     stream.next(m.period);
00240     stream.next(m.amplitude);
00241     stream.next(m.offset);
00242   }
00243 
00244   ROS_DECLARE_ALLINONE_SERIALIZER;
00245 }; // struct SetProfileRequest_
00246 } // namespace serialization
00247 } // namespace ros
00248 
00249 
00250 namespace ros
00251 {
00252 namespace serialization
00253 {
00254 
00255 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> >
00256 {
00257   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00258   {
00259     stream.next(m.time);
00260   }
00261 
00262   ROS_DECLARE_ALLINONE_SERIALIZER;
00263 }; // struct SetProfileResponse_
00264 } // namespace serialization
00265 } // namespace ros
00266 
00267 namespace ros
00268 {
00269 namespace service_traits
00270 {
00271 template<>
00272 struct MD5Sum<pr2_mechanism_controllers::SetProfile> {
00273   static const char* value() 
00274   {
00275     return "2c429583cad60964651aba828d788a9a";
00276   }
00277 
00278   static const char* value(const pr2_mechanism_controllers::SetProfile&) { return value(); } 
00279 };
00280 
00281 template<>
00282 struct DataType<pr2_mechanism_controllers::SetProfile> {
00283   static const char* value() 
00284   {
00285     return "pr2_mechanism_controllers/SetProfile";
00286   }
00287 
00288   static const char* value(const pr2_mechanism_controllers::SetProfile&) { return value(); } 
00289 };
00290 
00291 template<class ContainerAllocator>
00292 struct MD5Sum<pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> > {
00293   static const char* value() 
00294   {
00295     return "2c429583cad60964651aba828d788a9a";
00296   }
00297 
00298   static const char* value(const pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> &) { return value(); } 
00299 };
00300 
00301 template<class ContainerAllocator>
00302 struct DataType<pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> > {
00303   static const char* value() 
00304   {
00305     return "pr2_mechanism_controllers/SetProfile";
00306   }
00307 
00308   static const char* value(const pr2_mechanism_controllers::SetProfileRequest_<ContainerAllocator> &) { return value(); } 
00309 };
00310 
00311 template<class ContainerAllocator>
00312 struct MD5Sum<pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> > {
00313   static const char* value() 
00314   {
00315     return "2c429583cad60964651aba828d788a9a";
00316   }
00317 
00318   static const char* value(const pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> &) { return value(); } 
00319 };
00320 
00321 template<class ContainerAllocator>
00322 struct DataType<pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> > {
00323   static const char* value() 
00324   {
00325     return "pr2_mechanism_controllers/SetProfile";
00326   }
00327 
00328   static const char* value(const pr2_mechanism_controllers::SetProfileResponse_<ContainerAllocator> &) { return value(); } 
00329 };
00330 
00331 } // namespace service_traits
00332 } // namespace ros
00333 
00334 #endif // PR2_MECHANISM_CONTROLLERS_SERVICE_SETPROFILE_H
00335 


pr2_mechanism_controllers
Author(s): Sachin Chita, John Hsu, Melonee Wise
autogenerated on Fri Jan 3 2014 11:41:46