Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::launchman::AppUpdate_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::launchman::AppUpdate_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::launchman::AppUpdate_<std::allocator<void> > AppUpdate;
00064
00065 typedef boost::shared_ptr< ::launchman::AppUpdate> AppUpdatePtr;
00066 typedef boost::shared_ptr< ::launchman::AppUpdate const> AppUpdateConstPtr;
00067
00068
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const ::launchman::AppUpdate_<ContainerAllocator> & v)
00071 {
00072 ros::message_operations::Printer< ::launchman::AppUpdate_<ContainerAllocator> >::stream(s, "", v);
00073 return s;}
00074
00075 }
00076
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::launchman::AppUpdate_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::launchman::AppUpdate_<ContainerAllocator> const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::launchman::AppUpdate_<ContainerAllocator> > {
00085 static const char* value()
00086 {
00087 return "5798525d2dcbad786f5d5d2c3dfd0cae";
00088 }
00089
00090 static const char* value(const ::launchman::AppUpdate_<ContainerAllocator> &) { return value(); }
00091 static const uint64_t static_value1 = 0x5798525d2dcbad78ULL;
00092 static const uint64_t static_value2 = 0x6f5d5d2c3dfd0caeULL;
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct DataType< ::launchman::AppUpdate_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "launchman/AppUpdate";
00100 }
00101
00102 static const char* value(const ::launchman::AppUpdate_<ContainerAllocator> &) { return value(); }
00103 };
00104
00105 template<class ContainerAllocator>
00106 struct Definition< ::launchman::AppUpdate_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "Header header\n\
00110 string taskid\n\
00111 string username\n\
00112 string status\n\
00113 time started\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: std_msgs/Header\n\
00117 # Standard metadata for higher-level stamped data types.\n\
00118 # This is generally used to communicate timestamped data \n\
00119 # in a particular coordinate frame.\n\
00120 # \n\
00121 # sequence ID: consecutively increasing ID \n\
00122 uint32 seq\n\
00123 #Two-integer timestamp that is expressed as:\n\
00124 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00125 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00126 # time-handling sugar is provided by the client library\n\
00127 time stamp\n\
00128 #Frame this data is associated with\n\
00129 # 0: no frame\n\
00130 # 1: global frame\n\
00131 string frame_id\n\
00132 \n\
00133 ";
00134 }
00135
00136 static const char* value(const ::launchman::AppUpdate_<ContainerAllocator> &) { return value(); }
00137 };
00138
00139 template<class ContainerAllocator> struct HasHeader< ::launchman::AppUpdate_<ContainerAllocator> > : public TrueType {};
00140 template<class ContainerAllocator> struct HasHeader< const ::launchman::AppUpdate_<ContainerAllocator> > : public TrueType {};
00141 }
00142 }
00143
00144 namespace ros
00145 {
00146 namespace serialization
00147 {
00148
00149 template<class ContainerAllocator> struct Serializer< ::launchman::AppUpdate_<ContainerAllocator> >
00150 {
00151 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00152 {
00153 stream.next(m.header);
00154 stream.next(m.taskid);
00155 stream.next(m.username);
00156 stream.next(m.status);
00157 stream.next(m.started);
00158 }
00159
00160 ROS_DECLARE_ALLINONE_SERIALIZER;
00161 };
00162 }
00163 }
00164
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169
00170 template<class ContainerAllocator>
00171 struct Printer< ::launchman::AppUpdate_<ContainerAllocator> >
00172 {
00173 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::launchman::AppUpdate_<ContainerAllocator> & v)
00174 {
00175 s << indent << "header: ";
00176 s << std::endl;
00177 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00178 s << indent << "taskid: ";
00179 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.taskid);
00180 s << indent << "username: ";
00181 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.username);
00182 s << indent << "status: ";
00183 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.status);
00184 s << indent << "started: ";
00185 Printer<ros::Time>::stream(s, indent + " ", v.started);
00186 }
00187 };
00188
00189
00190 }
00191 }
00192
00193 #endif // LAUNCHMAN_MESSAGE_APPUPDATE_H
00194