$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/BlinkResult.msg */ 00002 #ifndef NAO_MSGS_MESSAGE_BLINKRESULT_H 00003 #define NAO_MSGS_MESSAGE_BLINKRESULT_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 nao_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct BlinkResult_ { 00022 typedef BlinkResult_<ContainerAllocator> Type; 00023 00024 BlinkResult_() 00025 : still_blinking(false) 00026 { 00027 } 00028 00029 BlinkResult_(const ContainerAllocator& _alloc) 00030 : still_blinking(false) 00031 { 00032 } 00033 00034 typedef uint8_t _still_blinking_type; 00035 uint8_t still_blinking; 00036 00037 00038 private: 00039 static const char* __s_getDataType_() { return "nao_msgs/BlinkResult"; } 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 "53e041b81450f9247036f13b3c0bf822"; } 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 "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00054 bool still_blinking\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, still_blinking); 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, still_blinking); 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(still_blinking); 00080 return size; 00081 } 00082 00083 typedef boost::shared_ptr< ::nao_msgs::BlinkResult_<ContainerAllocator> > Ptr; 00084 typedef boost::shared_ptr< ::nao_msgs::BlinkResult_<ContainerAllocator> const> ConstPtr; 00085 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00086 }; // struct BlinkResult 00087 typedef ::nao_msgs::BlinkResult_<std::allocator<void> > BlinkResult; 00088 00089 typedef boost::shared_ptr< ::nao_msgs::BlinkResult> BlinkResultPtr; 00090 typedef boost::shared_ptr< ::nao_msgs::BlinkResult const> BlinkResultConstPtr; 00091 00092 00093 template<typename ContainerAllocator> 00094 std::ostream& operator<<(std::ostream& s, const ::nao_msgs::BlinkResult_<ContainerAllocator> & v) 00095 { 00096 ros::message_operations::Printer< ::nao_msgs::BlinkResult_<ContainerAllocator> >::stream(s, "", v); 00097 return s;} 00098 00099 } // namespace nao_msgs 00100 00101 namespace ros 00102 { 00103 namespace message_traits 00104 { 00105 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::BlinkResult_<ContainerAllocator> > : public TrueType {}; 00106 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::BlinkResult_<ContainerAllocator> const> : public TrueType {}; 00107 template<class ContainerAllocator> 00108 struct MD5Sum< ::nao_msgs::BlinkResult_<ContainerAllocator> > { 00109 static const char* value() 00110 { 00111 return "53e041b81450f9247036f13b3c0bf822"; 00112 } 00113 00114 static const char* value(const ::nao_msgs::BlinkResult_<ContainerAllocator> &) { return value(); } 00115 static const uint64_t static_value1 = 0x53e041b81450f924ULL; 00116 static const uint64_t static_value2 = 0x7036f13b3c0bf822ULL; 00117 }; 00118 00119 template<class ContainerAllocator> 00120 struct DataType< ::nao_msgs::BlinkResult_<ContainerAllocator> > { 00121 static const char* value() 00122 { 00123 return "nao_msgs/BlinkResult"; 00124 } 00125 00126 static const char* value(const ::nao_msgs::BlinkResult_<ContainerAllocator> &) { return value(); } 00127 }; 00128 00129 template<class ContainerAllocator> 00130 struct Definition< ::nao_msgs::BlinkResult_<ContainerAllocator> > { 00131 static const char* value() 00132 { 00133 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00134 bool still_blinking\n\ 00135 \n\ 00136 "; 00137 } 00138 00139 static const char* value(const ::nao_msgs::BlinkResult_<ContainerAllocator> &) { return value(); } 00140 }; 00141 00142 template<class ContainerAllocator> struct IsFixedSize< ::nao_msgs::BlinkResult_<ContainerAllocator> > : public TrueType {}; 00143 } // namespace message_traits 00144 } // namespace ros 00145 00146 namespace ros 00147 { 00148 namespace serialization 00149 { 00150 00151 template<class ContainerAllocator> struct Serializer< ::nao_msgs::BlinkResult_<ContainerAllocator> > 00152 { 00153 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00154 { 00155 stream.next(m.still_blinking); 00156 } 00157 00158 ROS_DECLARE_ALLINONE_SERIALIZER; 00159 }; // struct BlinkResult_ 00160 } // namespace serialization 00161 } // namespace ros 00162 00163 namespace ros 00164 { 00165 namespace message_operations 00166 { 00167 00168 template<class ContainerAllocator> 00169 struct Printer< ::nao_msgs::BlinkResult_<ContainerAllocator> > 00170 { 00171 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nao_msgs::BlinkResult_<ContainerAllocator> & v) 00172 { 00173 s << indent << "still_blinking: "; 00174 Printer<uint8_t>::stream(s, indent + " ", v.still_blinking); 00175 } 00176 }; 00177 00178 00179 } // namespace message_operations 00180 } // namespace ros 00181 00182 #endif // NAO_MSGS_MESSAGE_BLINKRESULT_H 00183