// Generated by gencpp from file common_msgs/Beacon.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_BEACON_H #define COMMON_MSGS_MESSAGE_BEACON_H #include <string> #include <vector> #include <memory> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits.h> #include <ros/message_operations.h> #include <geometry_msgs/PoseStamped.h> namespace common_msgs { template <class ContainerAllocator> struct Beacon_ { typedef Beacon_<ContainerAllocator> Type; Beacon_() : id() , type(0) , point() { } Beacon_(const ContainerAllocator& _alloc) : id(_alloc) , type(0) , point(_alloc) { (void)_alloc; } typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _id_type; _id_type id; typedef int32_t _type_type; _type_type type; typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _point_type; _point_type point; typedef boost::shared_ptr< ::common_msgs::Beacon_<ContainerAllocator> > Ptr; typedef boost::shared_ptr< ::common_msgs::Beacon_<ContainerAllocator> const> ConstPtr; }; // struct Beacon_ typedef ::common_msgs::Beacon_<std::allocator<void> > Beacon; typedef boost::shared_ptr< ::common_msgs::Beacon > BeaconPtr; typedef boost::shared_ptr< ::common_msgs::Beacon const> BeaconConstPtr; // constants requiring out of line definition template<typename ContainerAllocator> std::ostream& operator<<(std::ostream& s, const ::common_msgs::Beacon_<ContainerAllocator> & v) { ros::message_operations::Printer< ::common_msgs::Beacon_<ContainerAllocator> >::stream(s, "", v); return s; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator==(const ::common_msgs::Beacon_<ContainerAllocator1> & lhs, const ::common_msgs::Beacon_<ContainerAllocator2> & rhs) { return lhs.id == rhs.id && lhs.type == rhs.type && lhs.point == rhs.point; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator!=(const ::common_msgs::Beacon_<ContainerAllocator1> & lhs, const ::common_msgs::Beacon_<ContainerAllocator2> & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template <class ContainerAllocator> struct IsFixedSize< ::common_msgs::Beacon_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct IsFixedSize< ::common_msgs::Beacon_<ContainerAllocator> const> : FalseType { }; template <class ContainerAllocator> struct IsMessage< ::common_msgs::Beacon_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::common_msgs::Beacon_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct HasHeader< ::common_msgs::Beacon_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct HasHeader< ::common_msgs::Beacon_<ContainerAllocator> const> : FalseType { }; template<class ContainerAllocator> struct MD5Sum< ::common_msgs::Beacon_<ContainerAllocator> > { static const char* value() { return "46839a22717461dadb76aad1d8bc128b"; } static const char* value(const ::common_msgs::Beacon_<ContainerAllocator>&) { return value(); } static const uint64_t static_value1 = 0x46839a22717461daULL; static const uint64_t static_value2 = 0xdb76aad1d8bc128bULL; }; template<class ContainerAllocator> struct DataType< ::common_msgs::Beacon_<ContainerAllocator> > { static const char* value() { return "common_msgs/Beacon"; } static const char* value(const ::common_msgs::Beacon_<ContainerAllocator>&) { return value(); } }; template<class ContainerAllocator> struct Definition< ::common_msgs::Beacon_<ContainerAllocator> > { static const char* value() { return "string id\n" "int32 type\n" "geometry_msgs/PoseStamped point\n" "================================================================================\n" "MSG: geometry_msgs/PoseStamped\n" "# A Pose with reference coordinate frame and timestamp\n" "Header header\n" "Pose pose\n" "\n" "================================================================================\n" "MSG: std_msgs/Header\n" "# Standard metadata for higher-level stamped data types.\n" "# This is generally used to communicate timestamped data \n" "# in a particular coordinate frame.\n" "# \n" "# sequence ID: consecutively increasing ID \n" "uint32 seq\n" "#Two-integer timestamp that is expressed as:\n" "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n" "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n" "# time-handling sugar is provided by the client library\n" "time stamp\n" "#Frame this data is associated with\n" "string frame_id\n" "\n" "================================================================================\n" "MSG: geometry_msgs/Pose\n" "# A representation of pose in free space, composed of position and orientation. \n" "Point position\n" "Quaternion orientation\n" "\n" "================================================================================\n" "MSG: geometry_msgs/Point\n" "# This contains the position of a point in free space\n" "float64 x\n" "float64 y\n" "float64 z\n" "\n" "================================================================================\n" "MSG: geometry_msgs/Quaternion\n" "# This represents an orientation in free space in quaternion form.\n" "\n" "float64 x\n" "float64 y\n" "float64 z\n" "float64 w\n" ; } static const char* value(const ::common_msgs::Beacon_<ContainerAllocator>&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template<class ContainerAllocator> struct Serializer< ::common_msgs::Beacon_<ContainerAllocator> > { template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) { stream.next(m.id); stream.next(m.type); stream.next(m.point); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct Beacon_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template<class ContainerAllocator> struct Printer< ::common_msgs::Beacon_<ContainerAllocator> > { template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::Beacon_<ContainerAllocator>& v) { s << indent << "id: "; Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.id); s << indent << "type: "; Printer<int32_t>::stream(s, indent + " ", v.type); s << indent << "point: "; s << std::endl; Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.point); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_BEACON_H