srs_actionGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-srs_public/doc_stacks/2014-01-05_11-35-06.523601/srs_public/srs_decision_making_interface/msg/srs_actionGoal.msg */
00002 #ifndef SRS_DECISION_MAKING_INTERFACE_MESSAGE_SRS_ACTIONGOAL_H
00003 #define SRS_DECISION_MAKING_INTERFACE_MESSAGE_SRS_ACTIONGOAL_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 srs_decision_making_interface
00019 {
00020 template <class ContainerAllocator>
00021 struct srs_actionGoal_ {
00022   typedef srs_actionGoal_<ContainerAllocator> Type;
00023 
00024   srs_actionGoal_()
00025   : action()
00026   , parameter()
00027   , priority(0)
00028   , json_parameters()
00029   {
00030   }
00031 
00032   srs_actionGoal_(const ContainerAllocator& _alloc)
00033   : action(_alloc)
00034   , parameter(_alloc)
00035   , priority(0)
00036   , json_parameters(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _action_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  action;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _parameter_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  parameter;
00045 
00046   typedef uint32_t _priority_type;
00047   uint32_t priority;
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _json_parameters_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  json_parameters;
00051 
00052 
00053   typedef boost::shared_ptr< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct srs_actionGoal
00057 typedef  ::srs_decision_making_interface::srs_actionGoal_<std::allocator<void> > srs_actionGoal;
00058 
00059 typedef boost::shared_ptr< ::srs_decision_making_interface::srs_actionGoal> srs_actionGoalPtr;
00060 typedef boost::shared_ptr< ::srs_decision_making_interface::srs_actionGoal const> srs_actionGoalConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace srs_decision_making_interface
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "17ace6d839845ba28d596f5bde7e89f1";
00082   }
00083 
00084   static const char* value(const  ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x17ace6d839845ba2ULL;
00086   static const uint64_t static_value2 = 0x8d596f5bde7e89f1ULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "srs_decision_making_interface/srs_actionGoal";
00094   }
00095 
00096   static const char* value(const  ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00104 #define the goal, srs_msgs/srs_action[] action_sequence #Specify what action sequence to be applied\n\
00105 string action         # to deprecate, replaced by json_parameters. Kept for backward compatibility\n\
00106 string parameter      # to deprecate, replaced by json_parameters\n\
00107 uint32 priority       # to deprecate\n\
00108 string json_parameters   # new added parameter in json (test by Ze)\n\
00109 # string[] parameters   # to deprecate\n\
00110 \n\
00111 ";
00112   }
00113 
00114   static const char* value(const  ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> &) { return value(); } 
00115 };
00116 
00117 } // namespace message_traits
00118 } // namespace ros
00119 
00120 namespace ros
00121 {
00122 namespace serialization
00123 {
00124 
00125 template<class ContainerAllocator> struct Serializer< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> >
00126 {
00127   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00128   {
00129     stream.next(m.action);
00130     stream.next(m.parameter);
00131     stream.next(m.priority);
00132     stream.next(m.json_parameters);
00133   }
00134 
00135   ROS_DECLARE_ALLINONE_SERIALIZER;
00136 }; // struct srs_actionGoal_
00137 } // namespace serialization
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace message_operations
00143 {
00144 
00145 template<class ContainerAllocator>
00146 struct Printer< ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> >
00147 {
00148   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_decision_making_interface::srs_actionGoal_<ContainerAllocator> & v) 
00149   {
00150     s << indent << "action: ";
00151     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.action);
00152     s << indent << "parameter: ";
00153     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.parameter);
00154     s << indent << "priority: ";
00155     Printer<uint32_t>::stream(s, indent + "  ", v.priority);
00156     s << indent << "json_parameters: ";
00157     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.json_parameters);
00158   }
00159 };
00160 
00161 
00162 } // namespace message_operations
00163 } // namespace ros
00164 
00165 #endif // SRS_DECISION_MAKING_INTERFACE_MESSAGE_SRS_ACTIONGOAL_H
00166 


srs_decision_making_interface
Author(s): renxi
autogenerated on Sun Jan 5 2014 12:07:47