/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/test/test_ros/msg/CompositeA.msg */
#ifndef TEST_ROS_MESSAGE_COMPOSITEA_H
#define TEST_ROS_MESSAGE_COMPOSITEA_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 test_ros
{
template <class ContainerAllocator>
struct CompositeA_ : public ros::Message
{
  typedef CompositeA_<ContainerAllocator> Type;

  CompositeA_()
  : x(0.0)
  , y(0.0)
  , z(0.0)
  , w(0.0)
  {
  }

  CompositeA_(const ContainerAllocator& _alloc)
  : x(0.0)
  , y(0.0)
  , z(0.0)
  , w(0.0)
  {
  }

  typedef double _x_type;
  double x;

  typedef double _y_type;
  double y;

  typedef double _z_type;
  double z;

  typedef double _w_type;
  double w;


private:
  static const char* __s_getDataType_() { return "test_ros/CompositeA"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

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

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

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

private:
  static const char* __s_getMessageDefinition_() { return "# This represents an orientation in free space in quaternion form.\n\
\n\
float64 x\n\
float64 y\n\
float64 z\n\
float64 w\n\
\n\
"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

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

  ROSCPP_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
  {
    ros::serialization::OStream stream(write_ptr, 1000000000);
    ros::serialization::serialize(stream, x);
    ros::serialization::serialize(stream, y);
    ros::serialization::serialize(stream, z);
    ros::serialization::serialize(stream, w);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    ros::serialization::deserialize(stream, x);
    ros::serialization::deserialize(stream, y);
    ros::serialization::deserialize(stream, z);
    ros::serialization::deserialize(stream, w);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(x);
    size += ros::serialization::serializationLength(y);
    size += ros::serialization::serializationLength(z);
    size += ros::serialization::serializationLength(w);
    return size;
  }

  typedef boost::shared_ptr< ::test_ros::CompositeA_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_ros::CompositeA_<ContainerAllocator>  const> ConstPtr;
}; // struct CompositeA
typedef  ::test_ros::CompositeA_<std::allocator<void> > CompositeA;

typedef boost::shared_ptr< ::test_ros::CompositeA> CompositeAPtr;
typedef boost::shared_ptr< ::test_ros::CompositeA const> CompositeAConstPtr;


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

} // namespace test_ros

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_ros::CompositeA_<ContainerAllocator> > {
  static const char* value() 
  {
    return "a779879fadf0160734f906b8c19c7004";
  }

  static const char* value(const  ::test_ros::CompositeA_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xa779879fadf01607ULL;
  static const uint64_t static_value2 = 0x34f906b8c19c7004ULL;
};

template<class ContainerAllocator>
struct DataType< ::test_ros::CompositeA_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_ros/CompositeA";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_ros::CompositeA_<ContainerAllocator> > {
  static const char* value() 
  {
    return "# This represents an orientation in free space in quaternion form.\n\
\n\
float64 x\n\
float64 y\n\
float64 z\n\
float64 w\n\
\n\
";
  }

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

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

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_ros::CompositeA_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.x);
    stream.next(m.y);
    stream.next(m.z);
    stream.next(m.w);
  }

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

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::test_ros::CompositeA_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::test_ros::CompositeA_<ContainerAllocator> & v) 
  {
    s << indent << "x: ";
    Printer<double>::stream(s, indent + "  ", v.x);
    s << indent << "y: ";
    Printer<double>::stream(s, indent + "  ", v.y);
    s << indent << "z: ";
    Printer<double>::stream(s, indent + "  ", v.z);
    s << indent << "w: ";
    Printer<double>::stream(s, indent + "  ", v.w);
  }
};


} // namespace message_operations
} // namespace ros

#endif // TEST_ROS_MESSAGE_COMPOSITEA_H

