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