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