Go to the documentation of this file.00001
00002 #ifndef PDDL_MSGS_MESSAGE_PDDLPLANNERRESULT_H
00003 #define PDDL_MSGS_MESSAGE_PDDLPLANNERRESULT_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 "pddl_msgs/PDDLStep.h"
00018
00019 namespace pddl_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PDDLPlannerResult_ {
00023 typedef PDDLPlannerResult_<ContainerAllocator> Type;
00024
00025 PDDLPlannerResult_()
00026 : data()
00027 , sequence()
00028 {
00029 }
00030
00031 PDDLPlannerResult_(const ContainerAllocator& _alloc)
00032 : data(_alloc)
00033 , sequence(_alloc)
00034 {
00035 }
00036
00037 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _data_type;
00038 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > data;
00039
00040 typedef std::vector< ::pddl_msgs::PDDLStep_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pddl_msgs::PDDLStep_<ContainerAllocator> >::other > _sequence_type;
00041 std::vector< ::pddl_msgs::PDDLStep_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pddl_msgs::PDDLStep_<ContainerAllocator> >::other > sequence;
00042
00043
00044 typedef boost::shared_ptr< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::pddl_msgs::PDDLPlannerResult_<std::allocator<void> > PDDLPlannerResult;
00049
00050 typedef boost::shared_ptr< ::pddl_msgs::PDDLPlannerResult> PDDLPlannerResultPtr;
00051 typedef boost::shared_ptr< ::pddl_msgs::PDDLPlannerResult const> PDDLPlannerResultConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> >::stream(s, "", v);
00058 return s;}
00059
00060 }
00061
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "cf11fb9ecdccedc75863b5a28d8a78c1";
00073 }
00074
00075 static const char* value(const ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0xcf11fb9ecdccedc7ULL;
00077 static const uint64_t static_value2 = 0x5863b5a28d8a78c1ULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "pddl_msgs/PDDLPlannerResult";
00085 }
00086
00087 static const char* value(const ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00095 #result\n\
00096 string[] data\n\
00097 pddl_msgs/PDDLStep[] sequence\n\
00098 \n\
00099 ================================================================================\n\
00100 MSG: pddl_msgs/PDDLStep\n\
00101 string action\n\
00102 string[] args\n\
00103 \n\
00104 ";
00105 }
00106
00107 static const char* value(const ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 }
00111 }
00112
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117
00118 template<class ContainerAllocator> struct Serializer< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> >
00119 {
00120 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121 {
00122 stream.next(m.data);
00123 stream.next(m.sequence);
00124 }
00125
00126 ROS_DECLARE_ALLINONE_SERIALIZER;
00127 };
00128 }
00129 }
00130
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135
00136 template<class ContainerAllocator>
00137 struct Printer< ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> >
00138 {
00139 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pddl_msgs::PDDLPlannerResult_<ContainerAllocator> & v)
00140 {
00141 s << indent << "data[]" << std::endl;
00142 for (size_t i = 0; i < v.data.size(); ++i)
00143 {
00144 s << indent << " data[" << i << "]: ";
00145 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.data[i]);
00146 }
00147 s << indent << "sequence[]" << std::endl;
00148 for (size_t i = 0; i < v.sequence.size(); ++i)
00149 {
00150 s << indent << " sequence[" << i << "]: ";
00151 s << std::endl;
00152 s << indent;
00153 Printer< ::pddl_msgs::PDDLStep_<ContainerAllocator> >::stream(s, indent + " ", v.sequence[i]);
00154 }
00155 }
00156 };
00157
00158
00159 }
00160 }
00161
00162 #endif // PDDL_MSGS_MESSAGE_PDDLPLANNERRESULT_H
00163