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


pr2_controllers_msgs
Author(s): Stuart Glaser
autogenerated on Thu Apr 24 2014 15:44:13