$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/AppStatus.msg */ 00002 #ifndef LAUNCHMAN_MESSAGE_APPSTATUS_H 00003 #define LAUNCHMAN_MESSAGE_APPSTATUS_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 "launchman/Application.h" 00018 00019 namespace launchman 00020 { 00021 template <class ContainerAllocator> 00022 struct AppStatus_ { 00023 typedef AppStatus_<ContainerAllocator> Type; 00024 00025 AppStatus_() 00026 : active() 00027 { 00028 } 00029 00030 AppStatus_(const ContainerAllocator& _alloc) 00031 : active(_alloc) 00032 { 00033 } 00034 00035 typedef std::vector< ::launchman::Application_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::launchman::Application_<ContainerAllocator> >::other > _active_type; 00036 std::vector< ::launchman::Application_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::launchman::Application_<ContainerAllocator> >::other > active; 00037 00038 00039 ROS_DEPRECATED uint32_t get_active_size() const { return (uint32_t)active.size(); } 00040 ROS_DEPRECATED void set_active_size(uint32_t size) { active.resize((size_t)size); } 00041 ROS_DEPRECATED void get_active_vec(std::vector< ::launchman::Application_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::launchman::Application_<ContainerAllocator> >::other > & vec) const { vec = this->active; } 00042 ROS_DEPRECATED void set_active_vec(const std::vector< ::launchman::Application_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::launchman::Application_<ContainerAllocator> >::other > & vec) { this->active = vec; } 00043 private: 00044 static const char* __s_getDataType_() { return "launchman/AppStatus"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "8a2d696a9a11a9fb77b5416e878dcad0"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getMessageDefinition_() { return "Application[] active\n\ 00059 \n\ 00060 ================================================================================\n\ 00061 MSG: launchman/Application\n\ 00062 string taskid\n\ 00063 string name\n\ 00064 string status\n\ 00065 string icon\n\ 00066 string provides\n\ 00067 string depends\n\ 00068 \n\ 00069 "; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00076 { 00077 ros::serialization::OStream stream(write_ptr, 1000000000); 00078 ros::serialization::serialize(stream, active); 00079 return stream.getData(); 00080 } 00081 00082 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00083 { 00084 ros::serialization::IStream stream(read_ptr, 1000000000); 00085 ros::serialization::deserialize(stream, active); 00086 return stream.getData(); 00087 } 00088 00089 ROS_DEPRECATED virtual uint32_t serializationLength() const 00090 { 00091 uint32_t size = 0; 00092 size += ros::serialization::serializationLength(active); 00093 return size; 00094 } 00095 00096 typedef boost::shared_ptr< ::launchman::AppStatus_<ContainerAllocator> > Ptr; 00097 typedef boost::shared_ptr< ::launchman::AppStatus_<ContainerAllocator> const> ConstPtr; 00098 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00099 }; // struct AppStatus 00100 typedef ::launchman::AppStatus_<std::allocator<void> > AppStatus; 00101 00102 typedef boost::shared_ptr< ::launchman::AppStatus> AppStatusPtr; 00103 typedef boost::shared_ptr< ::launchman::AppStatus const> AppStatusConstPtr; 00104 00105 00106 template<typename ContainerAllocator> 00107 std::ostream& operator<<(std::ostream& s, const ::launchman::AppStatus_<ContainerAllocator> & v) 00108 { 00109 ros::message_operations::Printer< ::launchman::AppStatus_<ContainerAllocator> >::stream(s, "", v); 00110 return s;} 00111 00112 } // namespace launchman 00113 00114 namespace ros 00115 { 00116 namespace message_traits 00117 { 00118 template<class ContainerAllocator> struct IsMessage< ::launchman::AppStatus_<ContainerAllocator> > : public TrueType {}; 00119 template<class ContainerAllocator> struct IsMessage< ::launchman::AppStatus_<ContainerAllocator> const> : public TrueType {}; 00120 template<class ContainerAllocator> 00121 struct MD5Sum< ::launchman::AppStatus_<ContainerAllocator> > { 00122 static const char* value() 00123 { 00124 return "8a2d696a9a11a9fb77b5416e878dcad0"; 00125 } 00126 00127 static const char* value(const ::launchman::AppStatus_<ContainerAllocator> &) { return value(); } 00128 static const uint64_t static_value1 = 0x8a2d696a9a11a9fbULL; 00129 static const uint64_t static_value2 = 0x77b5416e878dcad0ULL; 00130 }; 00131 00132 template<class ContainerAllocator> 00133 struct DataType< ::launchman::AppStatus_<ContainerAllocator> > { 00134 static const char* value() 00135 { 00136 return "launchman/AppStatus"; 00137 } 00138 00139 static const char* value(const ::launchman::AppStatus_<ContainerAllocator> &) { return value(); } 00140 }; 00141 00142 template<class ContainerAllocator> 00143 struct Definition< ::launchman::AppStatus_<ContainerAllocator> > { 00144 static const char* value() 00145 { 00146 return "Application[] active\n\ 00147 \n\ 00148 ================================================================================\n\ 00149 MSG: launchman/Application\n\ 00150 string taskid\n\ 00151 string name\n\ 00152 string status\n\ 00153 string icon\n\ 00154 string provides\n\ 00155 string depends\n\ 00156 \n\ 00157 "; 00158 } 00159 00160 static const char* value(const ::launchman::AppStatus_<ContainerAllocator> &) { return value(); } 00161 }; 00162 00163 } // namespace message_traits 00164 } // namespace ros 00165 00166 namespace ros 00167 { 00168 namespace serialization 00169 { 00170 00171 template<class ContainerAllocator> struct Serializer< ::launchman::AppStatus_<ContainerAllocator> > 00172 { 00173 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00174 { 00175 stream.next(m.active); 00176 } 00177 00178 ROS_DECLARE_ALLINONE_SERIALIZER; 00179 }; // struct AppStatus_ 00180 } // namespace serialization 00181 } // namespace ros 00182 00183 namespace ros 00184 { 00185 namespace message_operations 00186 { 00187 00188 template<class ContainerAllocator> 00189 struct Printer< ::launchman::AppStatus_<ContainerAllocator> > 00190 { 00191 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::launchman::AppStatus_<ContainerAllocator> & v) 00192 { 00193 s << indent << "active[]" << std::endl; 00194 for (size_t i = 0; i < v.active.size(); ++i) 00195 { 00196 s << indent << " active[" << i << "]: "; 00197 s << std::endl; 00198 s << indent; 00199 Printer< ::launchman::Application_<ContainerAllocator> >::stream(s, indent + " ", v.active[i]); 00200 } 00201 } 00202 }; 00203 00204 00205 } // namespace message_operations 00206 } // namespace ros 00207 00208 #endif // LAUNCHMAN_MESSAGE_APPSTATUS_H 00209