// Generated by gencpp from file ur_msgs/Analog.msg // DO NOT EDIT! #ifndef UR_MSGS_MESSAGE_ANALOG_H #define UR_MSGS_MESSAGE_ANALOG_H #include #include #include #include #include #include #include namespace ur_msgs { template struct Analog_ { typedef Analog_ Type; Analog_() : pin(0) , domain(0) , state(0.0) { } Analog_(const ContainerAllocator& _alloc) : pin(0) , domain(0) , state(0.0) { (void)_alloc; } typedef uint8_t _pin_type; _pin_type pin; typedef uint8_t _domain_type; _domain_type domain; typedef float _state_type; _state_type state; enum { VOLTAGE = 0u, CURRENT = 1u, }; typedef boost::shared_ptr< ::ur_msgs::Analog_ > Ptr; typedef boost::shared_ptr< ::ur_msgs::Analog_ const> ConstPtr; }; // struct Analog_ typedef ::ur_msgs::Analog_ > Analog; typedef boost::shared_ptr< ::ur_msgs::Analog > AnalogPtr; typedef boost::shared_ptr< ::ur_msgs::Analog const> AnalogConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::ur_msgs::Analog_ & v) { ros::message_operations::Printer< ::ur_msgs::Analog_ >::stream(s, "", v); return s; } } // namespace ur_msgs namespace ros { namespace message_traits { // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False} // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'ur_msgs': ['/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robot/ur_msgs/msg']} // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types'] template struct IsFixedSize< ::ur_msgs::Analog_ > : TrueType { }; template struct IsFixedSize< ::ur_msgs::Analog_ const> : TrueType { }; template struct IsMessage< ::ur_msgs::Analog_ > : TrueType { }; template struct IsMessage< ::ur_msgs::Analog_ const> : TrueType { }; template struct HasHeader< ::ur_msgs::Analog_ > : FalseType { }; template struct HasHeader< ::ur_msgs::Analog_ const> : FalseType { }; template struct MD5Sum< ::ur_msgs::Analog_ > { static const char* value() { return "f41c08a810adf63713aec88712cd553d"; } static const char* value(const ::ur_msgs::Analog_&) { return value(); } static const uint64_t static_value1 = 0xf41c08a810adf637ULL; static const uint64_t static_value2 = 0x13aec88712cd553dULL; }; template struct DataType< ::ur_msgs::Analog_ > { static const char* value() { return "ur_msgs/Analog"; } static const char* value(const ::ur_msgs::Analog_&) { return value(); } }; template struct Definition< ::ur_msgs::Analog_ > { static const char* value() { return "uint8 VOLTAGE=0\n\ uint8 CURRENT=1\n\ \n\ uint8 pin\n\ uint8 domain # can be VOLTAGE or CURRENT\n\ float32 state\n\ "; } static const char* value(const ::ur_msgs::Analog_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::ur_msgs::Analog_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.pin); stream.next(m.domain); stream.next(m.state); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct Analog_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::ur_msgs::Analog_ > { template static void stream(Stream& s, const std::string& indent, const ::ur_msgs::Analog_& v) { s << indent << "pin: "; Printer::stream(s, indent + " ", v.pin); s << indent << "domain: "; Printer::stream(s, indent + " ", v.domain); s << indent << "state: "; Printer::stream(s, indent + " ", v.state); } }; } // namespace message_operations } // namespace ros #endif // UR_MSGS_MESSAGE_ANALOG_H