// Generated by gencpp from file ur_msgs/SetIORequest.msg // DO NOT EDIT! #ifndef UR_MSGS_MESSAGE_SETIOREQUEST_H #define UR_MSGS_MESSAGE_SETIOREQUEST_H #include #include #include #include #include #include #include namespace ur_msgs { template struct SetIORequest_ { typedef SetIORequest_ Type; SetIORequest_() : fun(0) , pin(0) , state(0.0) { } SetIORequest_(const ContainerAllocator& _alloc) : fun(0) , pin(0) , state(0.0) { (void)_alloc; } typedef int8_t _fun_type; _fun_type fun; typedef int8_t _pin_type; _pin_type pin; typedef float _state_type; _state_type state; enum { FUN_SET_DIGITAL_OUT = 1, FUN_SET_FLAG = 2, FUN_SET_ANALOG_OUT = 3, FUN_SET_TOOL_VOLTAGE = 4, STATE_OFF = 0, STATE_ON = 1, STATE_TOOL_VOLTAGE_0V = 0, STATE_TOOL_VOLTAGE_12V = 12, STATE_TOOL_VOLTAGE_24V = 24, }; typedef boost::shared_ptr< ::ur_msgs::SetIORequest_ > Ptr; typedef boost::shared_ptr< ::ur_msgs::SetIORequest_ const> ConstPtr; }; // struct SetIORequest_ typedef ::ur_msgs::SetIORequest_ > SetIORequest; typedef boost::shared_ptr< ::ur_msgs::SetIORequest > SetIORequestPtr; typedef boost::shared_ptr< ::ur_msgs::SetIORequest const> SetIORequestConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::ur_msgs::SetIORequest_ & v) { ros::message_operations::Printer< ::ur_msgs::SetIORequest_ >::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::SetIORequest_ > : TrueType { }; template struct IsFixedSize< ::ur_msgs::SetIORequest_ const> : TrueType { }; template struct IsMessage< ::ur_msgs::SetIORequest_ > : TrueType { }; template struct IsMessage< ::ur_msgs::SetIORequest_ const> : TrueType { }; template struct HasHeader< ::ur_msgs::SetIORequest_ > : FalseType { }; template struct HasHeader< ::ur_msgs::SetIORequest_ const> : FalseType { }; template struct MD5Sum< ::ur_msgs::SetIORequest_ > { static const char* value() { return "85200c86fbe60ea3e047bae3d6574bfd"; } static const char* value(const ::ur_msgs::SetIORequest_&) { return value(); } static const uint64_t static_value1 = 0x85200c86fbe60ea3ULL; static const uint64_t static_value2 = 0xe047bae3d6574bfdULL; }; template struct DataType< ::ur_msgs::SetIORequest_ > { static const char* value() { return "ur_msgs/SetIORequest"; } static const char* value(const ::ur_msgs::SetIORequest_&) { return value(); } }; template struct Definition< ::ur_msgs::SetIORequest_ > { static const char* value() { return "\n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ \n\ int8 FUN_SET_DIGITAL_OUT = 1\n\ int8 FUN_SET_FLAG = 2\n\ int8 FUN_SET_ANALOG_OUT = 3\n\ int8 FUN_SET_TOOL_VOLTAGE = 4\n\ \n\ \n\ int8 STATE_OFF = 0\n\ int8 STATE_ON = 1\n\ \n\ \n\ int8 STATE_TOOL_VOLTAGE_0V = 0\n\ int8 STATE_TOOL_VOLTAGE_12V = 12\n\ int8 STATE_TOOL_VOLTAGE_24V = 24\n\ \n\ \n\ int8 fun\n\ int8 pin\n\ float32 state\n\ "; } static const char* value(const ::ur_msgs::SetIORequest_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::ur_msgs::SetIORequest_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.fun); stream.next(m.pin); stream.next(m.state); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct SetIORequest_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::ur_msgs::SetIORequest_ > { template static void stream(Stream& s, const std::string& indent, const ::ur_msgs::SetIORequest_& v) { s << indent << "fun: "; Printer::stream(s, indent + " ", v.fun); s << indent << "pin: "; Printer::stream(s, indent + " ", v.pin); s << indent << "state: "; Printer::stream(s, indent + " ", v.state); } }; } // namespace message_operations } // namespace ros #endif // UR_MSGS_MESSAGE_SETIOREQUEST_H