00001
00002 #ifndef LAUNCHMAN_MESSAGE_APPLICATION_H
00003 #define LAUNCHMAN_MESSAGE_APPLICATION_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 launchman
00015 {
00016 template <class ContainerAllocator>
00017 struct Application_ : public ros::Message
00018 {
00019 typedef Application_<ContainerAllocator> Type;
00020
00021 Application_()
00022 : taskid()
00023 , name()
00024 , status()
00025 , icon()
00026 , provides()
00027 , depends()
00028 {
00029 }
00030
00031 Application_(const ContainerAllocator& _alloc)
00032 : taskid(_alloc)
00033 , name(_alloc)
00034 , status(_alloc)
00035 , icon(_alloc)
00036 , provides(_alloc)
00037 , depends(_alloc)
00038 {
00039 }
00040
00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _taskid_type;
00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > taskid;
00043
00044 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00045 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00046
00047 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type;
00048 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status;
00049
00050 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _icon_type;
00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > icon;
00052
00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _provides_type;
00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > provides;
00055
00056 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _depends_type;
00057 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > depends;
00058
00059
00060 private:
00061 static const char* __s_getDataType_() { return "launchman/Application"; }
00062 public:
00063 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00064
00065 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00066
00067 private:
00068 static const char* __s_getMD5Sum_() { return "f6a16a9c297a883b8eb15bf869d26eca"; }
00069 public:
00070 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00071
00072 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00073
00074 private:
00075 static const char* __s_getMessageDefinition_() { return "string taskid\n\
00076 string name\n\
00077 string status\n\
00078 string icon\n\
00079 string provides\n\
00080 string depends\n\
00081 \n\
00082 "; }
00083 public:
00084 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00085
00086 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00087
00088 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00089 {
00090 ros::serialization::OStream stream(write_ptr, 1000000000);
00091 ros::serialization::serialize(stream, taskid);
00092 ros::serialization::serialize(stream, name);
00093 ros::serialization::serialize(stream, status);
00094 ros::serialization::serialize(stream, icon);
00095 ros::serialization::serialize(stream, provides);
00096 ros::serialization::serialize(stream, depends);
00097 return stream.getData();
00098 }
00099
00100 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00101 {
00102 ros::serialization::IStream stream(read_ptr, 1000000000);
00103 ros::serialization::deserialize(stream, taskid);
00104 ros::serialization::deserialize(stream, name);
00105 ros::serialization::deserialize(stream, status);
00106 ros::serialization::deserialize(stream, icon);
00107 ros::serialization::deserialize(stream, provides);
00108 ros::serialization::deserialize(stream, depends);
00109 return stream.getData();
00110 }
00111
00112 ROS_DEPRECATED virtual uint32_t serializationLength() const
00113 {
00114 uint32_t size = 0;
00115 size += ros::serialization::serializationLength(taskid);
00116 size += ros::serialization::serializationLength(name);
00117 size += ros::serialization::serializationLength(status);
00118 size += ros::serialization::serializationLength(icon);
00119 size += ros::serialization::serializationLength(provides);
00120 size += ros::serialization::serializationLength(depends);
00121 return size;
00122 }
00123
00124 typedef boost::shared_ptr< ::launchman::Application_<ContainerAllocator> > Ptr;
00125 typedef boost::shared_ptr< ::launchman::Application_<ContainerAllocator> const> ConstPtr;
00126 };
00127 typedef ::launchman::Application_<std::allocator<void> > Application;
00128
00129 typedef boost::shared_ptr< ::launchman::Application> ApplicationPtr;
00130 typedef boost::shared_ptr< ::launchman::Application const> ApplicationConstPtr;
00131
00132
00133 template<typename ContainerAllocator>
00134 std::ostream& operator<<(std::ostream& s, const ::launchman::Application_<ContainerAllocator> & v)
00135 {
00136 ros::message_operations::Printer< ::launchman::Application_<ContainerAllocator> >::stream(s, "", v);
00137 return s;}
00138
00139 }
00140
00141 namespace ros
00142 {
00143 namespace message_traits
00144 {
00145 template<class ContainerAllocator>
00146 struct MD5Sum< ::launchman::Application_<ContainerAllocator> > {
00147 static const char* value()
00148 {
00149 return "f6a16a9c297a883b8eb15bf869d26eca";
00150 }
00151
00152 static const char* value(const ::launchman::Application_<ContainerAllocator> &) { return value(); }
00153 static const uint64_t static_value1 = 0xf6a16a9c297a883bULL;
00154 static const uint64_t static_value2 = 0x8eb15bf869d26ecaULL;
00155 };
00156
00157 template<class ContainerAllocator>
00158 struct DataType< ::launchman::Application_<ContainerAllocator> > {
00159 static const char* value()
00160 {
00161 return "launchman/Application";
00162 }
00163
00164 static const char* value(const ::launchman::Application_<ContainerAllocator> &) { return value(); }
00165 };
00166
00167 template<class ContainerAllocator>
00168 struct Definition< ::launchman::Application_<ContainerAllocator> > {
00169 static const char* value()
00170 {
00171 return "string taskid\n\
00172 string name\n\
00173 string status\n\
00174 string icon\n\
00175 string provides\n\
00176 string depends\n\
00177 \n\
00178 ";
00179 }
00180
00181 static const char* value(const ::launchman::Application_<ContainerAllocator> &) { return value(); }
00182 };
00183
00184 }
00185 }
00186
00187 namespace ros
00188 {
00189 namespace serialization
00190 {
00191
00192 template<class ContainerAllocator> struct Serializer< ::launchman::Application_<ContainerAllocator> >
00193 {
00194 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00195 {
00196 stream.next(m.taskid);
00197 stream.next(m.name);
00198 stream.next(m.status);
00199 stream.next(m.icon);
00200 stream.next(m.provides);
00201 stream.next(m.depends);
00202 }
00203
00204 ROS_DECLARE_ALLINONE_SERIALIZER;
00205 };
00206 }
00207 }
00208
00209 namespace ros
00210 {
00211 namespace message_operations
00212 {
00213
00214 template<class ContainerAllocator>
00215 struct Printer< ::launchman::Application_<ContainerAllocator> >
00216 {
00217 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::launchman::Application_<ContainerAllocator> & v)
00218 {
00219 s << indent << "taskid: ";
00220 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.taskid);
00221 s << indent << "name: ";
00222 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
00223 s << indent << "status: ";
00224 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.status);
00225 s << indent << "icon: ";
00226 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.icon);
00227 s << indent << "provides: ";
00228 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.provides);
00229 s << indent << "depends: ";
00230 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.depends);
00231 }
00232 };
00233
00234
00235 }
00236 }
00237
00238 #endif // LAUNCHMAN_MESSAGE_APPLICATION_H
00239