ContinualPlanningStatus.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-symbolic_planning/doc_stacks/2013-01-22_12-19-25.056281/symbolic_planning/continual_planning_executive/msg/ContinualPlanningStatus.msg */
00002 #ifndef CONTINUAL_PLANNING_EXECUTIVE_MESSAGE_CONTINUALPLANNINGSTATUS_H
00003 #define CONTINUAL_PLANNING_EXECUTIVE_MESSAGE_CONTINUALPLANNINGSTATUS_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 continual_planning_executive
00019 {
00020 template <class ContainerAllocator>
00021 struct ContinualPlanningStatus_ {
00022   typedef ContinualPlanningStatus_<ContainerAllocator> Type;
00023 
00024   ContinualPlanningStatus_()
00025   : component(0)
00026   , status(0)
00027   , description()
00028   {
00029   }
00030 
00031   ContinualPlanningStatus_(const ContainerAllocator& _alloc)
00032   : component(0)
00033   , status(0)
00034   , description(_alloc)
00035   {
00036   }
00037 
00038   typedef int32_t _component_type;
00039   int32_t component;
00040 
00041   typedef int32_t _status_type;
00042   int32_t status;
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _description_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  description;
00046 
00047   enum { INACTIVE = 1 };
00048   enum { ACTIVE = 2 };
00049   enum { SUCCESS = 3 };
00050   enum { FAILURE = 4 };
00051   enum { STATE_ESTIMATION = 1 };
00052   enum { MONITORING = 2 };
00053   enum { PLANNING = 3 };
00054   enum { EXECUTION = 4 };
00055   enum { CURRENT_PLAN = 5 };
00056   enum { CONTINUAL_PLANNING_FINISHED = 6 };
00057 
00058   typedef boost::shared_ptr< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct ContinualPlanningStatus
00062 typedef  ::continual_planning_executive::ContinualPlanningStatus_<std::allocator<void> > ContinualPlanningStatus;
00063 
00064 typedef boost::shared_ptr< ::continual_planning_executive::ContinualPlanningStatus> ContinualPlanningStatusPtr;
00065 typedef boost::shared_ptr< ::continual_planning_executive::ContinualPlanningStatus const> ContinualPlanningStatusConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace continual_planning_executive
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "7c0eff5f5a1a3551df35a190be9ce7ed";
00087   }
00088 
00089   static const char* value(const  ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0x7c0eff5f5a1a3551ULL;
00091   static const uint64_t static_value2 = 0xdf35a190be9ce7edULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "continual_planning_executive/ContinualPlanningStatus";
00099   }
00100 
00101   static const char* value(const  ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "# 0/uninitialized is invalid\n\
00109 int32 INACTIVE=1\n\
00110 int32 ACTIVE=2\n\
00111 int32 SUCCESS=3\n\
00112 int32 FAILURE=4\n\
00113 \n\
00114 int32 STATE_ESTIMATION=1\n\
00115 int32 MONITORING=2\n\
00116 int32 PLANNING=3\n\
00117 int32 EXECUTION=4\n\
00118 int32 CURRENT_PLAN=5\n\
00119 int32 CONTINUAL_PLANNING_FINISHED=6\n\
00120 \n\
00121 int32 component\n\
00122 int32 status\n\
00123 string description\n\
00124 \n\
00125 \n\
00126 ";
00127   }
00128 
00129   static const char* value(const  ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 } // namespace message_traits
00133 } // namespace ros
00134 
00135 namespace ros
00136 {
00137 namespace serialization
00138 {
00139 
00140 template<class ContainerAllocator> struct Serializer< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> >
00141 {
00142   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00143   {
00144     stream.next(m.component);
00145     stream.next(m.status);
00146     stream.next(m.description);
00147   }
00148 
00149   ROS_DECLARE_ALLINONE_SERIALIZER;
00150 }; // struct ContinualPlanningStatus_
00151 } // namespace serialization
00152 } // namespace ros
00153 
00154 namespace ros
00155 {
00156 namespace message_operations
00157 {
00158 
00159 template<class ContainerAllocator>
00160 struct Printer< ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> >
00161 {
00162   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::continual_planning_executive::ContinualPlanningStatus_<ContainerAllocator> & v) 
00163   {
00164     s << indent << "component: ";
00165     Printer<int32_t>::stream(s, indent + "  ", v.component);
00166     s << indent << "status: ";
00167     Printer<int32_t>::stream(s, indent + "  ", v.status);
00168     s << indent << "description: ";
00169     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.description);
00170   }
00171 };
00172 
00173 
00174 } // namespace message_operations
00175 } // namespace ros
00176 
00177 #endif // CONTINUAL_PLANNING_EXECUTIVE_MESSAGE_CONTINUALPLANNINGSTATUS_H
00178 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


continual_planning_executive
Author(s): Christian Dornhege
autogenerated on Tue Jan 22 2013 12:24:43