// Generated by gencpp from file common_msgs/StartChargeRequest.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_STARTCHARGEREQUEST_H #define COMMON_MSGS_MESSAGE_STARTCHARGEREQUEST_H #include #include #include #include #include #include #include #include #include namespace common_msgs { template struct StartChargeRequest_ { typedef StartChargeRequest_ Type; StartChargeRequest_() : task_info() , point() { } StartChargeRequest_(const ContainerAllocator& _alloc) : task_info(_alloc) , point(_alloc) { (void)_alloc; } typedef ::common_msgs::TaskInfo_ _task_info_type; _task_info_type task_info; typedef ::geometry_msgs::PoseStamped_ _point_type; _point_type point; typedef boost::shared_ptr< ::common_msgs::StartChargeRequest_ > Ptr; typedef boost::shared_ptr< ::common_msgs::StartChargeRequest_ const> ConstPtr; }; // struct StartChargeRequest_ typedef ::common_msgs::StartChargeRequest_ > StartChargeRequest; typedef boost::shared_ptr< ::common_msgs::StartChargeRequest > StartChargeRequestPtr; typedef boost::shared_ptr< ::common_msgs::StartChargeRequest const> StartChargeRequestConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::StartChargeRequest_ & v) { ros::message_operations::Printer< ::common_msgs::StartChargeRequest_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::StartChargeRequest_ & lhs, const ::common_msgs::StartChargeRequest_ & rhs) { return lhs.task_info == rhs.task_info && lhs.point == rhs.point; } template bool operator!=(const ::common_msgs::StartChargeRequest_ & lhs, const ::common_msgs::StartChargeRequest_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::StartChargeRequest_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::StartChargeRequest_ const> : FalseType { }; template struct IsMessage< ::common_msgs::StartChargeRequest_ > : TrueType { }; template struct IsMessage< ::common_msgs::StartChargeRequest_ const> : TrueType { }; template struct HasHeader< ::common_msgs::StartChargeRequest_ > : FalseType { }; template struct HasHeader< ::common_msgs::StartChargeRequest_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::StartChargeRequest_ > { static const char* value() { return "b610470afc16409fe270131f00e709eb"; } static const char* value(const ::common_msgs::StartChargeRequest_&) { return value(); } static const uint64_t static_value1 = 0xb610470afc16409fULL; static const uint64_t static_value2 = 0xe270131f00e709ebULL; }; template struct DataType< ::common_msgs::StartChargeRequest_ > { static const char* value() { return "common_msgs/StartChargeRequest"; } static const char* value(const ::common_msgs::StartChargeRequest_&) { return value(); } }; template struct Definition< ::common_msgs::StartChargeRequest_ > { static const char* value() { return "#任务信息\n" "TaskInfo task_info\n" "#充电桩位置\n" "geometry_msgs/PoseStamped point\n" "\n" "================================================================================\n" "MSG: common_msgs/TaskInfo\n" "#任务id\n" "string task_id\n" "#任务类型\n" "int32 task_type\n" "#子任务类型\n" "int32 sub_task_type\n" "\n" "================================================================================\n" "MSG: geometry_msgs/PoseStamped\n" "# A Pose with reference coordinate frame and timestamp\n" "Header header\n" "Pose pose\n" "\n" "================================================================================\n" "MSG: std_msgs/Header\n" "# Standard metadata for higher-level stamped data types.\n" "# This is generally used to communicate timestamped data \n" "# in a particular coordinate frame.\n" "# \n" "# sequence ID: consecutively increasing ID \n" "uint32 seq\n" "#Two-integer timestamp that is expressed as:\n" "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n" "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n" "# time-handling sugar is provided by the client library\n" "time stamp\n" "#Frame this data is associated with\n" "string frame_id\n" "\n" "================================================================================\n" "MSG: geometry_msgs/Pose\n" "# A representation of pose in free space, composed of position and orientation. \n" "Point position\n" "Quaternion orientation\n" "\n" "================================================================================\n" "MSG: geometry_msgs/Point\n" "# This contains the position of a point in free space\n" "float64 x\n" "float64 y\n" "float64 z\n" "\n" "================================================================================\n" "MSG: geometry_msgs/Quaternion\n" "# This represents an orientation in free space in quaternion form.\n" "\n" "float64 x\n" "float64 y\n" "float64 z\n" "float64 w\n" ; } static const char* value(const ::common_msgs::StartChargeRequest_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::StartChargeRequest_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.task_info); stream.next(m.point); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct StartChargeRequest_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::StartChargeRequest_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::StartChargeRequest_& v) { s << indent << "task_info: "; s << std::endl; Printer< ::common_msgs::TaskInfo_ >::stream(s, indent + " ", v.task_info); s << indent << "point: "; s << std::endl; Printer< ::geometry_msgs::PoseStamped_ >::stream(s, indent + " ", v.point); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_STARTCHARGEREQUEST_H