// Generated by gencpp from file common_msgs/SwitchModeResponse.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_SWITCHMODERESPONSE_H #define COMMON_MSGS_MESSAGE_SWITCHMODERESPONSE_H #include #include #include #include #include #include #include namespace common_msgs { template struct SwitchModeResponse_ { typedef SwitchModeResponse_ Type; SwitchModeResponse_() : result(0) { } SwitchModeResponse_(const ContainerAllocator& _alloc) : result(0) { (void)_alloc; } typedef int32_t _result_type; _result_type result; typedef boost::shared_ptr< ::common_msgs::SwitchModeResponse_ > Ptr; typedef boost::shared_ptr< ::common_msgs::SwitchModeResponse_ const> ConstPtr; }; // struct SwitchModeResponse_ typedef ::common_msgs::SwitchModeResponse_ > SwitchModeResponse; typedef boost::shared_ptr< ::common_msgs::SwitchModeResponse > SwitchModeResponsePtr; typedef boost::shared_ptr< ::common_msgs::SwitchModeResponse const> SwitchModeResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::SwitchModeResponse_ & v) { ros::message_operations::Printer< ::common_msgs::SwitchModeResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::SwitchModeResponse_ & lhs, const ::common_msgs::SwitchModeResponse_ & rhs) { return lhs.result == rhs.result; } template bool operator!=(const ::common_msgs::SwitchModeResponse_ & lhs, const ::common_msgs::SwitchModeResponse_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::SwitchModeResponse_ > : TrueType { }; template struct IsFixedSize< ::common_msgs::SwitchModeResponse_ const> : TrueType { }; template struct IsMessage< ::common_msgs::SwitchModeResponse_ > : TrueType { }; template struct IsMessage< ::common_msgs::SwitchModeResponse_ const> : TrueType { }; template struct HasHeader< ::common_msgs::SwitchModeResponse_ > : FalseType { }; template struct HasHeader< ::common_msgs::SwitchModeResponse_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::SwitchModeResponse_ > { static const char* value() { return "034a8e20d6a306665e3a5b340fab3f09"; } static const char* value(const ::common_msgs::SwitchModeResponse_&) { return value(); } static const uint64_t static_value1 = 0x034a8e20d6a30666ULL; static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL; }; template struct DataType< ::common_msgs::SwitchModeResponse_ > { static const char* value() { return "common_msgs/SwitchModeResponse"; } static const char* value(const ::common_msgs::SwitchModeResponse_&) { return value(); } }; template struct Definition< ::common_msgs::SwitchModeResponse_ > { static const char* value() { return "int32 result\n" "\n" ; } static const char* value(const ::common_msgs::SwitchModeResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::SwitchModeResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.result); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct SwitchModeResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::SwitchModeResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::SwitchModeResponse_& v) { s << indent << "result: "; Printer::stream(s, indent + " ", v.result); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_SWITCHMODERESPONSE_H