$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-ros_applications/doc_stacks/2013-03-03_11-59-00.069858/ros_applications/application_msgs/msg/ListApplicationsResult.msg */ 00002 #ifndef APPLICATION_MSGS_MESSAGE_LISTAPPLICATIONSRESULT_H 00003 #define APPLICATION_MSGS_MESSAGE_LISTAPPLICATIONSRESULT_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 application_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct ListApplicationsResult_ { 00022 typedef ListApplicationsResult_<ContainerAllocator> Type; 00023 00024 ListApplicationsResult_() 00025 : application_name() 00026 , application_status() 00027 , daemonize() 00028 { 00029 } 00030 00031 ListApplicationsResult_(const ContainerAllocator& _alloc) 00032 : application_name(_alloc) 00033 , application_status(_alloc) 00034 , daemonize(_alloc) 00035 { 00036 } 00037 00038 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _application_name_type; 00039 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > application_name; 00040 00041 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _application_status_type; 00042 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > application_status; 00043 00044 typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _daemonize_type; 00045 std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > daemonize; 00046 00047 00048 ROS_DEPRECATED uint32_t get_application_name_size() const { return (uint32_t)application_name.size(); } 00049 ROS_DEPRECATED void set_application_name_size(uint32_t size) { application_name.resize((size_t)size); } 00050 ROS_DEPRECATED void get_application_name_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->application_name; } 00051 ROS_DEPRECATED void set_application_name_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->application_name = vec; } 00052 ROS_DEPRECATED uint32_t get_application_status_size() const { return (uint32_t)application_status.size(); } 00053 ROS_DEPRECATED void set_application_status_size(uint32_t size) { application_status.resize((size_t)size); } 00054 ROS_DEPRECATED void get_application_status_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->application_status; } 00055 ROS_DEPRECATED void set_application_status_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->application_status = vec; } 00056 ROS_DEPRECATED uint32_t get_daemonize_size() const { return (uint32_t)daemonize.size(); } 00057 ROS_DEPRECATED void set_daemonize_size(uint32_t size) { daemonize.resize((size_t)size); } 00058 ROS_DEPRECATED void get_daemonize_vec(std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > & vec) const { vec = this->daemonize; } 00059 ROS_DEPRECATED void set_daemonize_vec(const std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > & vec) { this->daemonize = vec; } 00060 private: 00061 static const char* __s_getDataType_() { return "application_msgs/ListApplicationsResult"; } 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 "529b1334801bfd8ac373e2c8fd509c92"; } 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 "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00076 string[] application_name\n\ 00077 string[] application_status\n\ 00078 bool[] daemonize\n\ 00079 \n\ 00080 "; } 00081 public: 00082 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00083 00084 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00085 00086 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00087 { 00088 ros::serialization::OStream stream(write_ptr, 1000000000); 00089 ros::serialization::serialize(stream, application_name); 00090 ros::serialization::serialize(stream, application_status); 00091 ros::serialization::serialize(stream, daemonize); 00092 return stream.getData(); 00093 } 00094 00095 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00096 { 00097 ros::serialization::IStream stream(read_ptr, 1000000000); 00098 ros::serialization::deserialize(stream, application_name); 00099 ros::serialization::deserialize(stream, application_status); 00100 ros::serialization::deserialize(stream, daemonize); 00101 return stream.getData(); 00102 } 00103 00104 ROS_DEPRECATED virtual uint32_t serializationLength() const 00105 { 00106 uint32_t size = 0; 00107 size += ros::serialization::serializationLength(application_name); 00108 size += ros::serialization::serializationLength(application_status); 00109 size += ros::serialization::serializationLength(daemonize); 00110 return size; 00111 } 00112 00113 typedef boost::shared_ptr< ::application_msgs::ListApplicationsResult_<ContainerAllocator> > Ptr; 00114 typedef boost::shared_ptr< ::application_msgs::ListApplicationsResult_<ContainerAllocator> const> ConstPtr; 00115 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00116 }; // struct ListApplicationsResult 00117 typedef ::application_msgs::ListApplicationsResult_<std::allocator<void> > ListApplicationsResult; 00118 00119 typedef boost::shared_ptr< ::application_msgs::ListApplicationsResult> ListApplicationsResultPtr; 00120 typedef boost::shared_ptr< ::application_msgs::ListApplicationsResult const> ListApplicationsResultConstPtr; 00121 00122 00123 template<typename ContainerAllocator> 00124 std::ostream& operator<<(std::ostream& s, const ::application_msgs::ListApplicationsResult_<ContainerAllocator> & v) 00125 { 00126 ros::message_operations::Printer< ::application_msgs::ListApplicationsResult_<ContainerAllocator> >::stream(s, "", v); 00127 return s;} 00128 00129 } // namespace application_msgs 00130 00131 namespace ros 00132 { 00133 namespace message_traits 00134 { 00135 template<class ContainerAllocator> struct IsMessage< ::application_msgs::ListApplicationsResult_<ContainerAllocator> > : public TrueType {}; 00136 template<class ContainerAllocator> struct IsMessage< ::application_msgs::ListApplicationsResult_<ContainerAllocator> const> : public TrueType {}; 00137 template<class ContainerAllocator> 00138 struct MD5Sum< ::application_msgs::ListApplicationsResult_<ContainerAllocator> > { 00139 static const char* value() 00140 { 00141 return "529b1334801bfd8ac373e2c8fd509c92"; 00142 } 00143 00144 static const char* value(const ::application_msgs::ListApplicationsResult_<ContainerAllocator> &) { return value(); } 00145 static const uint64_t static_value1 = 0x529b1334801bfd8aULL; 00146 static const uint64_t static_value2 = 0xc373e2c8fd509c92ULL; 00147 }; 00148 00149 template<class ContainerAllocator> 00150 struct DataType< ::application_msgs::ListApplicationsResult_<ContainerAllocator> > { 00151 static const char* value() 00152 { 00153 return "application_msgs/ListApplicationsResult"; 00154 } 00155 00156 static const char* value(const ::application_msgs::ListApplicationsResult_<ContainerAllocator> &) { return value(); } 00157 }; 00158 00159 template<class ContainerAllocator> 00160 struct Definition< ::application_msgs::ListApplicationsResult_<ContainerAllocator> > { 00161 static const char* value() 00162 { 00163 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00164 string[] application_name\n\ 00165 string[] application_status\n\ 00166 bool[] daemonize\n\ 00167 \n\ 00168 "; 00169 } 00170 00171 static const char* value(const ::application_msgs::ListApplicationsResult_<ContainerAllocator> &) { return value(); } 00172 }; 00173 00174 } // namespace message_traits 00175 } // namespace ros 00176 00177 namespace ros 00178 { 00179 namespace serialization 00180 { 00181 00182 template<class ContainerAllocator> struct Serializer< ::application_msgs::ListApplicationsResult_<ContainerAllocator> > 00183 { 00184 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00185 { 00186 stream.next(m.application_name); 00187 stream.next(m.application_status); 00188 stream.next(m.daemonize); 00189 } 00190 00191 ROS_DECLARE_ALLINONE_SERIALIZER; 00192 }; // struct ListApplicationsResult_ 00193 } // namespace serialization 00194 } // namespace ros 00195 00196 namespace ros 00197 { 00198 namespace message_operations 00199 { 00200 00201 template<class ContainerAllocator> 00202 struct Printer< ::application_msgs::ListApplicationsResult_<ContainerAllocator> > 00203 { 00204 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::application_msgs::ListApplicationsResult_<ContainerAllocator> & v) 00205 { 00206 s << indent << "application_name[]" << std::endl; 00207 for (size_t i = 0; i < v.application_name.size(); ++i) 00208 { 00209 s << indent << " application_name[" << i << "]: "; 00210 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.application_name[i]); 00211 } 00212 s << indent << "application_status[]" << std::endl; 00213 for (size_t i = 0; i < v.application_status.size(); ++i) 00214 { 00215 s << indent << " application_status[" << i << "]: "; 00216 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.application_status[i]); 00217 } 00218 s << indent << "daemonize[]" << std::endl; 00219 for (size_t i = 0; i < v.daemonize.size(); ++i) 00220 { 00221 s << indent << " daemonize[" << i << "]: "; 00222 Printer<uint8_t>::stream(s, indent + " ", v.daemonize[i]); 00223 } 00224 } 00225 }; 00226 00227 00228 } // namespace message_operations 00229 } // namespace ros 00230 00231 #endif // APPLICATION_MSGS_MESSAGE_LISTAPPLICATIONSRESULT_H 00232