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


pr2_controllers_msgs
Author(s): Stuart Glaser
autogenerated on Fri Jan 3 2014 11:41:03