SetJointTrajectory.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cob_common/doc_stacks/2013-03-01_17-42-56.130276/cob_common/cob_srvs/srv/SetJointTrajectory.srv */
00002 #ifndef COB_SRVS_SERVICE_SETJOINTTRAJECTORY_H
00003 #define COB_SRVS_SERVICE_SETJOINTTRAJECTORY_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 "trajectory_msgs/JointTrajectory.h"
00020 
00021 
00022 #include "std_msgs/String.h"
00023 
00024 namespace cob_srvs
00025 {
00026 template <class ContainerAllocator>
00027 struct SetJointTrajectoryRequest_ {
00028   typedef SetJointTrajectoryRequest_<ContainerAllocator> Type;
00029 
00030   SetJointTrajectoryRequest_()
00031   : trajectory()
00032   {
00033   }
00034 
00035   SetJointTrajectoryRequest_(const ContainerAllocator& _alloc)
00036   : trajectory(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::trajectory_msgs::JointTrajectory_<ContainerAllocator>  _trajectory_type;
00041    ::trajectory_msgs::JointTrajectory_<ContainerAllocator>  trajectory;
00042 
00043 
00044   typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct SetJointTrajectoryRequest
00048 typedef  ::cob_srvs::SetJointTrajectoryRequest_<std::allocator<void> > SetJointTrajectoryRequest;
00049 
00050 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryRequest> SetJointTrajectoryRequestPtr;
00051 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryRequest const> SetJointTrajectoryRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct SetJointTrajectoryResponse_ {
00056   typedef SetJointTrajectoryResponse_<ContainerAllocator> Type;
00057 
00058   SetJointTrajectoryResponse_()
00059   : success(0)
00060   , errorMessage()
00061   {
00062   }
00063 
00064   SetJointTrajectoryResponse_(const ContainerAllocator& _alloc)
00065   : success(0)
00066   , errorMessage(_alloc)
00067   {
00068   }
00069 
00070   typedef int64_t _success_type;
00071   int64_t success;
00072 
00073   typedef  ::std_msgs::String_<ContainerAllocator>  _errorMessage_type;
00074    ::std_msgs::String_<ContainerAllocator>  errorMessage;
00075 
00076 
00077   typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct SetJointTrajectoryResponse
00081 typedef  ::cob_srvs::SetJointTrajectoryResponse_<std::allocator<void> > SetJointTrajectoryResponse;
00082 
00083 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryResponse> SetJointTrajectoryResponsePtr;
00084 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryResponse const> SetJointTrajectoryResponseConstPtr;
00085 
00086 struct SetJointTrajectory
00087 {
00088 
00089 typedef SetJointTrajectoryRequest Request;
00090 typedef SetJointTrajectoryResponse Response;
00091 Request request;
00092 Response response;
00093 
00094 typedef Request RequestType;
00095 typedef Response ResponseType;
00096 }; // struct SetJointTrajectory
00097 } // namespace cob_srvs
00098 
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator>  const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "48a668811b715b51af6b3383511ae27f";
00110   }
00111 
00112   static const char* value(const  ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); } 
00113   static const uint64_t static_value1 = 0x48a668811b715b51ULL;
00114   static const uint64_t static_value2 = 0xaf6b3383511ae27fULL;
00115 };
00116 
00117 template<class ContainerAllocator>
00118 struct DataType< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00119   static const char* value() 
00120   {
00121     return "cob_srvs/SetJointTrajectoryRequest";
00122   }
00123 
00124   static const char* value(const  ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator>
00128 struct Definition< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "trajectory_msgs/JointTrajectory trajectory\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: trajectory_msgs/JointTrajectory\n\
00135 Header header\n\
00136 string[] joint_names\n\
00137 JointTrajectoryPoint[] points\n\
00138 ================================================================================\n\
00139 MSG: std_msgs/Header\n\
00140 # Standard metadata for higher-level stamped data types.\n\
00141 # This is generally used to communicate timestamped data \n\
00142 # in a particular coordinate frame.\n\
00143 # \n\
00144 # sequence ID: consecutively increasing ID \n\
00145 uint32 seq\n\
00146 #Two-integer timestamp that is expressed as:\n\
00147 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00148 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00149 # time-handling sugar is provided by the client library\n\
00150 time stamp\n\
00151 #Frame this data is associated with\n\
00152 # 0: no frame\n\
00153 # 1: global frame\n\
00154 string frame_id\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00158 float64[] positions\n\
00159 float64[] velocities\n\
00160 float64[] accelerations\n\
00161 duration time_from_start\n\
00162 ";
00163   }
00164 
00165   static const char* value(const  ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); } 
00166 };
00167 
00168 } // namespace message_traits
00169 } // namespace ros
00170 
00171 
00172 namespace ros
00173 {
00174 namespace message_traits
00175 {
00176 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > : public TrueType {};
00177 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator>  const> : public TrueType {};
00178 template<class ContainerAllocator>
00179 struct MD5Sum< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00180   static const char* value() 
00181   {
00182     return "fff2fd61c570b3016de5f27e6dc433be";
00183   }
00184 
00185   static const char* value(const  ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); } 
00186   static const uint64_t static_value1 = 0xfff2fd61c570b301ULL;
00187   static const uint64_t static_value2 = 0x6de5f27e6dc433beULL;
00188 };
00189 
00190 template<class ContainerAllocator>
00191 struct DataType< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00192   static const char* value() 
00193   {
00194     return "cob_srvs/SetJointTrajectoryResponse";
00195   }
00196 
00197   static const char* value(const  ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); } 
00198 };
00199 
00200 template<class ContainerAllocator>
00201 struct Definition< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00202   static const char* value() 
00203   {
00204     return "int64 success\n\
00205 std_msgs/String errorMessage\n\
00206 \n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: std_msgs/String\n\
00210 string data\n\
00211 \n\
00212 ";
00213   }
00214 
00215   static const char* value(const  ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); } 
00216 };
00217 
00218 } // namespace message_traits
00219 } // namespace ros
00220 
00221 namespace ros
00222 {
00223 namespace serialization
00224 {
00225 
00226 template<class ContainerAllocator> struct Serializer< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> >
00227 {
00228   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00229   {
00230     stream.next(m.trajectory);
00231   }
00232 
00233   ROS_DECLARE_ALLINONE_SERIALIZER;
00234 }; // struct SetJointTrajectoryRequest_
00235 } // namespace serialization
00236 } // namespace ros
00237 
00238 
00239 namespace ros
00240 {
00241 namespace serialization
00242 {
00243 
00244 template<class ContainerAllocator> struct Serializer< ::cob_srvs::SetJointTrajectoryResponse_<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.errorMessage);
00250   }
00251 
00252   ROS_DECLARE_ALLINONE_SERIALIZER;
00253 }; // struct SetJointTrajectoryResponse_
00254 } // namespace serialization
00255 } // namespace ros
00256 
00257 namespace ros
00258 {
00259 namespace service_traits
00260 {
00261 template<>
00262 struct MD5Sum<cob_srvs::SetJointTrajectory> {
00263   static const char* value() 
00264   {
00265     return "09ae52e52b4c7dae8badb976ba693ba3";
00266   }
00267 
00268   static const char* value(const cob_srvs::SetJointTrajectory&) { return value(); } 
00269 };
00270 
00271 template<>
00272 struct DataType<cob_srvs::SetJointTrajectory> {
00273   static const char* value() 
00274   {
00275     return "cob_srvs/SetJointTrajectory";
00276   }
00277 
00278   static const char* value(const cob_srvs::SetJointTrajectory&) { return value(); } 
00279 };
00280 
00281 template<class ContainerAllocator>
00282 struct MD5Sum<cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00283   static const char* value() 
00284   {
00285     return "09ae52e52b4c7dae8badb976ba693ba3";
00286   }
00287 
00288   static const char* value(const cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); } 
00289 };
00290 
00291 template<class ContainerAllocator>
00292 struct DataType<cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00293   static const char* value() 
00294   {
00295     return "cob_srvs/SetJointTrajectory";
00296   }
00297 
00298   static const char* value(const cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); } 
00299 };
00300 
00301 template<class ContainerAllocator>
00302 struct MD5Sum<cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00303   static const char* value() 
00304   {
00305     return "09ae52e52b4c7dae8badb976ba693ba3";
00306   }
00307 
00308   static const char* value(const cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); } 
00309 };
00310 
00311 template<class ContainerAllocator>
00312 struct DataType<cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00313   static const char* value() 
00314   {
00315     return "cob_srvs/SetJointTrajectory";
00316   }
00317 
00318   static const char* value(const cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); } 
00319 };
00320 
00321 } // namespace service_traits
00322 } // namespace ros
00323 
00324 #endif // COB_SRVS_SERVICE_SETJOINTTRAJECTORY_H
00325 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


cob_srvs
Author(s): Florian Weisshardt
autogenerated on Fri Mar 1 2013 17:46:00