$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/AppUpdate.msg */ 00002 #ifndef LAUNCHMAN_MESSAGE_APPUPDATE_H 00003 #define LAUNCHMAN_MESSAGE_APPUPDATE_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 "std_msgs/Header.h" 00018 00019 namespace launchman 00020 { 00021 template <class ContainerAllocator> 00022 struct AppUpdate_ { 00023 typedef AppUpdate_<ContainerAllocator> Type; 00024 00025 AppUpdate_() 00026 : header() 00027 , taskid() 00028 , username() 00029 , status() 00030 , started() 00031 { 00032 } 00033 00034 AppUpdate_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , taskid(_alloc) 00037 , username(_alloc) 00038 , status(_alloc) 00039 , started() 00040 { 00041 } 00042 00043 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00044 ::std_msgs::Header_<ContainerAllocator> header; 00045 00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _taskid_type; 00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > taskid; 00048 00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _username_type; 00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > username; 00051 00052 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type; 00053 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status; 00054 00055 typedef ros::Time _started_type; 00056 ros::Time started; 00057 00058 00059 private: 00060 static const char* __s_getDataType_() { return "launchman/AppUpdate"; } 00061 public: 00062 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00063 00064 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00065 00066 private: 00067 static const char* __s_getMD5Sum_() { return "5798525d2dcbad786f5d5d2c3dfd0cae"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00070 00071 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00072 00073 private: 00074 static const char* __s_getMessageDefinition_() { return "Header header\n\ 00075 string taskid\n\ 00076 string username\n\ 00077 string status\n\ 00078 time started\n\ 00079 \n\ 00080 ================================================================================\n\ 00081 MSG: std_msgs/Header\n\ 00082 # Standard metadata for higher-level stamped data types.\n\ 00083 # This is generally used to communicate timestamped data \n\ 00084 # in a particular coordinate frame.\n\ 00085 # \n\ 00086 # sequence ID: consecutively increasing ID \n\ 00087 uint32 seq\n\ 00088 #Two-integer timestamp that is expressed as:\n\ 00089 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00090 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00091 # time-handling sugar is provided by the client library\n\ 00092 time stamp\n\ 00093 #Frame this data is associated with\n\ 00094 # 0: no frame\n\ 00095 # 1: global frame\n\ 00096 string frame_id\n\ 00097 \n\ 00098 "; } 00099 public: 00100 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00101 00102 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00103 00104 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00105 { 00106 ros::serialization::OStream stream(write_ptr, 1000000000); 00107 ros::serialization::serialize(stream, header); 00108 ros::serialization::serialize(stream, taskid); 00109 ros::serialization::serialize(stream, username); 00110 ros::serialization::serialize(stream, status); 00111 ros::serialization::serialize(stream, started); 00112 return stream.getData(); 00113 } 00114 00115 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00116 { 00117 ros::serialization::IStream stream(read_ptr, 1000000000); 00118 ros::serialization::deserialize(stream, header); 00119 ros::serialization::deserialize(stream, taskid); 00120 ros::serialization::deserialize(stream, username); 00121 ros::serialization::deserialize(stream, status); 00122 ros::serialization::deserialize(stream, started); 00123 return stream.getData(); 00124 } 00125 00126 ROS_DEPRECATED virtual uint32_t serializationLength() const 00127 { 00128 uint32_t size = 0; 00129 size += ros::serialization::serializationLength(header); 00130 size += ros::serialization::serializationLength(taskid); 00131 size += ros::serialization::serializationLength(username); 00132 size += ros::serialization::serializationLength(status); 00133 size += ros::serialization::serializationLength(started); 00134 return size; 00135 } 00136 00137 typedef boost::shared_ptr< ::launchman::AppUpdate_<ContainerAllocator> > Ptr; 00138 typedef boost::shared_ptr< ::launchman::AppUpdate_<ContainerAllocator> const> ConstPtr; 00139 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00140 }; // struct AppUpdate 00141 typedef ::launchman::AppUpdate_<std::allocator<void> > AppUpdate; 00142 00143 typedef boost::shared_ptr< ::launchman::AppUpdate> AppUpdatePtr; 00144 typedef boost::shared_ptr< ::launchman::AppUpdate const> AppUpdateConstPtr; 00145 00146 00147 template<typename ContainerAllocator> 00148 std::ostream& operator<<(std::ostream& s, const ::launchman::AppUpdate_<ContainerAllocator> & v) 00149 { 00150 ros::message_operations::Printer< ::launchman::AppUpdate_<ContainerAllocator> >::stream(s, "", v); 00151 return s;} 00152 00153 } // namespace launchman 00154 00155 namespace ros 00156 { 00157 namespace message_traits 00158 { 00159 template<class ContainerAllocator> struct IsMessage< ::launchman::AppUpdate_<ContainerAllocator> > : public TrueType {}; 00160 template<class ContainerAllocator> struct IsMessage< ::launchman::AppUpdate_<ContainerAllocator> const> : public TrueType {}; 00161 template<class ContainerAllocator> 00162 struct MD5Sum< ::launchman::AppUpdate_<ContainerAllocator> > { 00163 static const char* value() 00164 { 00165 return "5798525d2dcbad786f5d5d2c3dfd0cae"; 00166 } 00167 00168 static const char* value(const ::launchman::AppUpdate_<ContainerAllocator> &) { return value(); } 00169 static const uint64_t static_value1 = 0x5798525d2dcbad78ULL; 00170 static const uint64_t static_value2 = 0x6f5d5d2c3dfd0caeULL; 00171 }; 00172 00173 template<class ContainerAllocator> 00174 struct DataType< ::launchman::AppUpdate_<ContainerAllocator> > { 00175 static const char* value() 00176 { 00177 return "launchman/AppUpdate"; 00178 } 00179 00180 static const char* value(const ::launchman::AppUpdate_<ContainerAllocator> &) { return value(); } 00181 }; 00182 00183 template<class ContainerAllocator> 00184 struct Definition< ::launchman::AppUpdate_<ContainerAllocator> > { 00185 static const char* value() 00186 { 00187 return "Header header\n\ 00188 string taskid\n\ 00189 string username\n\ 00190 string status\n\ 00191 time started\n\ 00192 \n\ 00193 ================================================================================\n\ 00194 MSG: std_msgs/Header\n\ 00195 # Standard metadata for higher-level stamped data types.\n\ 00196 # This is generally used to communicate timestamped data \n\ 00197 # in a particular coordinate frame.\n\ 00198 # \n\ 00199 # sequence ID: consecutively increasing ID \n\ 00200 uint32 seq\n\ 00201 #Two-integer timestamp that is expressed as:\n\ 00202 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00203 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00204 # time-handling sugar is provided by the client library\n\ 00205 time stamp\n\ 00206 #Frame this data is associated with\n\ 00207 # 0: no frame\n\ 00208 # 1: global frame\n\ 00209 string frame_id\n\ 00210 \n\ 00211 "; 00212 } 00213 00214 static const char* value(const ::launchman::AppUpdate_<ContainerAllocator> &) { return value(); } 00215 }; 00216 00217 template<class ContainerAllocator> struct HasHeader< ::launchman::AppUpdate_<ContainerAllocator> > : public TrueType {}; 00218 template<class ContainerAllocator> struct HasHeader< const ::launchman::AppUpdate_<ContainerAllocator> > : public TrueType {}; 00219 } // namespace message_traits 00220 } // namespace ros 00221 00222 namespace ros 00223 { 00224 namespace serialization 00225 { 00226 00227 template<class ContainerAllocator> struct Serializer< ::launchman::AppUpdate_<ContainerAllocator> > 00228 { 00229 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00230 { 00231 stream.next(m.header); 00232 stream.next(m.taskid); 00233 stream.next(m.username); 00234 stream.next(m.status); 00235 stream.next(m.started); 00236 } 00237 00238 ROS_DECLARE_ALLINONE_SERIALIZER; 00239 }; // struct AppUpdate_ 00240 } // namespace serialization 00241 } // namespace ros 00242 00243 namespace ros 00244 { 00245 namespace message_operations 00246 { 00247 00248 template<class ContainerAllocator> 00249 struct Printer< ::launchman::AppUpdate_<ContainerAllocator> > 00250 { 00251 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::launchman::AppUpdate_<ContainerAllocator> & v) 00252 { 00253 s << indent << "header: "; 00254 s << std::endl; 00255 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00256 s << indent << "taskid: "; 00257 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.taskid); 00258 s << indent << "username: "; 00259 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.username); 00260 s << indent << "status: "; 00261 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.status); 00262 s << indent << "started: "; 00263 Printer<ros::Time>::stream(s, indent + " ", v.started); 00264 } 00265 }; 00266 00267 00268 } // namespace message_operations 00269 } // namespace ros 00270 00271 #endif // LAUNCHMAN_MESSAGE_APPUPDATE_H 00272