/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/messages/std_msgs/msg/ColorRGBA.msg */
#ifndef STD_MSGS_MESSAGE_COLORRGBA_H
#define STD_MSGS_MESSAGE_COLORRGBA_H
#include <string>
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/time.h"


namespace std_msgs
{
template <class ContainerAllocator>
struct ColorRGBA_ : public ros::Message
{
  typedef ColorRGBA_<ContainerAllocator> Type;

  ColorRGBA_()
  : r(0.0)
  , g(0.0)
  , b(0.0)
  , a(0.0)
  {
  }

  ColorRGBA_(const ContainerAllocator& _alloc)
  : r(0.0)
  , g(0.0)
  , b(0.0)
  , a(0.0)
  {
  }

  typedef float _r_type;
  float r;

  typedef float _g_type;
  float g;

  typedef float _b_type;
  float b;

  typedef float _a_type;
  float a;


private:
  static const char* __s_getDataType_() { return "std_msgs/ColorRGBA"; }
public:
  ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

  ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }

private:
  static const char* __s_getMD5Sum_() { return "a29a96539573343b1310c73607334b00"; }
public:
  ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

  ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "float32 r\n\
float32 g\n\
float32 b\n\
float32 a\n\
\n\
"; }
public:
  ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

  ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }

  ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
  {
    ros::serialization::OStream stream(write_ptr, 1000000000);
    ros::serialization::serialize(stream, r);
    ros::serialization::serialize(stream, g);
    ros::serialization::serialize(stream, b);
    ros::serialization::serialize(stream, a);
    return stream.getData();
  }

  ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    ros::serialization::deserialize(stream, r);
    ros::serialization::deserialize(stream, g);
    ros::serialization::deserialize(stream, b);
    ros::serialization::deserialize(stream, a);
    return stream.getData();
  }

  ROS_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(r);
    size += ros::serialization::serializationLength(g);
    size += ros::serialization::serializationLength(b);
    size += ros::serialization::serializationLength(a);
    return size;
  }

  typedef boost::shared_ptr< ::std_msgs::ColorRGBA_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::std_msgs::ColorRGBA_<ContainerAllocator>  const> ConstPtr;
}; // struct ColorRGBA
typedef  ::std_msgs::ColorRGBA_<std::allocator<void> > ColorRGBA;

typedef boost::shared_ptr< ::std_msgs::ColorRGBA> ColorRGBAPtr;
typedef boost::shared_ptr< ::std_msgs::ColorRGBA const> ColorRGBAConstPtr;


template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const  ::std_msgs::ColorRGBA_<ContainerAllocator> & v)
{
  ros::message_operations::Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >::stream(s, "", v);
  return s;}

} // namespace std_msgs

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::ColorRGBA_<ContainerAllocator> > {
  static const char* value() 
  {
    return "a29a96539573343b1310c73607334b00";
  }

  static const char* value(const  ::std_msgs::ColorRGBA_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xa29a96539573343bULL;
  static const uint64_t static_value2 = 0x1310c73607334b00ULL;
};

template<class ContainerAllocator>
struct DataType< ::std_msgs::ColorRGBA_<ContainerAllocator> > {
  static const char* value() 
  {
    return "std_msgs/ColorRGBA";
  }

  static const char* value(const  ::std_msgs::ColorRGBA_<ContainerAllocator> &) { return value(); } 
};

template<class ContainerAllocator>
struct Definition< ::std_msgs::ColorRGBA_<ContainerAllocator> > {
  static const char* value() 
  {
    return "float32 r\n\
float32 g\n\
float32 b\n\
float32 a\n\
\n\
";
  }

  static const char* value(const  ::std_msgs::ColorRGBA_<ContainerAllocator> &) { return value(); } 
};

template<class ContainerAllocator> struct IsFixedSize< ::std_msgs::ColorRGBA_<ContainerAllocator> > : public TrueType {};
} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::std_msgs::ColorRGBA_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.r);
    stream.next(m.g);
    stream.next(m.b);
    stream.next(m.a);
  }

  ROS_DECLARE_ALLINONE_SERIALIZER;
}; // struct ColorRGBA_
} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::std_msgs::ColorRGBA_<ContainerAllocator> & v) 
  {
    s << indent << "r: ";
    Printer<float>::stream(s, indent + "  ", v.r);
    s << indent << "g: ";
    Printer<float>::stream(s, indent + "  ", v.g);
    s << indent << "b: ";
    Printer<float>::stream(s, indent + "  ", v.b);
    s << indent << "a: ";
    Printer<float>::stream(s, indent + "  ", v.a);
  }
};


} // namespace message_operations
} // namespace ros

#endif // STD_MSGS_MESSAGE_COLORRGBA_H

