// Generated by gencpp from file waterplus_map_tools/GetWaypointByIndexRequest.msg // DO NOT EDIT! #ifndef WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYINDEXREQUEST_H #define WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYINDEXREQUEST_H #include #include #include #include #include #include #include namespace waterplus_map_tools { template struct GetWaypointByIndexRequest_ { typedef GetWaypointByIndexRequest_ Type; GetWaypointByIndexRequest_() : index(0) { } GetWaypointByIndexRequest_(const ContainerAllocator& _alloc) : index(0) { (void)_alloc; } typedef int32_t _index_type; _index_type index; typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByIndexRequest_ > Ptr; typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByIndexRequest_ const> ConstPtr; }; // struct GetWaypointByIndexRequest_ typedef ::waterplus_map_tools::GetWaypointByIndexRequest_ > GetWaypointByIndexRequest; typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByIndexRequest > GetWaypointByIndexRequestPtr; typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByIndexRequest const> GetWaypointByIndexRequestConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::waterplus_map_tools::GetWaypointByIndexRequest_ & v) { ros::message_operations::Printer< ::waterplus_map_tools::GetWaypointByIndexRequest_ >::stream(s, "", v); return s; } template bool operator==(const ::waterplus_map_tools::GetWaypointByIndexRequest_ & lhs, const ::waterplus_map_tools::GetWaypointByIndexRequest_ & rhs) { return lhs.index == rhs.index; } template bool operator!=(const ::waterplus_map_tools::GetWaypointByIndexRequest_ & lhs, const ::waterplus_map_tools::GetWaypointByIndexRequest_ & rhs) { return !(lhs == rhs); } } // namespace waterplus_map_tools namespace ros { namespace message_traits { template struct IsMessage< ::waterplus_map_tools::GetWaypointByIndexRequest_ > : TrueType { }; template struct IsMessage< ::waterplus_map_tools::GetWaypointByIndexRequest_ const> : TrueType { }; template struct IsFixedSize< ::waterplus_map_tools::GetWaypointByIndexRequest_ > : TrueType { }; template struct IsFixedSize< ::waterplus_map_tools::GetWaypointByIndexRequest_ const> : TrueType { }; template struct HasHeader< ::waterplus_map_tools::GetWaypointByIndexRequest_ > : FalseType { }; template struct HasHeader< ::waterplus_map_tools::GetWaypointByIndexRequest_ const> : FalseType { }; template struct MD5Sum< ::waterplus_map_tools::GetWaypointByIndexRequest_ > { static const char* value() { return "483eea06cdc3e559421ee31116d0f3b9"; } static const char* value(const ::waterplus_map_tools::GetWaypointByIndexRequest_&) { return value(); } static const uint64_t static_value1 = 0x483eea06cdc3e559ULL; static const uint64_t static_value2 = 0x421ee31116d0f3b9ULL; }; template struct DataType< ::waterplus_map_tools::GetWaypointByIndexRequest_ > { static const char* value() { return "waterplus_map_tools/GetWaypointByIndexRequest"; } static const char* value(const ::waterplus_map_tools::GetWaypointByIndexRequest_&) { return value(); } }; template struct Definition< ::waterplus_map_tools::GetWaypointByIndexRequest_ > { static const char* value() { return "int32 index\n" ; } static const char* value(const ::waterplus_map_tools::GetWaypointByIndexRequest_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::waterplus_map_tools::GetWaypointByIndexRequest_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.index); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct GetWaypointByIndexRequest_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::waterplus_map_tools::GetWaypointByIndexRequest_ > { template static void stream(Stream& s, const std::string& indent, const ::waterplus_map_tools::GetWaypointByIndexRequest_& v) { s << indent << "index: "; Printer::stream(s, indent + " ", v.index); } }; } // namespace message_operations } // namespace ros #endif // WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYINDEXREQUEST_H