// Generated by gencpp from file sensor_msgs/SetCameraInfoResponse.msg // DO NOT EDIT! #ifndef SENSOR_MSGS_MESSAGE_SETCAMERAINFORESPONSE_H #define SENSOR_MSGS_MESSAGE_SETCAMERAINFORESPONSE_H #include #include #include #include #include #include namespace sensor_msgs { template struct SetCameraInfoResponse_ { typedef SetCameraInfoResponse_ Type; SetCameraInfoResponse_() : success(false) , status_message() { } SetCameraInfoResponse_(const ContainerAllocator& _alloc) : success(false) , status_message(_alloc) { (void)_alloc; } typedef uint8_t _success_type; _success_type success; typedef std::basic_string, typename ContainerAllocator::template rebind::other > _status_message_type; _status_message_type status_message; typedef boost::shared_ptr< ::sensor_msgs::SetCameraInfoResponse_ > Ptr; typedef boost::shared_ptr< ::sensor_msgs::SetCameraInfoResponse_ const> ConstPtr; }; // struct SetCameraInfoResponse_ typedef ::sensor_msgs::SetCameraInfoResponse_ > SetCameraInfoResponse; typedef boost::shared_ptr< ::sensor_msgs::SetCameraInfoResponse > SetCameraInfoResponsePtr; typedef boost::shared_ptr< ::sensor_msgs::SetCameraInfoResponse const> SetCameraInfoResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::SetCameraInfoResponse_ & v) { ros::message_operations::Printer< ::sensor_msgs::SetCameraInfoResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::sensor_msgs::SetCameraInfoResponse_ & lhs, const ::sensor_msgs::SetCameraInfoResponse_ & rhs) { return lhs.success == rhs.success && lhs.status_message == rhs.status_message; } template bool operator!=(const ::sensor_msgs::SetCameraInfoResponse_ & lhs, const ::sensor_msgs::SetCameraInfoResponse_ & rhs) { return !(lhs == rhs); } } // namespace sensor_msgs namespace ros { namespace message_traits { template struct IsMessage< ::sensor_msgs::SetCameraInfoResponse_ > : TrueType { }; template struct IsMessage< ::sensor_msgs::SetCameraInfoResponse_ const> : TrueType { }; template struct IsFixedSize< ::sensor_msgs::SetCameraInfoResponse_ > : FalseType { }; template struct IsFixedSize< ::sensor_msgs::SetCameraInfoResponse_ const> : FalseType { }; template struct HasHeader< ::sensor_msgs::SetCameraInfoResponse_ > : FalseType { }; template struct HasHeader< ::sensor_msgs::SetCameraInfoResponse_ const> : FalseType { }; template struct MD5Sum< ::sensor_msgs::SetCameraInfoResponse_ > { static const char* value() { return "2ec6f3eff0161f4257b808b12bc830c2"; } static const char* value(const ::sensor_msgs::SetCameraInfoResponse_&) { return value(); } static const uint64_t static_value1 = 0x2ec6f3eff0161f42ULL; static const uint64_t static_value2 = 0x57b808b12bc830c2ULL; }; template struct DataType< ::sensor_msgs::SetCameraInfoResponse_ > { static const char* value() { return "sensor_msgs/SetCameraInfoResponse"; } static const char* value(const ::sensor_msgs::SetCameraInfoResponse_&) { return value(); } }; template struct Definition< ::sensor_msgs::SetCameraInfoResponse_ > { static const char* value() { return "bool success # True if the call succeeded\n" "string status_message # Used to give details about success\n" "\n" ; } static const char* value(const ::sensor_msgs::SetCameraInfoResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::sensor_msgs::SetCameraInfoResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.success); stream.next(m.status_message); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct SetCameraInfoResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::sensor_msgs::SetCameraInfoResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::SetCameraInfoResponse_& v) { s << indent << "success: "; Printer::stream(s, indent + " ", v.success); s << indent << "status_message: "; Printer, typename ContainerAllocator::template rebind::other > >::stream(s, indent + " ", v.status_message); } }; } // namespace message_operations } // namespace ros #endif // SENSOR_MSGS_MESSAGE_SETCAMERAINFORESPONSE_H