$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-shadow_robot/doc_stacks/2013-03-02_13-32-28.994675/shadow_robot/sr_robot_msgs/msg/reverseKinematics.msg */ 00002 #ifndef SR_ROBOT_MSGS_MESSAGE_REVERSEKINEMATICS_H 00003 #define SR_ROBOT_MSGS_MESSAGE_REVERSEKINEMATICS_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 00018 namespace sr_robot_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct reverseKinematics_ { 00022 typedef reverseKinematics_<ContainerAllocator> Type; 00023 00024 reverseKinematics_() 00025 : finger_name() 00026 { 00027 } 00028 00029 reverseKinematics_(const ContainerAllocator& _alloc) 00030 : finger_name(_alloc) 00031 { 00032 } 00033 00034 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _finger_name_type; 00035 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > finger_name; 00036 00037 00038 private: 00039 static const char* __s_getDataType_() { return "sr_robot_msgs/reverseKinematics"; } 00040 public: 00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00042 00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00044 00045 private: 00046 static const char* __s_getMD5Sum_() { return "db455ae8ce3e770363971b1e8e35fac4"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00049 00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00051 00052 private: 00053 static const char* __s_getMessageDefinition_() { return "string finger_name\n\ 00054 \n\ 00055 \n\ 00056 "; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00059 00060 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00061 00062 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00063 { 00064 ros::serialization::OStream stream(write_ptr, 1000000000); 00065 ros::serialization::serialize(stream, finger_name); 00066 return stream.getData(); 00067 } 00068 00069 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00070 { 00071 ros::serialization::IStream stream(read_ptr, 1000000000); 00072 ros::serialization::deserialize(stream, finger_name); 00073 return stream.getData(); 00074 } 00075 00076 ROS_DEPRECATED virtual uint32_t serializationLength() const 00077 { 00078 uint32_t size = 0; 00079 size += ros::serialization::serializationLength(finger_name); 00080 return size; 00081 } 00082 00083 typedef boost::shared_ptr< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> > Ptr; 00084 typedef boost::shared_ptr< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> const> ConstPtr; 00085 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00086 }; // struct reverseKinematics 00087 typedef ::sr_robot_msgs::reverseKinematics_<std::allocator<void> > reverseKinematics; 00088 00089 typedef boost::shared_ptr< ::sr_robot_msgs::reverseKinematics> reverseKinematicsPtr; 00090 typedef boost::shared_ptr< ::sr_robot_msgs::reverseKinematics const> reverseKinematicsConstPtr; 00091 00092 00093 template<typename ContainerAllocator> 00094 std::ostream& operator<<(std::ostream& s, const ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> & v) 00095 { 00096 ros::message_operations::Printer< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> >::stream(s, "", v); 00097 return s;} 00098 00099 } // namespace sr_robot_msgs 00100 00101 namespace ros 00102 { 00103 namespace message_traits 00104 { 00105 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> > : public TrueType {}; 00106 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> const> : public TrueType {}; 00107 template<class ContainerAllocator> 00108 struct MD5Sum< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> > { 00109 static const char* value() 00110 { 00111 return "db455ae8ce3e770363971b1e8e35fac4"; 00112 } 00113 00114 static const char* value(const ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> &) { return value(); } 00115 static const uint64_t static_value1 = 0xdb455ae8ce3e7703ULL; 00116 static const uint64_t static_value2 = 0x63971b1e8e35fac4ULL; 00117 }; 00118 00119 template<class ContainerAllocator> 00120 struct DataType< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> > { 00121 static const char* value() 00122 { 00123 return "sr_robot_msgs/reverseKinematics"; 00124 } 00125 00126 static const char* value(const ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> &) { return value(); } 00127 }; 00128 00129 template<class ContainerAllocator> 00130 struct Definition< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> > { 00131 static const char* value() 00132 { 00133 return "string finger_name\n\ 00134 \n\ 00135 \n\ 00136 "; 00137 } 00138 00139 static const char* value(const ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> &) { return value(); } 00140 }; 00141 00142 } // namespace message_traits 00143 } // namespace ros 00144 00145 namespace ros 00146 { 00147 namespace serialization 00148 { 00149 00150 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> > 00151 { 00152 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00153 { 00154 stream.next(m.finger_name); 00155 } 00156 00157 ROS_DECLARE_ALLINONE_SERIALIZER; 00158 }; // struct reverseKinematics_ 00159 } // namespace serialization 00160 } // namespace ros 00161 00162 namespace ros 00163 { 00164 namespace message_operations 00165 { 00166 00167 template<class ContainerAllocator> 00168 struct Printer< ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> > 00169 { 00170 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sr_robot_msgs::reverseKinematics_<ContainerAllocator> & v) 00171 { 00172 s << indent << "finger_name: "; 00173 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.finger_name); 00174 } 00175 }; 00176 00177 00178 } // namespace message_operations 00179 } // namespace ros 00180 00181 #endif // SR_ROBOT_MSGS_MESSAGE_REVERSEKINEMATICS_H 00182