getJointState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-shadow_robot/doc_stacks/2014-01-03_11-55-43.997996/shadow_robot/sr_utilities/srv/getJointState.srv */
00002 #ifndef SR_UTILITIES_SERVICE_GETJOINTSTATE_H
00003 #define SR_UTILITIES_SERVICE_GETJOINTSTATE_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 #include "sensor_msgs/JointState.h"
00022 
00023 namespace sr_utilities
00024 {
00025 template <class ContainerAllocator>
00026 struct getJointStateRequest_ {
00027   typedef getJointStateRequest_<ContainerAllocator> Type;
00028 
00029   getJointStateRequest_()
00030   {
00031   }
00032 
00033   getJointStateRequest_(const ContainerAllocator& _alloc)
00034   {
00035   }
00036 
00037 
00038   typedef boost::shared_ptr< ::sr_utilities::getJointStateRequest_<ContainerAllocator> > Ptr;
00039   typedef boost::shared_ptr< ::sr_utilities::getJointStateRequest_<ContainerAllocator>  const> ConstPtr;
00040   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 }; // struct getJointStateRequest
00042 typedef  ::sr_utilities::getJointStateRequest_<std::allocator<void> > getJointStateRequest;
00043 
00044 typedef boost::shared_ptr< ::sr_utilities::getJointStateRequest> getJointStateRequestPtr;
00045 typedef boost::shared_ptr< ::sr_utilities::getJointStateRequest const> getJointStateRequestConstPtr;
00046 
00047 
00048 template <class ContainerAllocator>
00049 struct getJointStateResponse_ {
00050   typedef getJointStateResponse_<ContainerAllocator> Type;
00051 
00052   getJointStateResponse_()
00053   : joint_state()
00054   {
00055   }
00056 
00057   getJointStateResponse_(const ContainerAllocator& _alloc)
00058   : joint_state(_alloc)
00059   {
00060   }
00061 
00062   typedef  ::sensor_msgs::JointState_<ContainerAllocator>  _joint_state_type;
00063    ::sensor_msgs::JointState_<ContainerAllocator>  joint_state;
00064 
00065 
00066   typedef boost::shared_ptr< ::sr_utilities::getJointStateResponse_<ContainerAllocator> > Ptr;
00067   typedef boost::shared_ptr< ::sr_utilities::getJointStateResponse_<ContainerAllocator>  const> ConstPtr;
00068   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 }; // struct getJointStateResponse
00070 typedef  ::sr_utilities::getJointStateResponse_<std::allocator<void> > getJointStateResponse;
00071 
00072 typedef boost::shared_ptr< ::sr_utilities::getJointStateResponse> getJointStateResponsePtr;
00073 typedef boost::shared_ptr< ::sr_utilities::getJointStateResponse const> getJointStateResponseConstPtr;
00074 
00075 struct getJointState
00076 {
00077 
00078 typedef getJointStateRequest Request;
00079 typedef getJointStateResponse Response;
00080 Request request;
00081 Response response;
00082 
00083 typedef Request RequestType;
00084 typedef Response ResponseType;
00085 }; // struct getJointState
00086 } // namespace sr_utilities
00087 
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::sr_utilities::getJointStateRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::sr_utilities::getJointStateRequest_<ContainerAllocator>  const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::sr_utilities::getJointStateRequest_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "d41d8cd98f00b204e9800998ecf8427e";
00099   }
00100 
00101   static const char* value(const  ::sr_utilities::getJointStateRequest_<ContainerAllocator> &) { return value(); } 
00102   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00103   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct DataType< ::sr_utilities::getJointStateRequest_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "sr_utilities/getJointStateRequest";
00111   }
00112 
00113   static const char* value(const  ::sr_utilities::getJointStateRequest_<ContainerAllocator> &) { return value(); } 
00114 };
00115 
00116 template<class ContainerAllocator>
00117 struct Definition< ::sr_utilities::getJointStateRequest_<ContainerAllocator> > {
00118   static const char* value() 
00119   {
00120     return "\n\
00121 \n\
00122 ";
00123   }
00124 
00125   static const char* value(const  ::sr_utilities::getJointStateRequest_<ContainerAllocator> &) { return value(); } 
00126 };
00127 
00128 template<class ContainerAllocator> struct IsFixedSize< ::sr_utilities::getJointStateRequest_<ContainerAllocator> > : public TrueType {};
00129 } // namespace message_traits
00130 } // namespace ros
00131 
00132 
00133 namespace ros
00134 {
00135 namespace message_traits
00136 {
00137 template<class ContainerAllocator> struct IsMessage< ::sr_utilities::getJointStateResponse_<ContainerAllocator> > : public TrueType {};
00138 template<class ContainerAllocator> struct IsMessage< ::sr_utilities::getJointStateResponse_<ContainerAllocator>  const> : public TrueType {};
00139 template<class ContainerAllocator>
00140 struct MD5Sum< ::sr_utilities::getJointStateResponse_<ContainerAllocator> > {
00141   static const char* value() 
00142   {
00143     return "9ca061465ef0ed08771ed240c43789f5";
00144   }
00145 
00146   static const char* value(const  ::sr_utilities::getJointStateResponse_<ContainerAllocator> &) { return value(); } 
00147   static const uint64_t static_value1 = 0x9ca061465ef0ed08ULL;
00148   static const uint64_t static_value2 = 0x771ed240c43789f5ULL;
00149 };
00150 
00151 template<class ContainerAllocator>
00152 struct DataType< ::sr_utilities::getJointStateResponse_<ContainerAllocator> > {
00153   static const char* value() 
00154   {
00155     return "sr_utilities/getJointStateResponse";
00156   }
00157 
00158   static const char* value(const  ::sr_utilities::getJointStateResponse_<ContainerAllocator> &) { return value(); } 
00159 };
00160 
00161 template<class ContainerAllocator>
00162 struct Definition< ::sr_utilities::getJointStateResponse_<ContainerAllocator> > {
00163   static const char* value() 
00164   {
00165     return "sensor_msgs/JointState joint_state\n\
00166 \n\
00167 \n\
00168 ================================================================================\n\
00169 MSG: sensor_msgs/JointState\n\
00170 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00171 #\n\
00172 # The state of each joint (revolute or prismatic) is defined by:\n\
00173 #  * the position of the joint (rad or m),\n\
00174 #  * the velocity of the joint (rad/s or m/s) and \n\
00175 #  * the effort that is applied in the joint (Nm or N).\n\
00176 #\n\
00177 # Each joint is uniquely identified by its name\n\
00178 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00179 # in one message have to be recorded at the same time.\n\
00180 #\n\
00181 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00182 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00183 # effort associated with them, you can leave the effort array empty. \n\
00184 #\n\
00185 # All arrays in this message should have the same size, or be empty.\n\
00186 # This is the only way to uniquely associate the joint name with the correct\n\
00187 # states.\n\
00188 \n\
00189 \n\
00190 Header header\n\
00191 \n\
00192 string[] name\n\
00193 float64[] position\n\
00194 float64[] velocity\n\
00195 float64[] effort\n\
00196 \n\
00197 ================================================================================\n\
00198 MSG: std_msgs/Header\n\
00199 # Standard metadata for higher-level stamped data types.\n\
00200 # This is generally used to communicate timestamped data \n\
00201 # in a particular coordinate frame.\n\
00202 # \n\
00203 # sequence ID: consecutively increasing ID \n\
00204 uint32 seq\n\
00205 #Two-integer timestamp that is expressed as:\n\
00206 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00207 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00208 # time-handling sugar is provided by the client library\n\
00209 time stamp\n\
00210 #Frame this data is associated with\n\
00211 # 0: no frame\n\
00212 # 1: global frame\n\
00213 string frame_id\n\
00214 \n\
00215 ";
00216   }
00217 
00218   static const char* value(const  ::sr_utilities::getJointStateResponse_<ContainerAllocator> &) { return value(); } 
00219 };
00220 
00221 } // namespace message_traits
00222 } // namespace ros
00223 
00224 namespace ros
00225 {
00226 namespace serialization
00227 {
00228 
00229 template<class ContainerAllocator> struct Serializer< ::sr_utilities::getJointStateRequest_<ContainerAllocator> >
00230 {
00231   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00232   {
00233   }
00234 
00235   ROS_DECLARE_ALLINONE_SERIALIZER;
00236 }; // struct getJointStateRequest_
00237 } // namespace serialization
00238 } // namespace ros
00239 
00240 
00241 namespace ros
00242 {
00243 namespace serialization
00244 {
00245 
00246 template<class ContainerAllocator> struct Serializer< ::sr_utilities::getJointStateResponse_<ContainerAllocator> >
00247 {
00248   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00249   {
00250     stream.next(m.joint_state);
00251   }
00252 
00253   ROS_DECLARE_ALLINONE_SERIALIZER;
00254 }; // struct getJointStateResponse_
00255 } // namespace serialization
00256 } // namespace ros
00257 
00258 namespace ros
00259 {
00260 namespace service_traits
00261 {
00262 template<>
00263 struct MD5Sum<sr_utilities::getJointState> {
00264   static const char* value() 
00265   {
00266     return "9ca061465ef0ed08771ed240c43789f5";
00267   }
00268 
00269   static const char* value(const sr_utilities::getJointState&) { return value(); } 
00270 };
00271 
00272 template<>
00273 struct DataType<sr_utilities::getJointState> {
00274   static const char* value() 
00275   {
00276     return "sr_utilities/getJointState";
00277   }
00278 
00279   static const char* value(const sr_utilities::getJointState&) { return value(); } 
00280 };
00281 
00282 template<class ContainerAllocator>
00283 struct MD5Sum<sr_utilities::getJointStateRequest_<ContainerAllocator> > {
00284   static const char* value() 
00285   {
00286     return "9ca061465ef0ed08771ed240c43789f5";
00287   }
00288 
00289   static const char* value(const sr_utilities::getJointStateRequest_<ContainerAllocator> &) { return value(); } 
00290 };
00291 
00292 template<class ContainerAllocator>
00293 struct DataType<sr_utilities::getJointStateRequest_<ContainerAllocator> > {
00294   static const char* value() 
00295   {
00296     return "sr_utilities/getJointState";
00297   }
00298 
00299   static const char* value(const sr_utilities::getJointStateRequest_<ContainerAllocator> &) { return value(); } 
00300 };
00301 
00302 template<class ContainerAllocator>
00303 struct MD5Sum<sr_utilities::getJointStateResponse_<ContainerAllocator> > {
00304   static const char* value() 
00305   {
00306     return "9ca061465ef0ed08771ed240c43789f5";
00307   }
00308 
00309   static const char* value(const sr_utilities::getJointStateResponse_<ContainerAllocator> &) { return value(); } 
00310 };
00311 
00312 template<class ContainerAllocator>
00313 struct DataType<sr_utilities::getJointStateResponse_<ContainerAllocator> > {
00314   static const char* value() 
00315   {
00316     return "sr_utilities/getJointState";
00317   }
00318 
00319   static const char* value(const sr_utilities::getJointStateResponse_<ContainerAllocator> &) { return value(); } 
00320 };
00321 
00322 } // namespace service_traits
00323 } // namespace ros
00324 
00325 #endif // SR_UTILITIES_SERVICE_GETJOINTSTATE_H
00326 


sr_utilities
Author(s): Ugo Cupcic
autogenerated on Fri Jan 3 2014 12:02:44