Go to the documentation of this file.00001
00002 #ifndef PDDL_MSGS_MESSAGE_PDDLPLANNERGOAL_H
00003 #define PDDL_MSGS_MESSAGE_PDDLPLANNERGOAL_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/PDDLDomain.h"
00018 #include "pddl_msgs/PDDLProblem.h"
00019
00020 namespace pddl_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PDDLPlannerGoal_ {
00024 typedef PDDLPlannerGoal_<ContainerAllocator> Type;
00025
00026 PDDLPlannerGoal_()
00027 : domain()
00028 , problem()
00029 {
00030 }
00031
00032 PDDLPlannerGoal_(const ContainerAllocator& _alloc)
00033 : domain(_alloc)
00034 , problem(_alloc)
00035 {
00036 }
00037
00038 typedef ::pddl_msgs::PDDLDomain_<ContainerAllocator> _domain_type;
00039 ::pddl_msgs::PDDLDomain_<ContainerAllocator> domain;
00040
00041 typedef ::pddl_msgs::PDDLProblem_<ContainerAllocator> _problem_type;
00042 ::pddl_msgs::PDDLProblem_<ContainerAllocator> problem;
00043
00044
00045 typedef boost::shared_ptr< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::pddl_msgs::PDDLPlannerGoal_<std::allocator<void> > PDDLPlannerGoal;
00050
00051 typedef boost::shared_ptr< ::pddl_msgs::PDDLPlannerGoal> PDDLPlannerGoalPtr;
00052 typedef boost::shared_ptr< ::pddl_msgs::PDDLPlannerGoal const> PDDLPlannerGoalConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "1b6744544ce1b562f4623a7875bbcad2";
00074 }
00075
00076 static const char* value(const ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0x1b6744544ce1b562ULL;
00078 static const uint64_t static_value2 = 0xf4623a7875bbcad2ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "pddl_msgs/PDDLPlannerGoal";
00086 }
00087
00088 static const char* value(const ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00096 # goal\n\
00097 pddl_msgs/PDDLDomain domain\n\
00098 pddl_msgs/PDDLProblem problem\n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: pddl_msgs/PDDLDomain\n\
00102 string name\n\
00103 string requirements\n\
00104 string[] types\n\
00105 string[] constants\n\
00106 string[] predicates\n\
00107 pddl_msgs/PDDLAction[] actions\n\
00108 string[] functions\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: pddl_msgs/PDDLAction\n\
00112 string name\n\
00113 # write String in S expression like \"(and foo var)\"\n\
00114 string parameters\n\
00115 string precondition\n\
00116 string effect\n\
00117 string on_condition\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: pddl_msgs/PDDLProblem\n\
00121 string name # name of problem\n\
00122 string domain # name of domain to use\n\
00123 pddl_msgs/PDDLObject[] objects # how to represent type?\n\
00124 string[] initial # initial condition\n\
00125 string goal # goal conjunction\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: pddl_msgs/PDDLObject\n\
00129 # definition of PDDLObject\n\
00130 string name\n\
00131 string type\n\
00132 \n\
00133 ";
00134 }
00135
00136 static const char* value(const ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> &) { return value(); }
00137 };
00138
00139 }
00140 }
00141
00142 namespace ros
00143 {
00144 namespace serialization
00145 {
00146
00147 template<class ContainerAllocator> struct Serializer< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> >
00148 {
00149 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00150 {
00151 stream.next(m.domain);
00152 stream.next(m.problem);
00153 }
00154
00155 ROS_DECLARE_ALLINONE_SERIALIZER;
00156 };
00157 }
00158 }
00159
00160 namespace ros
00161 {
00162 namespace message_operations
00163 {
00164
00165 template<class ContainerAllocator>
00166 struct Printer< ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> >
00167 {
00168 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pddl_msgs::PDDLPlannerGoal_<ContainerAllocator> & v)
00169 {
00170 s << indent << "domain: ";
00171 s << std::endl;
00172 Printer< ::pddl_msgs::PDDLDomain_<ContainerAllocator> >::stream(s, indent + " ", v.domain);
00173 s << indent << "problem: ";
00174 s << std::endl;
00175 Printer< ::pddl_msgs::PDDLProblem_<ContainerAllocator> >::stream(s, indent + " ", v.problem);
00176 }
00177 };
00178
00179
00180 }
00181 }
00182
00183 #endif // PDDL_MSGS_MESSAGE_PDDLPLANNERGOAL_H
00184