$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_common/doc_stacks/2013-03-01_14-38-37.978792/cob_common/brics_actuator/msg/JointConstraint.msg */ 00002 #ifndef BRICS_ACTUATOR_MESSAGE_JOINTCONSTRAINT_H 00003 #define BRICS_ACTUATOR_MESSAGE_JOINTCONSTRAINT_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 "brics_actuator/JointValue.h" 00018 00019 namespace brics_actuator 00020 { 00021 template <class ContainerAllocator> 00022 struct JointConstraint_ { 00023 typedef JointConstraint_<ContainerAllocator> Type; 00024 00025 JointConstraint_() 00026 : type() 00027 , value() 00028 { 00029 } 00030 00031 JointConstraint_(const ContainerAllocator& _alloc) 00032 : type(_alloc) 00033 , value(_alloc) 00034 { 00035 } 00036 00037 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _type_type; 00038 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > type; 00039 00040 typedef ::brics_actuator::JointValue_<ContainerAllocator> _value_type; 00041 ::brics_actuator::JointValue_<ContainerAllocator> value; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "brics_actuator/JointConstraint"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "f77db04949b26b64f80564df22f00ecb"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "string type #smaller, greater, equal or <, >, =\n\ 00060 JointValue value\n\ 00061 \n\ 00062 ================================================================================\n\ 00063 MSG: brics_actuator/JointValue\n\ 00064 time timeStamp #time of the data \n\ 00065 string joint_uri\n\ 00066 string unit #if empy expects si units, you can use boost::unit\n\ 00067 float64 value\n\ 00068 \n\ 00069 "; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00076 { 00077 ros::serialization::OStream stream(write_ptr, 1000000000); 00078 ros::serialization::serialize(stream, type); 00079 ros::serialization::serialize(stream, value); 00080 return stream.getData(); 00081 } 00082 00083 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00084 { 00085 ros::serialization::IStream stream(read_ptr, 1000000000); 00086 ros::serialization::deserialize(stream, type); 00087 ros::serialization::deserialize(stream, value); 00088 return stream.getData(); 00089 } 00090 00091 ROS_DEPRECATED virtual uint32_t serializationLength() const 00092 { 00093 uint32_t size = 0; 00094 size += ros::serialization::serializationLength(type); 00095 size += ros::serialization::serializationLength(value); 00096 return size; 00097 } 00098 00099 typedef boost::shared_ptr< ::brics_actuator::JointConstraint_<ContainerAllocator> > Ptr; 00100 typedef boost::shared_ptr< ::brics_actuator::JointConstraint_<ContainerAllocator> const> ConstPtr; 00101 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00102 }; // struct JointConstraint 00103 typedef ::brics_actuator::JointConstraint_<std::allocator<void> > JointConstraint; 00104 00105 typedef boost::shared_ptr< ::brics_actuator::JointConstraint> JointConstraintPtr; 00106 typedef boost::shared_ptr< ::brics_actuator::JointConstraint const> JointConstraintConstPtr; 00107 00108 00109 template<typename ContainerAllocator> 00110 std::ostream& operator<<(std::ostream& s, const ::brics_actuator::JointConstraint_<ContainerAllocator> & v) 00111 { 00112 ros::message_operations::Printer< ::brics_actuator::JointConstraint_<ContainerAllocator> >::stream(s, "", v); 00113 return s;} 00114 00115 } // namespace brics_actuator 00116 00117 namespace ros 00118 { 00119 namespace message_traits 00120 { 00121 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::JointConstraint_<ContainerAllocator> > : public TrueType {}; 00122 template<class ContainerAllocator> struct IsMessage< ::brics_actuator::JointConstraint_<ContainerAllocator> const> : public TrueType {}; 00123 template<class ContainerAllocator> 00124 struct MD5Sum< ::brics_actuator::JointConstraint_<ContainerAllocator> > { 00125 static const char* value() 00126 { 00127 return "f77db04949b26b64f80564df22f00ecb"; 00128 } 00129 00130 static const char* value(const ::brics_actuator::JointConstraint_<ContainerAllocator> &) { return value(); } 00131 static const uint64_t static_value1 = 0xf77db04949b26b64ULL; 00132 static const uint64_t static_value2 = 0xf80564df22f00ecbULL; 00133 }; 00134 00135 template<class ContainerAllocator> 00136 struct DataType< ::brics_actuator::JointConstraint_<ContainerAllocator> > { 00137 static const char* value() 00138 { 00139 return "brics_actuator/JointConstraint"; 00140 } 00141 00142 static const char* value(const ::brics_actuator::JointConstraint_<ContainerAllocator> &) { return value(); } 00143 }; 00144 00145 template<class ContainerAllocator> 00146 struct Definition< ::brics_actuator::JointConstraint_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "string type #smaller, greater, equal or <, >, =\n\ 00150 JointValue value\n\ 00151 \n\ 00152 ================================================================================\n\ 00153 MSG: brics_actuator/JointValue\n\ 00154 time timeStamp #time of the data \n\ 00155 string joint_uri\n\ 00156 string unit #if empy expects si units, you can use boost::unit\n\ 00157 float64 value\n\ 00158 \n\ 00159 "; 00160 } 00161 00162 static const char* value(const ::brics_actuator::JointConstraint_<ContainerAllocator> &) { return value(); } 00163 }; 00164 00165 } // namespace message_traits 00166 } // namespace ros 00167 00168 namespace ros 00169 { 00170 namespace serialization 00171 { 00172 00173 template<class ContainerAllocator> struct Serializer< ::brics_actuator::JointConstraint_<ContainerAllocator> > 00174 { 00175 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00176 { 00177 stream.next(m.type); 00178 stream.next(m.value); 00179 } 00180 00181 ROS_DECLARE_ALLINONE_SERIALIZER; 00182 }; // struct JointConstraint_ 00183 } // namespace serialization 00184 } // namespace ros 00185 00186 namespace ros 00187 { 00188 namespace message_operations 00189 { 00190 00191 template<class ContainerAllocator> 00192 struct Printer< ::brics_actuator::JointConstraint_<ContainerAllocator> > 00193 { 00194 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::brics_actuator::JointConstraint_<ContainerAllocator> & v) 00195 { 00196 s << indent << "type: "; 00197 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.type); 00198 s << indent << "value: "; 00199 s << std::endl; 00200 Printer< ::brics_actuator::JointValue_<ContainerAllocator> >::stream(s, indent + " ", v.value); 00201 } 00202 }; 00203 00204 00205 } // namespace message_operations 00206 } // namespace ros 00207 00208 #endif // BRICS_ACTUATOR_MESSAGE_JOINTCONSTRAINT_H 00209