// Generated by gencpp from file common_msgs/SetParameterRequest.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_SETPARAMETERREQUEST_H #define COMMON_MSGS_MESSAGE_SETPARAMETERREQUEST_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> namespace common_msgs { template <class ContainerAllocator> struct SetParameterRequest_ { typedef SetParameterRequest_<ContainerAllocator> Type; SetParameterRequest_() : min_nav_speed(0.0) , max_nav_speed(0.0) , max_vel_theta(0.0) , min_vel_theta(0.0) { } SetParameterRequest_(const ContainerAllocator& _alloc) : min_nav_speed(0.0) , max_nav_speed(0.0) , max_vel_theta(0.0) , min_vel_theta(0.0) { (void)_alloc; } typedef float _min_nav_speed_type; _min_nav_speed_type min_nav_speed; typedef float _max_nav_speed_type; _max_nav_speed_type max_nav_speed; typedef float _max_vel_theta_type; _max_vel_theta_type max_vel_theta; typedef float _min_vel_theta_type; _min_vel_theta_type min_vel_theta; typedef boost::shared_ptr< ::common_msgs::SetParameterRequest_<ContainerAllocator> > Ptr; typedef boost::shared_ptr< ::common_msgs::SetParameterRequest_<ContainerAllocator> const> ConstPtr; }; // struct SetParameterRequest_ typedef ::common_msgs::SetParameterRequest_<std::allocator<void> > SetParameterRequest; typedef boost::shared_ptr< ::common_msgs::SetParameterRequest > SetParameterRequestPtr; typedef boost::shared_ptr< ::common_msgs::SetParameterRequest const> SetParameterRequestConstPtr; // constants requiring out of line definition template<typename ContainerAllocator> std::ostream& operator<<(std::ostream& s, const ::common_msgs::SetParameterRequest_<ContainerAllocator> & v) { ros::message_operations::Printer< ::common_msgs::SetParameterRequest_<ContainerAllocator> >::stream(s, "", v); return s; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator==(const ::common_msgs::SetParameterRequest_<ContainerAllocator1> & lhs, const ::common_msgs::SetParameterRequest_<ContainerAllocator2> & rhs) { return lhs.min_nav_speed == rhs.min_nav_speed && lhs.max_nav_speed == rhs.max_nav_speed && lhs.max_vel_theta == rhs.max_vel_theta && lhs.min_vel_theta == rhs.min_vel_theta; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator!=(const ::common_msgs::SetParameterRequest_<ContainerAllocator1> & lhs, const ::common_msgs::SetParameterRequest_<ContainerAllocator2> & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template <class ContainerAllocator> struct IsFixedSize< ::common_msgs::SetParameterRequest_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsFixedSize< ::common_msgs::SetParameterRequest_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::common_msgs::SetParameterRequest_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::common_msgs::SetParameterRequest_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct HasHeader< ::common_msgs::SetParameterRequest_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct HasHeader< ::common_msgs::SetParameterRequest_<ContainerAllocator> const> : FalseType { }; template<class ContainerAllocator> struct MD5Sum< ::common_msgs::SetParameterRequest_<ContainerAllocator> > { static const char* value() { return "9fa9957c297342539ba3dbb29ccbdb7a"; } static const char* value(const ::common_msgs::SetParameterRequest_<ContainerAllocator>&) { return value(); } static const uint64_t static_value1 = 0x9fa9957c29734253ULL; static const uint64_t static_value2 = 0x9ba3dbb29ccbdb7aULL; }; template<class ContainerAllocator> struct DataType< ::common_msgs::SetParameterRequest_<ContainerAllocator> > { static const char* value() { return "common_msgs/SetParameterRequest"; } static const char* value(const ::common_msgs::SetParameterRequest_<ContainerAllocator>&) { return value(); } }; template<class ContainerAllocator> struct Definition< ::common_msgs::SetParameterRequest_<ContainerAllocator> > { static const char* value() { return "\n" "float32 min_nav_speed\n" "float32 max_nav_speed\n" "float32 max_vel_theta\n" "float32 min_vel_theta\n" ; } static const char* value(const ::common_msgs::SetParameterRequest_<ContainerAllocator>&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template<class ContainerAllocator> struct Serializer< ::common_msgs::SetParameterRequest_<ContainerAllocator> > { template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) { stream.next(m.min_nav_speed); stream.next(m.max_nav_speed); stream.next(m.max_vel_theta); stream.next(m.min_vel_theta); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct SetParameterRequest_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template<class ContainerAllocator> struct Printer< ::common_msgs::SetParameterRequest_<ContainerAllocator> > { template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::SetParameterRequest_<ContainerAllocator>& v) { s << indent << "min_nav_speed: "; Printer<float>::stream(s, indent + " ", v.min_nav_speed); s << indent << "max_nav_speed: "; Printer<float>::stream(s, indent + " ", v.max_nav_speed); s << indent << "max_vel_theta: "; Printer<float>::stream(s, indent + " ", v.max_vel_theta); s << indent << "min_vel_theta: "; Printer<float>::stream(s, indent + " ", v.min_vel_theta); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_SETPARAMETERREQUEST_H