// Generated by gencpp from file ur_msgs/RobotModeDataMsg.msg // DO NOT EDIT! #ifndef UR_MSGS_MESSAGE_ROBOTMODEDATAMSG_H #define UR_MSGS_MESSAGE_ROBOTMODEDATAMSG_H #include #include #include #include #include #include #include namespace ur_msgs { template struct RobotModeDataMsg_ { typedef RobotModeDataMsg_ Type; RobotModeDataMsg_() : timestamp(0) , is_robot_connected(false) , is_real_robot_enabled(false) , is_power_on_robot(false) , is_emergency_stopped(false) , is_protective_stopped(false) , is_program_running(false) , is_program_paused(false) { } RobotModeDataMsg_(const ContainerAllocator& _alloc) : timestamp(0) , is_robot_connected(false) , is_real_robot_enabled(false) , is_power_on_robot(false) , is_emergency_stopped(false) , is_protective_stopped(false) , is_program_running(false) , is_program_paused(false) { (void)_alloc; } typedef uint64_t _timestamp_type; _timestamp_type timestamp; typedef uint8_t _is_robot_connected_type; _is_robot_connected_type is_robot_connected; typedef uint8_t _is_real_robot_enabled_type; _is_real_robot_enabled_type is_real_robot_enabled; typedef uint8_t _is_power_on_robot_type; _is_power_on_robot_type is_power_on_robot; typedef uint8_t _is_emergency_stopped_type; _is_emergency_stopped_type is_emergency_stopped; typedef uint8_t _is_protective_stopped_type; _is_protective_stopped_type is_protective_stopped; typedef uint8_t _is_program_running_type; _is_program_running_type is_program_running; typedef uint8_t _is_program_paused_type; _is_program_paused_type is_program_paused; typedef boost::shared_ptr< ::ur_msgs::RobotModeDataMsg_ > Ptr; typedef boost::shared_ptr< ::ur_msgs::RobotModeDataMsg_ const> ConstPtr; }; // struct RobotModeDataMsg_ typedef ::ur_msgs::RobotModeDataMsg_ > RobotModeDataMsg; typedef boost::shared_ptr< ::ur_msgs::RobotModeDataMsg > RobotModeDataMsgPtr; typedef boost::shared_ptr< ::ur_msgs::RobotModeDataMsg const> RobotModeDataMsgConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::ur_msgs::RobotModeDataMsg_ & v) { ros::message_operations::Printer< ::ur_msgs::RobotModeDataMsg_ >::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::RobotModeDataMsg_ > : TrueType { }; template struct IsFixedSize< ::ur_msgs::RobotModeDataMsg_ const> : TrueType { }; template struct IsMessage< ::ur_msgs::RobotModeDataMsg_ > : TrueType { }; template struct IsMessage< ::ur_msgs::RobotModeDataMsg_ const> : TrueType { }; template struct HasHeader< ::ur_msgs::RobotModeDataMsg_ > : FalseType { }; template struct HasHeader< ::ur_msgs::RobotModeDataMsg_ const> : FalseType { }; template struct MD5Sum< ::ur_msgs::RobotModeDataMsg_ > { static const char* value() { return "867308ca39e2cc0644b50db27deb661f"; } static const char* value(const ::ur_msgs::RobotModeDataMsg_&) { return value(); } static const uint64_t static_value1 = 0x867308ca39e2cc06ULL; static const uint64_t static_value2 = 0x44b50db27deb661fULL; }; template struct DataType< ::ur_msgs::RobotModeDataMsg_ > { static const char* value() { return "ur_msgs/RobotModeDataMsg"; } static const char* value(const ::ur_msgs::RobotModeDataMsg_&) { return value(); } }; template struct Definition< ::ur_msgs::RobotModeDataMsg_ > { static const char* value() { return "# This data structure contains the RobotModeData structure\n\ # used by the Universal Robots controller\n\ #\n\ # This data structure is send at 10 Hz on TCP port 30002\n\ #\n\ # Note: this message does not carry all fields from the RobotModeData structure as broadcast by the robot controller, but a subset.\n\ \n\ uint64 timestamp\n\ bool is_robot_connected\n\ bool is_real_robot_enabled\n\ bool is_power_on_robot\n\ bool is_emergency_stopped\n\ bool is_protective_stopped\n\ bool is_program_running\n\ bool is_program_paused\n\ "; } static const char* value(const ::ur_msgs::RobotModeDataMsg_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::ur_msgs::RobotModeDataMsg_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.timestamp); stream.next(m.is_robot_connected); stream.next(m.is_real_robot_enabled); stream.next(m.is_power_on_robot); stream.next(m.is_emergency_stopped); stream.next(m.is_protective_stopped); stream.next(m.is_program_running); stream.next(m.is_program_paused); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct RobotModeDataMsg_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::ur_msgs::RobotModeDataMsg_ > { template static void stream(Stream& s, const std::string& indent, const ::ur_msgs::RobotModeDataMsg_& v) { s << indent << "timestamp: "; Printer::stream(s, indent + " ", v.timestamp); s << indent << "is_robot_connected: "; Printer::stream(s, indent + " ", v.is_robot_connected); s << indent << "is_real_robot_enabled: "; Printer::stream(s, indent + " ", v.is_real_robot_enabled); s << indent << "is_power_on_robot: "; Printer::stream(s, indent + " ", v.is_power_on_robot); s << indent << "is_emergency_stopped: "; Printer::stream(s, indent + " ", v.is_emergency_stopped); s << indent << "is_protective_stopped: "; Printer::stream(s, indent + " ", v.is_protective_stopped); s << indent << "is_program_running: "; Printer::stream(s, indent + " ", v.is_program_running); s << indent << "is_program_paused: "; Printer::stream(s, indent + " ", v.is_program_paused); } }; } // namespace message_operations } // namespace ros #endif // UR_MSGS_MESSAGE_ROBOTMODEDATAMSG_H