BlinkGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-humanoid_stacks/doc_stacks/2013-10-15_10-01-44.393682/nao_robot/nao_msgs/msg/BlinkGoal.msg */
00002 #ifndef NAO_MSGS_MESSAGE_BLINKGOAL_H
00003 #define NAO_MSGS_MESSAGE_BLINKGOAL_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 #include "std_msgs/ColorRGBA.h"
00019 
00020 namespace nao_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct BlinkGoal_ {
00024   typedef BlinkGoal_<ContainerAllocator> Type;
00025 
00026   BlinkGoal_()
00027   : colors()
00028   , bg_color()
00029   , blink_duration()
00030   , blink_rate_mean(0.0)
00031   , blink_rate_sd(0.0)
00032   {
00033   }
00034 
00035   BlinkGoal_(const ContainerAllocator& _alloc)
00036   : colors(_alloc)
00037   , bg_color(_alloc)
00038   , blink_duration()
00039   , blink_rate_mean(0.0)
00040   , blink_rate_sd(0.0)
00041   {
00042   }
00043 
00044   typedef std::vector< ::std_msgs::ColorRGBA_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::ColorRGBA_<ContainerAllocator> >::other >  _colors_type;
00045   std::vector< ::std_msgs::ColorRGBA_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::ColorRGBA_<ContainerAllocator> >::other >  colors;
00046 
00047   typedef  ::std_msgs::ColorRGBA_<ContainerAllocator>  _bg_color_type;
00048    ::std_msgs::ColorRGBA_<ContainerAllocator>  bg_color;
00049 
00050   typedef ros::Duration _blink_duration_type;
00051   ros::Duration blink_duration;
00052 
00053   typedef float _blink_rate_mean_type;
00054   float blink_rate_mean;
00055 
00056   typedef float _blink_rate_sd_type;
00057   float blink_rate_sd;
00058 
00059 
00060   typedef boost::shared_ptr< ::nao_msgs::BlinkGoal_<ContainerAllocator> > Ptr;
00061   typedef boost::shared_ptr< ::nao_msgs::BlinkGoal_<ContainerAllocator>  const> ConstPtr;
00062   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 }; // struct BlinkGoal
00064 typedef  ::nao_msgs::BlinkGoal_<std::allocator<void> > BlinkGoal;
00065 
00066 typedef boost::shared_ptr< ::nao_msgs::BlinkGoal> BlinkGoalPtr;
00067 typedef boost::shared_ptr< ::nao_msgs::BlinkGoal const> BlinkGoalConstPtr;
00068 
00069 
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const  ::nao_msgs::BlinkGoal_<ContainerAllocator> & v)
00072 {
00073   ros::message_operations::Printer< ::nao_msgs::BlinkGoal_<ContainerAllocator> >::stream(s, "", v);
00074   return s;}
00075 
00076 } // namespace nao_msgs
00077 
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::BlinkGoal_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::BlinkGoal_<ContainerAllocator>  const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::nao_msgs::BlinkGoal_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "5e5d3c2ba9976dc121a0bb6ef7c66d79";
00089   }
00090 
00091   static const char* value(const  ::nao_msgs::BlinkGoal_<ContainerAllocator> &) { return value(); } 
00092   static const uint64_t static_value1 = 0x5e5d3c2ba9976dc1ULL;
00093   static const uint64_t static_value2 = 0x21a0bb6ef7c66d79ULL;
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct DataType< ::nao_msgs::BlinkGoal_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "nao_msgs/BlinkGoal";
00101   }
00102 
00103   static const char* value(const  ::nao_msgs::BlinkGoal_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct Definition< ::nao_msgs::BlinkGoal_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00111 # Goal: colours to use for blinking, plus blinking rate mean and sd\n\
00112 # Result: true if robot is still blinking (call was pre-empted by another user)\n\
00113 # Feedback: last blinked colour\n\
00114 std_msgs/ColorRGBA[] colors\n\
00115 std_msgs/ColorRGBA bg_color\n\
00116 duration blink_duration\n\
00117 float32 blink_rate_mean\n\
00118 float32 blink_rate_sd\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: std_msgs/ColorRGBA\n\
00122 float32 r\n\
00123 float32 g\n\
00124 float32 b\n\
00125 float32 a\n\
00126 \n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::nao_msgs::BlinkGoal_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140 
00141 template<class ContainerAllocator> struct Serializer< ::nao_msgs::BlinkGoal_<ContainerAllocator> >
00142 {
00143   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144   {
00145     stream.next(m.colors);
00146     stream.next(m.bg_color);
00147     stream.next(m.blink_duration);
00148     stream.next(m.blink_rate_mean);
00149     stream.next(m.blink_rate_sd);
00150   }
00151 
00152   ROS_DECLARE_ALLINONE_SERIALIZER;
00153 }; // struct BlinkGoal_
00154 } // namespace serialization
00155 } // namespace ros
00156 
00157 namespace ros
00158 {
00159 namespace message_operations
00160 {
00161 
00162 template<class ContainerAllocator>
00163 struct Printer< ::nao_msgs::BlinkGoal_<ContainerAllocator> >
00164 {
00165   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nao_msgs::BlinkGoal_<ContainerAllocator> & v) 
00166   {
00167     s << indent << "colors[]" << std::endl;
00168     for (size_t i = 0; i < v.colors.size(); ++i)
00169     {
00170       s << indent << "  colors[" << i << "]: ";
00171       s << std::endl;
00172       s << indent;
00173       Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >::stream(s, indent + "    ", v.colors[i]);
00174     }
00175     s << indent << "bg_color: ";
00176 s << std::endl;
00177     Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >::stream(s, indent + "  ", v.bg_color);
00178     s << indent << "blink_duration: ";
00179     Printer<ros::Duration>::stream(s, indent + "  ", v.blink_duration);
00180     s << indent << "blink_rate_mean: ";
00181     Printer<float>::stream(s, indent + "  ", v.blink_rate_mean);
00182     s << indent << "blink_rate_sd: ";
00183     Printer<float>::stream(s, indent + "  ", v.blink_rate_sd);
00184   }
00185 };
00186 
00187 
00188 } // namespace message_operations
00189 } // namespace ros
00190 
00191 #endif // NAO_MSGS_MESSAGE_BLINKGOAL_H
00192 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


nao_msgs
Author(s): Armin Hornung, Stefan Osswald, Daniel Maier
autogenerated on Tue Oct 15 2013 10:05:22