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