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


sr_utilities
Author(s): Ugo Cupcic
autogenerated on Mon Oct 6 2014 07:42:15