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