// Generated by gencpp from file common_msgs/SetLightStatusResponse.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_SETLIGHTSTATUSRESPONSE_H #define COMMON_MSGS_MESSAGE_SETLIGHTSTATUSRESPONSE_H #include #include #include #include #include #include #include namespace common_msgs { template struct SetLightStatusResponse_ { typedef SetLightStatusResponse_ Type; SetLightStatusResponse_() : success(false) , message() { } SetLightStatusResponse_(const ContainerAllocator& _alloc) : success(false) , message(_alloc) { (void)_alloc; } typedef uint8_t _success_type; _success_type success; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _message_type; _message_type message; typedef boost::shared_ptr< ::common_msgs::SetLightStatusResponse_ > Ptr; typedef boost::shared_ptr< ::common_msgs::SetLightStatusResponse_ const> ConstPtr; }; // struct SetLightStatusResponse_ typedef ::common_msgs::SetLightStatusResponse_ > SetLightStatusResponse; typedef boost::shared_ptr< ::common_msgs::SetLightStatusResponse > SetLightStatusResponsePtr; typedef boost::shared_ptr< ::common_msgs::SetLightStatusResponse const> SetLightStatusResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::SetLightStatusResponse_ & v) { ros::message_operations::Printer< ::common_msgs::SetLightStatusResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::SetLightStatusResponse_ & lhs, const ::common_msgs::SetLightStatusResponse_ & rhs) { return lhs.success == rhs.success && lhs.message == rhs.message; } template bool operator!=(const ::common_msgs::SetLightStatusResponse_ & lhs, const ::common_msgs::SetLightStatusResponse_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::SetLightStatusResponse_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::SetLightStatusResponse_ const> : FalseType { }; template struct IsMessage< ::common_msgs::SetLightStatusResponse_ > : TrueType { }; template struct IsMessage< ::common_msgs::SetLightStatusResponse_ const> : TrueType { }; template struct HasHeader< ::common_msgs::SetLightStatusResponse_ > : FalseType { }; template struct HasHeader< ::common_msgs::SetLightStatusResponse_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::SetLightStatusResponse_ > { static const char* value() { return "937c9679a518e3a18d831e57125ea522"; } static const char* value(const ::common_msgs::SetLightStatusResponse_&) { return value(); } static const uint64_t static_value1 = 0x937c9679a518e3a1ULL; static const uint64_t static_value2 = 0x8d831e57125ea522ULL; }; template struct DataType< ::common_msgs::SetLightStatusResponse_ > { static const char* value() { return "common_msgs/SetLightStatusResponse"; } static const char* value(const ::common_msgs::SetLightStatusResponse_&) { return value(); } }; template struct Definition< ::common_msgs::SetLightStatusResponse_ > { static const char* value() { return "bool success\n" "string message\n" ; } static const char* value(const ::common_msgs::SetLightStatusResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::SetLightStatusResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.success); stream.next(m.message); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct SetLightStatusResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::SetLightStatusResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::SetLightStatusResponse_& v) { s << indent << "success: "; Printer::stream(s, indent + " ", v.success); s << indent << "message: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.message); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_SETLIGHTSTATUSRESPONSE_H