$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-multimaster_experimental/doc_stacks/2013-03-01_16-04-40.976361/multimaster_experimental/app_manager/msg/ExchangeApp.msg */ 00002 #ifndef APP_MANAGER_MESSAGE_EXCHANGEAPP_H 00003 #define APP_MANAGER_MESSAGE_EXCHANGEAPP_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 "app_manager/Icon.h" 00018 00019 namespace app_manager 00020 { 00021 template <class ContainerAllocator> 00022 struct ExchangeApp_ { 00023 typedef ExchangeApp_<ContainerAllocator> Type; 00024 00025 ExchangeApp_() 00026 : name() 00027 , display_name() 00028 , version() 00029 , latest_version() 00030 , description() 00031 , icon() 00032 , hidden(false) 00033 { 00034 } 00035 00036 ExchangeApp_(const ContainerAllocator& _alloc) 00037 : name(_alloc) 00038 , display_name(_alloc) 00039 , version(_alloc) 00040 , latest_version(_alloc) 00041 , description(_alloc) 00042 , icon(_alloc) 00043 , hidden(false) 00044 { 00045 } 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 > _display_name_type; 00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > display_name; 00052 00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _version_type; 00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > version; 00055 00056 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _latest_version_type; 00057 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > latest_version; 00058 00059 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _description_type; 00060 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > description; 00061 00062 typedef ::app_manager::Icon_<ContainerAllocator> _icon_type; 00063 ::app_manager::Icon_<ContainerAllocator> icon; 00064 00065 typedef uint8_t _hidden_type; 00066 uint8_t hidden; 00067 00068 00069 private: 00070 static const char* __s_getDataType_() { return "app_manager/ExchangeApp"; } 00071 public: 00072 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00073 00074 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00075 00076 private: 00077 static const char* __s_getMD5Sum_() { return "ccad20aa9f390121e44c61d218038d78"; } 00078 public: 00079 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00080 00081 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00082 00083 private: 00084 static const char* __s_getMessageDefinition_() { return "# app name\n\ 00085 string name\n\ 00086 # user-friendly display name of application\n\ 00087 string display_name\n\ 00088 # the version of the package currently installed\n\ 00089 string version\n\ 00090 # latest version of the package avaliable\n\ 00091 string latest_version\n\ 00092 # the detailed description of the app\n\ 00093 string description\n\ 00094 # icon for showing app\n\ 00095 Icon icon\n\ 00096 # hidden apps are not show - used for cases where multiple apps are in a deb\n\ 00097 bool hidden\n\ 00098 ================================================================================\n\ 00099 MSG: app_manager/Icon\n\ 00100 # Image data format. \"jpeg\" or \"png\"\n\ 00101 string format\n\ 00102 \n\ 00103 # Image data.\n\ 00104 uint8[] data\n\ 00105 \n\ 00106 "; } 00107 public: 00108 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00109 00110 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00111 00112 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00113 { 00114 ros::serialization::OStream stream(write_ptr, 1000000000); 00115 ros::serialization::serialize(stream, name); 00116 ros::serialization::serialize(stream, display_name); 00117 ros::serialization::serialize(stream, version); 00118 ros::serialization::serialize(stream, latest_version); 00119 ros::serialization::serialize(stream, description); 00120 ros::serialization::serialize(stream, icon); 00121 ros::serialization::serialize(stream, hidden); 00122 return stream.getData(); 00123 } 00124 00125 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00126 { 00127 ros::serialization::IStream stream(read_ptr, 1000000000); 00128 ros::serialization::deserialize(stream, name); 00129 ros::serialization::deserialize(stream, display_name); 00130 ros::serialization::deserialize(stream, version); 00131 ros::serialization::deserialize(stream, latest_version); 00132 ros::serialization::deserialize(stream, description); 00133 ros::serialization::deserialize(stream, icon); 00134 ros::serialization::deserialize(stream, hidden); 00135 return stream.getData(); 00136 } 00137 00138 ROS_DEPRECATED virtual uint32_t serializationLength() const 00139 { 00140 uint32_t size = 0; 00141 size += ros::serialization::serializationLength(name); 00142 size += ros::serialization::serializationLength(display_name); 00143 size += ros::serialization::serializationLength(version); 00144 size += ros::serialization::serializationLength(latest_version); 00145 size += ros::serialization::serializationLength(description); 00146 size += ros::serialization::serializationLength(icon); 00147 size += ros::serialization::serializationLength(hidden); 00148 return size; 00149 } 00150 00151 typedef boost::shared_ptr< ::app_manager::ExchangeApp_<ContainerAllocator> > Ptr; 00152 typedef boost::shared_ptr< ::app_manager::ExchangeApp_<ContainerAllocator> const> ConstPtr; 00153 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00154 }; // struct ExchangeApp 00155 typedef ::app_manager::ExchangeApp_<std::allocator<void> > ExchangeApp; 00156 00157 typedef boost::shared_ptr< ::app_manager::ExchangeApp> ExchangeAppPtr; 00158 typedef boost::shared_ptr< ::app_manager::ExchangeApp const> ExchangeAppConstPtr; 00159 00160 00161 template<typename ContainerAllocator> 00162 std::ostream& operator<<(std::ostream& s, const ::app_manager::ExchangeApp_<ContainerAllocator> & v) 00163 { 00164 ros::message_operations::Printer< ::app_manager::ExchangeApp_<ContainerAllocator> >::stream(s, "", v); 00165 return s;} 00166 00167 } // namespace app_manager 00168 00169 namespace ros 00170 { 00171 namespace message_traits 00172 { 00173 template<class ContainerAllocator> struct IsMessage< ::app_manager::ExchangeApp_<ContainerAllocator> > : public TrueType {}; 00174 template<class ContainerAllocator> struct IsMessage< ::app_manager::ExchangeApp_<ContainerAllocator> const> : public TrueType {}; 00175 template<class ContainerAllocator> 00176 struct MD5Sum< ::app_manager::ExchangeApp_<ContainerAllocator> > { 00177 static const char* value() 00178 { 00179 return "ccad20aa9f390121e44c61d218038d78"; 00180 } 00181 00182 static const char* value(const ::app_manager::ExchangeApp_<ContainerAllocator> &) { return value(); } 00183 static const uint64_t static_value1 = 0xccad20aa9f390121ULL; 00184 static const uint64_t static_value2 = 0xe44c61d218038d78ULL; 00185 }; 00186 00187 template<class ContainerAllocator> 00188 struct DataType< ::app_manager::ExchangeApp_<ContainerAllocator> > { 00189 static const char* value() 00190 { 00191 return "app_manager/ExchangeApp"; 00192 } 00193 00194 static const char* value(const ::app_manager::ExchangeApp_<ContainerAllocator> &) { return value(); } 00195 }; 00196 00197 template<class ContainerAllocator> 00198 struct Definition< ::app_manager::ExchangeApp_<ContainerAllocator> > { 00199 static const char* value() 00200 { 00201 return "# app name\n\ 00202 string name\n\ 00203 # user-friendly display name of application\n\ 00204 string display_name\n\ 00205 # the version of the package currently installed\n\ 00206 string version\n\ 00207 # latest version of the package avaliable\n\ 00208 string latest_version\n\ 00209 # the detailed description of the app\n\ 00210 string description\n\ 00211 # icon for showing app\n\ 00212 Icon icon\n\ 00213 # hidden apps are not show - used for cases where multiple apps are in a deb\n\ 00214 bool hidden\n\ 00215 ================================================================================\n\ 00216 MSG: app_manager/Icon\n\ 00217 # Image data format. \"jpeg\" or \"png\"\n\ 00218 string format\n\ 00219 \n\ 00220 # Image data.\n\ 00221 uint8[] data\n\ 00222 \n\ 00223 "; 00224 } 00225 00226 static const char* value(const ::app_manager::ExchangeApp_<ContainerAllocator> &) { return value(); } 00227 }; 00228 00229 } // namespace message_traits 00230 } // namespace ros 00231 00232 namespace ros 00233 { 00234 namespace serialization 00235 { 00236 00237 template<class ContainerAllocator> struct Serializer< ::app_manager::ExchangeApp_<ContainerAllocator> > 00238 { 00239 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00240 { 00241 stream.next(m.name); 00242 stream.next(m.display_name); 00243 stream.next(m.version); 00244 stream.next(m.latest_version); 00245 stream.next(m.description); 00246 stream.next(m.icon); 00247 stream.next(m.hidden); 00248 } 00249 00250 ROS_DECLARE_ALLINONE_SERIALIZER; 00251 }; // struct ExchangeApp_ 00252 } // namespace serialization 00253 } // namespace ros 00254 00255 namespace ros 00256 { 00257 namespace message_operations 00258 { 00259 00260 template<class ContainerAllocator> 00261 struct Printer< ::app_manager::ExchangeApp_<ContainerAllocator> > 00262 { 00263 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::app_manager::ExchangeApp_<ContainerAllocator> & v) 00264 { 00265 s << indent << "name: "; 00266 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name); 00267 s << indent << "display_name: "; 00268 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.display_name); 00269 s << indent << "version: "; 00270 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.version); 00271 s << indent << "latest_version: "; 00272 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.latest_version); 00273 s << indent << "description: "; 00274 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.description); 00275 s << indent << "icon: "; 00276 s << std::endl; 00277 Printer< ::app_manager::Icon_<ContainerAllocator> >::stream(s, indent + " ", v.icon); 00278 s << indent << "hidden: "; 00279 Printer<uint8_t>::stream(s, indent + " ", v.hidden); 00280 } 00281 }; 00282 00283 00284 } // namespace message_operations 00285 } // namespace ros 00286 00287 #endif // APP_MANAGER_MESSAGE_EXCHANGEAPP_H 00288