00001
00002 #ifndef NAVP_ACTION_MESSAGE_NAV_ACTIONGOAL_H
00003 #define NAVP_ACTION_MESSAGE_NAV_ACTIONGOAL_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "std_msgs/UInt64.h"
00018
00019 namespace navp_action
00020 {
00021 template <class ContainerAllocator>
00022 struct nav_actionGoal_ {
00023 typedef nav_actionGoal_<ContainerAllocator> Type;
00024
00025 nav_actionGoal_()
00026 : target_lo()
00027 {
00028 }
00029
00030 nav_actionGoal_(const ContainerAllocator& _alloc)
00031 : target_lo(_alloc)
00032 {
00033 }
00034
00035 typedef ::std_msgs::UInt64_<ContainerAllocator> _target_lo_type;
00036 ::std_msgs::UInt64_<ContainerAllocator> target_lo;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "navp_action/nav_actionGoal"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "ca1b443adebf0d1bcf1510f73ee9f389"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00055 #goal definition\n\
00056 std_msgs/UInt64 target_lo\n\
00057 \n\
00058 ================================================================================\n\
00059 MSG: std_msgs/UInt64\n\
00060 uint64 data\n\
00061 "; }
00062 public:
00063 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00064
00065 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00066
00067 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00068 {
00069 ros::serialization::OStream stream(write_ptr, 1000000000);
00070 ros::serialization::serialize(stream, target_lo);
00071 return stream.getData();
00072 }
00073
00074 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00075 {
00076 ros::serialization::IStream stream(read_ptr, 1000000000);
00077 ros::serialization::deserialize(stream, target_lo);
00078 return stream.getData();
00079 }
00080
00081 ROS_DEPRECATED virtual uint32_t serializationLength() const
00082 {
00083 uint32_t size = 0;
00084 size += ros::serialization::serializationLength(target_lo);
00085 return size;
00086 }
00087
00088 typedef boost::shared_ptr< ::navp_action::nav_actionGoal_<ContainerAllocator> > Ptr;
00089 typedef boost::shared_ptr< ::navp_action::nav_actionGoal_<ContainerAllocator> const> ConstPtr;
00090 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00091 };
00092 typedef ::navp_action::nav_actionGoal_<std::allocator<void> > nav_actionGoal;
00093
00094 typedef boost::shared_ptr< ::navp_action::nav_actionGoal> nav_actionGoalPtr;
00095 typedef boost::shared_ptr< ::navp_action::nav_actionGoal const> nav_actionGoalConstPtr;
00096
00097
00098 template<typename ContainerAllocator>
00099 std::ostream& operator<<(std::ostream& s, const ::navp_action::nav_actionGoal_<ContainerAllocator> & v)
00100 {
00101 ros::message_operations::Printer< ::navp_action::nav_actionGoal_<ContainerAllocator> >::stream(s, "", v);
00102 return s;}
00103
00104 }
00105
00106 namespace ros
00107 {
00108 namespace message_traits
00109 {
00110 template<class ContainerAllocator> struct IsMessage< ::navp_action::nav_actionGoal_<ContainerAllocator> > : public TrueType {};
00111 template<class ContainerAllocator> struct IsMessage< ::navp_action::nav_actionGoal_<ContainerAllocator> const> : public TrueType {};
00112 template<class ContainerAllocator>
00113 struct MD5Sum< ::navp_action::nav_actionGoal_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "ca1b443adebf0d1bcf1510f73ee9f389";
00117 }
00118
00119 static const char* value(const ::navp_action::nav_actionGoal_<ContainerAllocator> &) { return value(); }
00120 static const uint64_t static_value1 = 0xca1b443adebf0d1bULL;
00121 static const uint64_t static_value2 = 0xcf1510f73ee9f389ULL;
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct DataType< ::navp_action::nav_actionGoal_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "navp_action/nav_actionGoal";
00129 }
00130
00131 static const char* value(const ::navp_action::nav_actionGoal_<ContainerAllocator> &) { return value(); }
00132 };
00133
00134 template<class ContainerAllocator>
00135 struct Definition< ::navp_action::nav_actionGoal_<ContainerAllocator> > {
00136 static const char* value()
00137 {
00138 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00139 #goal definition\n\
00140 std_msgs/UInt64 target_lo\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: std_msgs/UInt64\n\
00144 uint64 data\n\
00145 ";
00146 }
00147
00148 static const char* value(const ::navp_action::nav_actionGoal_<ContainerAllocator> &) { return value(); }
00149 };
00150
00151 template<class ContainerAllocator> struct IsFixedSize< ::navp_action::nav_actionGoal_<ContainerAllocator> > : public TrueType {};
00152 }
00153 }
00154
00155 namespace ros
00156 {
00157 namespace serialization
00158 {
00159
00160 template<class ContainerAllocator> struct Serializer< ::navp_action::nav_actionGoal_<ContainerAllocator> >
00161 {
00162 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00163 {
00164 stream.next(m.target_lo);
00165 }
00166
00167 ROS_DECLARE_ALLINONE_SERIALIZER;
00168 };
00169 }
00170 }
00171
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176
00177 template<class ContainerAllocator>
00178 struct Printer< ::navp_action::nav_actionGoal_<ContainerAllocator> >
00179 {
00180 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::navp_action::nav_actionGoal_<ContainerAllocator> & v)
00181 {
00182 s << indent << "target_lo: ";
00183 s << std::endl;
00184 Printer< ::std_msgs::UInt64_<ContainerAllocator> >::stream(s, indent + " ", v.target_lo);
00185 }
00186 };
00187
00188
00189 }
00190 }
00191
00192 #endif // NAVP_ACTION_MESSAGE_NAV_ACTIONGOAL_H
00193