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