// Generated by gencpp from file ur_msgs/IOStates.msg // DO NOT EDIT! #ifndef UR_MSGS_MESSAGE_IOSTATES_H #define UR_MSGS_MESSAGE_IOSTATES_H #include #include #include #include #include #include #include #include #include #include #include #include namespace ur_msgs { template struct IOStates_ { typedef IOStates_ Type; IOStates_() : digital_in_states() , digital_out_states() , flag_states() , analog_in_states() , analog_out_states() { } IOStates_(const ContainerAllocator& _alloc) : digital_in_states(_alloc) , digital_out_states(_alloc) , flag_states(_alloc) , analog_in_states(_alloc) , analog_out_states(_alloc) { (void)_alloc; } typedef std::vector< ::ur_msgs::Digital_ , typename ContainerAllocator::template rebind< ::ur_msgs::Digital_ >::other > _digital_in_states_type; _digital_in_states_type digital_in_states; typedef std::vector< ::ur_msgs::Digital_ , typename ContainerAllocator::template rebind< ::ur_msgs::Digital_ >::other > _digital_out_states_type; _digital_out_states_type digital_out_states; typedef std::vector< ::ur_msgs::Digital_ , typename ContainerAllocator::template rebind< ::ur_msgs::Digital_ >::other > _flag_states_type; _flag_states_type flag_states; typedef std::vector< ::ur_msgs::Analog_ , typename ContainerAllocator::template rebind< ::ur_msgs::Analog_ >::other > _analog_in_states_type; _analog_in_states_type analog_in_states; typedef std::vector< ::ur_msgs::Analog_ , typename ContainerAllocator::template rebind< ::ur_msgs::Analog_ >::other > _analog_out_states_type; _analog_out_states_type analog_out_states; typedef boost::shared_ptr< ::ur_msgs::IOStates_ > Ptr; typedef boost::shared_ptr< ::ur_msgs::IOStates_ const> ConstPtr; }; // struct IOStates_ typedef ::ur_msgs::IOStates_ > IOStates; typedef boost::shared_ptr< ::ur_msgs::IOStates > IOStatesPtr; typedef boost::shared_ptr< ::ur_msgs::IOStates const> IOStatesConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::ur_msgs::IOStates_ & v) { ros::message_operations::Printer< ::ur_msgs::IOStates_ >::stream(s, "", v); return s; } } // namespace ur_msgs namespace ros { namespace message_traits { // BOOLTRAITS {'IsFixedSize': False, '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::IOStates_ > : FalseType { }; template struct IsFixedSize< ::ur_msgs::IOStates_ const> : FalseType { }; template struct IsMessage< ::ur_msgs::IOStates_ > : TrueType { }; template struct IsMessage< ::ur_msgs::IOStates_ const> : TrueType { }; template struct HasHeader< ::ur_msgs::IOStates_ > : FalseType { }; template struct HasHeader< ::ur_msgs::IOStates_ const> : FalseType { }; template struct MD5Sum< ::ur_msgs::IOStates_ > { static const char* value() { return "3033784e7041da89491b97cc4c1105b5"; } static const char* value(const ::ur_msgs::IOStates_&) { return value(); } static const uint64_t static_value1 = 0x3033784e7041da89ULL; static const uint64_t static_value2 = 0x491b97cc4c1105b5ULL; }; template struct DataType< ::ur_msgs::IOStates_ > { static const char* value() { return "ur_msgs/IOStates"; } static const char* value(const ::ur_msgs::IOStates_&) { return value(); } }; template struct Definition< ::ur_msgs::IOStates_ > { static const char* value() { return "Digital[] digital_in_states\n\ Digital[] digital_out_states\n\ Digital[] flag_states\n\ Analog[] analog_in_states\n\ Analog[] analog_out_states\n\ \n\ ================================================================================\n\ MSG: ur_msgs/Digital\n\ uint8 pin\n\ bool state\n\ \n\ ================================================================================\n\ MSG: ur_msgs/Analog\n\ 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::IOStates_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::ur_msgs::IOStates_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.digital_in_states); stream.next(m.digital_out_states); stream.next(m.flag_states); stream.next(m.analog_in_states); stream.next(m.analog_out_states); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct IOStates_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::ur_msgs::IOStates_ > { template static void stream(Stream& s, const std::string& indent, const ::ur_msgs::IOStates_& v) { s << indent << "digital_in_states[]" << std::endl; for (size_t i = 0; i < v.digital_in_states.size(); ++i) { s << indent << " digital_in_states[" << i << "]: "; s << std::endl; s << indent; Printer< ::ur_msgs::Digital_ >::stream(s, indent + " ", v.digital_in_states[i]); } s << indent << "digital_out_states[]" << std::endl; for (size_t i = 0; i < v.digital_out_states.size(); ++i) { s << indent << " digital_out_states[" << i << "]: "; s << std::endl; s << indent; Printer< ::ur_msgs::Digital_ >::stream(s, indent + " ", v.digital_out_states[i]); } s << indent << "flag_states[]" << std::endl; for (size_t i = 0; i < v.flag_states.size(); ++i) { s << indent << " flag_states[" << i << "]: "; s << std::endl; s << indent; Printer< ::ur_msgs::Digital_ >::stream(s, indent + " ", v.flag_states[i]); } s << indent << "analog_in_states[]" << std::endl; for (size_t i = 0; i < v.analog_in_states.size(); ++i) { s << indent << " analog_in_states[" << i << "]: "; s << std::endl; s << indent; Printer< ::ur_msgs::Analog_ >::stream(s, indent + " ", v.analog_in_states[i]); } s << indent << "analog_out_states[]" << std::endl; for (size_t i = 0; i < v.analog_out_states.size(); ++i) { s << indent << " analog_out_states[" << i << "]: "; s << std::endl; s << indent; Printer< ::ur_msgs::Analog_ >::stream(s, indent + " ", v.analog_out_states[i]); } } }; } // namespace message_operations } // namespace ros #endif // UR_MSGS_MESSAGE_IOSTATES_H