// Generated by gencpp from file arduino_servo_connect/ServoEnableRequest.msg // DO NOT EDIT! #ifndef ARDUINO_SERVO_CONNECT_MESSAGE_SERVOENABLEREQUEST_H #define ARDUINO_SERVO_CONNECT_MESSAGE_SERVOENABLEREQUEST_H #include #include #include #include #include #include #include namespace arduino_servo_connect { template struct ServoEnableRequest_ { typedef ServoEnableRequest_ Type; ServoEnableRequest_() : id(0) , flag(0) { } ServoEnableRequest_(const ContainerAllocator& _alloc) : id(0) , flag(0) { (void)_alloc; } typedef uint8_t _id_type; _id_type id; typedef uint8_t _flag_type; _flag_type flag; typedef boost::shared_ptr< ::arduino_servo_connect::ServoEnableRequest_ > Ptr; typedef boost::shared_ptr< ::arduino_servo_connect::ServoEnableRequest_ const> ConstPtr; }; // struct ServoEnableRequest_ typedef ::arduino_servo_connect::ServoEnableRequest_ > ServoEnableRequest; typedef boost::shared_ptr< ::arduino_servo_connect::ServoEnableRequest > ServoEnableRequestPtr; typedef boost::shared_ptr< ::arduino_servo_connect::ServoEnableRequest const> ServoEnableRequestConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::arduino_servo_connect::ServoEnableRequest_ & v) { ros::message_operations::Printer< ::arduino_servo_connect::ServoEnableRequest_ >::stream(s, "", v); return s; } } // namespace arduino_servo_connect namespace ros { namespace message_traits { // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False} // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'arduino_servo_connect': ['/home/corvin/project/face_tracker/ros_code/src/arduino_servo_connect/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< ::arduino_servo_connect::ServoEnableRequest_ > : TrueType { }; template struct IsFixedSize< ::arduino_servo_connect::ServoEnableRequest_ const> : TrueType { }; template struct IsMessage< ::arduino_servo_connect::ServoEnableRequest_ > : TrueType { }; template struct IsMessage< ::arduino_servo_connect::ServoEnableRequest_ const> : TrueType { }; template struct HasHeader< ::arduino_servo_connect::ServoEnableRequest_ > : FalseType { }; template struct HasHeader< ::arduino_servo_connect::ServoEnableRequest_ const> : FalseType { }; template struct MD5Sum< ::arduino_servo_connect::ServoEnableRequest_ > { static const char* value() { return "bdf13954fac71cd1ad130cc58e64cb5e"; } static const char* value(const ::arduino_servo_connect::ServoEnableRequest_&) { return value(); } static const uint64_t static_value1 = 0xbdf13954fac71cd1ULL; static const uint64_t static_value2 = 0xad130cc58e64cb5eULL; }; template struct DataType< ::arduino_servo_connect::ServoEnableRequest_ > { static const char* value() { return "arduino_servo_connect/ServoEnableRequest"; } static const char* value(const ::arduino_servo_connect::ServoEnableRequest_&) { return value(); } }; template struct Definition< ::arduino_servo_connect::ServoEnableRequest_ > { static const char* value() { return "uint8 id\n\ uint8 flag\n\ "; } static const char* value(const ::arduino_servo_connect::ServoEnableRequest_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::arduino_servo_connect::ServoEnableRequest_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.id); stream.next(m.flag); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct ServoEnableRequest_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::arduino_servo_connect::ServoEnableRequest_ > { template static void stream(Stream& s, const std::string& indent, const ::arduino_servo_connect::ServoEnableRequest_& v) { s << indent << "id: "; Printer::stream(s, indent + " ", v.id); s << indent << "flag: "; Printer::stream(s, indent + " ", v.flag); } }; } // namespace message_operations } // namespace ros #endif // ARDUINO_SERVO_CONNECT_MESSAGE_SERVOENABLEREQUEST_H