$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-arm_navigation/doc_stacks/2013-03-01_14-05-03.553953/arm_navigation/ompl_ros_interface/msg/OmplPlannerDiagnostics.msg */ 00002 #ifndef OMPL_ROS_INTERFACE_MESSAGE_OMPLPLANNERDIAGNOSTICS_H 00003 #define OMPL_ROS_INTERFACE_MESSAGE_OMPLPLANNERDIAGNOSTICS_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 00018 namespace ompl_ros_interface 00019 { 00020 template <class ContainerAllocator> 00021 struct OmplPlannerDiagnostics_ { 00022 typedef OmplPlannerDiagnostics_<ContainerAllocator> Type; 00023 00024 OmplPlannerDiagnostics_() 00025 : summary() 00026 , group() 00027 , planner() 00028 , result() 00029 , planning_time(0.0) 00030 , trajectory_size(0) 00031 , trajectory_duration(0.0) 00032 , state_allocator_size(0) 00033 { 00034 } 00035 00036 OmplPlannerDiagnostics_(const ContainerAllocator& _alloc) 00037 : summary(_alloc) 00038 , group(_alloc) 00039 , planner(_alloc) 00040 , result(_alloc) 00041 , planning_time(0.0) 00042 , trajectory_size(0) 00043 , trajectory_duration(0.0) 00044 , state_allocator_size(0) 00045 { 00046 } 00047 00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _summary_type; 00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > summary; 00050 00051 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _group_type; 00052 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > group; 00053 00054 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _planner_type; 00055 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > planner; 00056 00057 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _result_type; 00058 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > result; 00059 00060 typedef double _planning_time_type; 00061 double planning_time; 00062 00063 typedef int32_t _trajectory_size_type; 00064 int32_t trajectory_size; 00065 00066 typedef double _trajectory_duration_type; 00067 double trajectory_duration; 00068 00069 typedef int32_t _state_allocator_size_type; 00070 int32_t state_allocator_size; 00071 00072 00073 private: 00074 static const char* __s_getDataType_() { return "ompl_ros_interface/OmplPlannerDiagnostics"; } 00075 public: 00076 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00077 00078 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00079 00080 private: 00081 static const char* __s_getMD5Sum_() { return "5b3711264bf69e94abcd2caafc0c541d"; } 00082 public: 00083 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00084 00085 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00086 00087 private: 00088 static const char* __s_getMessageDefinition_() { return "string summary\n\ 00089 string group\n\ 00090 string planner\n\ 00091 string result\n\ 00092 float64 planning_time\n\ 00093 int32 trajectory_size\n\ 00094 float64 trajectory_duration\n\ 00095 int32 state_allocator_size\n\ 00096 \n\ 00097 "; } 00098 public: 00099 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00100 00101 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00102 00103 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00104 { 00105 ros::serialization::OStream stream(write_ptr, 1000000000); 00106 ros::serialization::serialize(stream, summary); 00107 ros::serialization::serialize(stream, group); 00108 ros::serialization::serialize(stream, planner); 00109 ros::serialization::serialize(stream, result); 00110 ros::serialization::serialize(stream, planning_time); 00111 ros::serialization::serialize(stream, trajectory_size); 00112 ros::serialization::serialize(stream, trajectory_duration); 00113 ros::serialization::serialize(stream, state_allocator_size); 00114 return stream.getData(); 00115 } 00116 00117 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00118 { 00119 ros::serialization::IStream stream(read_ptr, 1000000000); 00120 ros::serialization::deserialize(stream, summary); 00121 ros::serialization::deserialize(stream, group); 00122 ros::serialization::deserialize(stream, planner); 00123 ros::serialization::deserialize(stream, result); 00124 ros::serialization::deserialize(stream, planning_time); 00125 ros::serialization::deserialize(stream, trajectory_size); 00126 ros::serialization::deserialize(stream, trajectory_duration); 00127 ros::serialization::deserialize(stream, state_allocator_size); 00128 return stream.getData(); 00129 } 00130 00131 ROS_DEPRECATED virtual uint32_t serializationLength() const 00132 { 00133 uint32_t size = 0; 00134 size += ros::serialization::serializationLength(summary); 00135 size += ros::serialization::serializationLength(group); 00136 size += ros::serialization::serializationLength(planner); 00137 size += ros::serialization::serializationLength(result); 00138 size += ros::serialization::serializationLength(planning_time); 00139 size += ros::serialization::serializationLength(trajectory_size); 00140 size += ros::serialization::serializationLength(trajectory_duration); 00141 size += ros::serialization::serializationLength(state_allocator_size); 00142 return size; 00143 } 00144 00145 typedef boost::shared_ptr< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> > Ptr; 00146 typedef boost::shared_ptr< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> const> ConstPtr; 00147 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00148 }; // struct OmplPlannerDiagnostics 00149 typedef ::ompl_ros_interface::OmplPlannerDiagnostics_<std::allocator<void> > OmplPlannerDiagnostics; 00150 00151 typedef boost::shared_ptr< ::ompl_ros_interface::OmplPlannerDiagnostics> OmplPlannerDiagnosticsPtr; 00152 typedef boost::shared_ptr< ::ompl_ros_interface::OmplPlannerDiagnostics const> OmplPlannerDiagnosticsConstPtr; 00153 00154 00155 template<typename ContainerAllocator> 00156 std::ostream& operator<<(std::ostream& s, const ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> & v) 00157 { 00158 ros::message_operations::Printer< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> >::stream(s, "", v); 00159 return s;} 00160 00161 } // namespace ompl_ros_interface 00162 00163 namespace ros 00164 { 00165 namespace message_traits 00166 { 00167 template<class ContainerAllocator> struct IsMessage< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> > : public TrueType {}; 00168 template<class ContainerAllocator> struct IsMessage< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> const> : public TrueType {}; 00169 template<class ContainerAllocator> 00170 struct MD5Sum< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> > { 00171 static const char* value() 00172 { 00173 return "5b3711264bf69e94abcd2caafc0c541d"; 00174 } 00175 00176 static const char* value(const ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> &) { return value(); } 00177 static const uint64_t static_value1 = 0x5b3711264bf69e94ULL; 00178 static const uint64_t static_value2 = 0xabcd2caafc0c541dULL; 00179 }; 00180 00181 template<class ContainerAllocator> 00182 struct DataType< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> > { 00183 static const char* value() 00184 { 00185 return "ompl_ros_interface/OmplPlannerDiagnostics"; 00186 } 00187 00188 static const char* value(const ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> &) { return value(); } 00189 }; 00190 00191 template<class ContainerAllocator> 00192 struct Definition< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> > { 00193 static const char* value() 00194 { 00195 return "string summary\n\ 00196 string group\n\ 00197 string planner\n\ 00198 string result\n\ 00199 float64 planning_time\n\ 00200 int32 trajectory_size\n\ 00201 float64 trajectory_duration\n\ 00202 int32 state_allocator_size\n\ 00203 \n\ 00204 "; 00205 } 00206 00207 static const char* value(const ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> &) { return value(); } 00208 }; 00209 00210 } // namespace message_traits 00211 } // namespace ros 00212 00213 namespace ros 00214 { 00215 namespace serialization 00216 { 00217 00218 template<class ContainerAllocator> struct Serializer< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> > 00219 { 00220 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00221 { 00222 stream.next(m.summary); 00223 stream.next(m.group); 00224 stream.next(m.planner); 00225 stream.next(m.result); 00226 stream.next(m.planning_time); 00227 stream.next(m.trajectory_size); 00228 stream.next(m.trajectory_duration); 00229 stream.next(m.state_allocator_size); 00230 } 00231 00232 ROS_DECLARE_ALLINONE_SERIALIZER; 00233 }; // struct OmplPlannerDiagnostics_ 00234 } // namespace serialization 00235 } // namespace ros 00236 00237 namespace ros 00238 { 00239 namespace message_operations 00240 { 00241 00242 template<class ContainerAllocator> 00243 struct Printer< ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> > 00244 { 00245 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ompl_ros_interface::OmplPlannerDiagnostics_<ContainerAllocator> & v) 00246 { 00247 s << indent << "summary: "; 00248 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.summary); 00249 s << indent << "group: "; 00250 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.group); 00251 s << indent << "planner: "; 00252 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.planner); 00253 s << indent << "result: "; 00254 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.result); 00255 s << indent << "planning_time: "; 00256 Printer<double>::stream(s, indent + " ", v.planning_time); 00257 s << indent << "trajectory_size: "; 00258 Printer<int32_t>::stream(s, indent + " ", v.trajectory_size); 00259 s << indent << "trajectory_duration: "; 00260 Printer<double>::stream(s, indent + " ", v.trajectory_duration); 00261 s << indent << "state_allocator_size: "; 00262 Printer<int32_t>::stream(s, indent + " ", v.state_allocator_size); 00263 } 00264 }; 00265 00266 00267 } // namespace message_operations 00268 } // namespace ros 00269 00270 #endif // OMPL_ROS_INTERFACE_MESSAGE_OMPLPLANNERDIAGNOSTICS_H 00271