$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-alufr-humanoid_stacks/doc_stacks/2013-03-05_11-28-06.315559/nao_robot/nao_msgs/msg/BlinkFeedback.msg */ 00002 #ifndef NAO_MSGS_MESSAGE_BLINKFEEDBACK_H 00003 #define NAO_MSGS_MESSAGE_BLINKFEEDBACK_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 "std_msgs/ColorRGBA.h" 00018 00019 namespace nao_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct BlinkFeedback_ { 00023 typedef BlinkFeedback_<ContainerAllocator> Type; 00024 00025 BlinkFeedback_() 00026 : last_color() 00027 { 00028 } 00029 00030 BlinkFeedback_(const ContainerAllocator& _alloc) 00031 : last_color(_alloc) 00032 { 00033 } 00034 00035 typedef ::std_msgs::ColorRGBA_<ContainerAllocator> _last_color_type; 00036 ::std_msgs::ColorRGBA_<ContainerAllocator> last_color; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "nao_msgs/BlinkFeedback"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "6f1f94fb3eb06412264f6e0c5e72cfab"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00055 std_msgs/ColorRGBA last_color\n\ 00056 \n\ 00057 \n\ 00058 ================================================================================\n\ 00059 MSG: std_msgs/ColorRGBA\n\ 00060 float32 r\n\ 00061 float32 g\n\ 00062 float32 b\n\ 00063 float32 a\n\ 00064 \n\ 00065 "; } 00066 public: 00067 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00068 00069 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00070 00071 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00072 { 00073 ros::serialization::OStream stream(write_ptr, 1000000000); 00074 ros::serialization::serialize(stream, last_color); 00075 return stream.getData(); 00076 } 00077 00078 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00079 { 00080 ros::serialization::IStream stream(read_ptr, 1000000000); 00081 ros::serialization::deserialize(stream, last_color); 00082 return stream.getData(); 00083 } 00084 00085 ROS_DEPRECATED virtual uint32_t serializationLength() const 00086 { 00087 uint32_t size = 0; 00088 size += ros::serialization::serializationLength(last_color); 00089 return size; 00090 } 00091 00092 typedef boost::shared_ptr< ::nao_msgs::BlinkFeedback_<ContainerAllocator> > Ptr; 00093 typedef boost::shared_ptr< ::nao_msgs::BlinkFeedback_<ContainerAllocator> const> ConstPtr; 00094 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00095 }; // struct BlinkFeedback 00096 typedef ::nao_msgs::BlinkFeedback_<std::allocator<void> > BlinkFeedback; 00097 00098 typedef boost::shared_ptr< ::nao_msgs::BlinkFeedback> BlinkFeedbackPtr; 00099 typedef boost::shared_ptr< ::nao_msgs::BlinkFeedback const> BlinkFeedbackConstPtr; 00100 00101 00102 template<typename ContainerAllocator> 00103 std::ostream& operator<<(std::ostream& s, const ::nao_msgs::BlinkFeedback_<ContainerAllocator> & v) 00104 { 00105 ros::message_operations::Printer< ::nao_msgs::BlinkFeedback_<ContainerAllocator> >::stream(s, "", v); 00106 return s;} 00107 00108 } // namespace nao_msgs 00109 00110 namespace ros 00111 { 00112 namespace message_traits 00113 { 00114 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::BlinkFeedback_<ContainerAllocator> > : public TrueType {}; 00115 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::BlinkFeedback_<ContainerAllocator> const> : public TrueType {}; 00116 template<class ContainerAllocator> 00117 struct MD5Sum< ::nao_msgs::BlinkFeedback_<ContainerAllocator> > { 00118 static const char* value() 00119 { 00120 return "6f1f94fb3eb06412264f6e0c5e72cfab"; 00121 } 00122 00123 static const char* value(const ::nao_msgs::BlinkFeedback_<ContainerAllocator> &) { return value(); } 00124 static const uint64_t static_value1 = 0x6f1f94fb3eb06412ULL; 00125 static const uint64_t static_value2 = 0x264f6e0c5e72cfabULL; 00126 }; 00127 00128 template<class ContainerAllocator> 00129 struct DataType< ::nao_msgs::BlinkFeedback_<ContainerAllocator> > { 00130 static const char* value() 00131 { 00132 return "nao_msgs/BlinkFeedback"; 00133 } 00134 00135 static const char* value(const ::nao_msgs::BlinkFeedback_<ContainerAllocator> &) { return value(); } 00136 }; 00137 00138 template<class ContainerAllocator> 00139 struct Definition< ::nao_msgs::BlinkFeedback_<ContainerAllocator> > { 00140 static const char* value() 00141 { 00142 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00143 std_msgs/ColorRGBA last_color\n\ 00144 \n\ 00145 \n\ 00146 ================================================================================\n\ 00147 MSG: std_msgs/ColorRGBA\n\ 00148 float32 r\n\ 00149 float32 g\n\ 00150 float32 b\n\ 00151 float32 a\n\ 00152 \n\ 00153 "; 00154 } 00155 00156 static const char* value(const ::nao_msgs::BlinkFeedback_<ContainerAllocator> &) { return value(); } 00157 }; 00158 00159 template<class ContainerAllocator> struct IsFixedSize< ::nao_msgs::BlinkFeedback_<ContainerAllocator> > : public TrueType {}; 00160 } // namespace message_traits 00161 } // namespace ros 00162 00163 namespace ros 00164 { 00165 namespace serialization 00166 { 00167 00168 template<class ContainerAllocator> struct Serializer< ::nao_msgs::BlinkFeedback_<ContainerAllocator> > 00169 { 00170 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00171 { 00172 stream.next(m.last_color); 00173 } 00174 00175 ROS_DECLARE_ALLINONE_SERIALIZER; 00176 }; // struct BlinkFeedback_ 00177 } // namespace serialization 00178 } // namespace ros 00179 00180 namespace ros 00181 { 00182 namespace message_operations 00183 { 00184 00185 template<class ContainerAllocator> 00186 struct Printer< ::nao_msgs::BlinkFeedback_<ContainerAllocator> > 00187 { 00188 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nao_msgs::BlinkFeedback_<ContainerAllocator> & v) 00189 { 00190 s << indent << "last_color: "; 00191 s << std::endl; 00192 Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >::stream(s, indent + " ", v.last_color); 00193 } 00194 }; 00195 00196 00197 } // namespace message_operations 00198 } // namespace ros 00199 00200 #endif // NAO_MSGS_MESSAGE_BLINKFEEDBACK_H 00201