ScriptGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cob_command_tools/doc_stacks/2013-03-01_17-42-06.051834/cob_command_tools/cob_script_server/msg/ScriptGoal.msg */
00002 #ifndef COB_SCRIPT_SERVER_MESSAGE_SCRIPTGOAL_H
00003 #define COB_SCRIPT_SERVER_MESSAGE_SCRIPTGOAL_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 cob_script_server
00019 {
00020 template <class ContainerAllocator>
00021 struct ScriptGoal_ {
00022   typedef ScriptGoal_<ContainerAllocator> Type;
00023 
00024   ScriptGoal_()
00025   : function_name()
00026   , component_name()
00027   , parameter_name()
00028   , mode()
00029   , service_name()
00030   , duration(0.0)
00031   , planning(false)
00032   {
00033   }
00034 
00035   ScriptGoal_(const ContainerAllocator& _alloc)
00036   : function_name(_alloc)
00037   , component_name(_alloc)
00038   , parameter_name(_alloc)
00039   , mode(_alloc)
00040   , service_name(_alloc)
00041   , duration(0.0)
00042   , planning(false)
00043   {
00044   }
00045 
00046   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _function_name_type;
00047   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  function_name;
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _component_name_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  component_name;
00051 
00052   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _parameter_name_type;
00053   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  parameter_name;
00054 
00055   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _mode_type;
00056   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  mode;
00057 
00058   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _service_name_type;
00059   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  service_name;
00060 
00061   typedef float _duration_type;
00062   float duration;
00063 
00064   typedef uint8_t _planning_type;
00065   uint8_t planning;
00066 
00067 
00068   typedef boost::shared_ptr< ::cob_script_server::ScriptGoal_<ContainerAllocator> > Ptr;
00069   typedef boost::shared_ptr< ::cob_script_server::ScriptGoal_<ContainerAllocator>  const> ConstPtr;
00070   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 }; // struct ScriptGoal
00072 typedef  ::cob_script_server::ScriptGoal_<std::allocator<void> > ScriptGoal;
00073 
00074 typedef boost::shared_ptr< ::cob_script_server::ScriptGoal> ScriptGoalPtr;
00075 typedef boost::shared_ptr< ::cob_script_server::ScriptGoal const> ScriptGoalConstPtr;
00076 
00077 
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const  ::cob_script_server::ScriptGoal_<ContainerAllocator> & v)
00080 {
00081   ros::message_operations::Printer< ::cob_script_server::ScriptGoal_<ContainerAllocator> >::stream(s, "", v);
00082   return s;}
00083 
00084 } // namespace cob_script_server
00085 
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::cob_script_server::ScriptGoal_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::cob_script_server::ScriptGoal_<ContainerAllocator>  const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::cob_script_server::ScriptGoal_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "0a40a194b72e6783b1b8bec8d1c28c7f";
00097   }
00098 
00099   static const char* value(const  ::cob_script_server::ScriptGoal_<ContainerAllocator> &) { return value(); } 
00100   static const uint64_t static_value1 = 0x0a40a194b72e6783ULL;
00101   static const uint64_t static_value2 = 0xb1b8bec8d1c28c7fULL;
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct DataType< ::cob_script_server::ScriptGoal_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "cob_script_server/ScriptGoal";
00109   }
00110 
00111   static const char* value(const  ::cob_script_server::ScriptGoal_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct Definition< ::cob_script_server::ScriptGoal_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00119 #goal definition\n\
00120 string function_name\n\
00121 string component_name\n\
00122 string parameter_name\n\
00123 string mode\n\
00124 string service_name\n\
00125 float32 duration\n\
00126 bool planning\n\
00127 \n\
00128 ";
00129   }
00130 
00131   static const char* value(const  ::cob_script_server::ScriptGoal_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 } // namespace message_traits
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace serialization
00140 {
00141 
00142 template<class ContainerAllocator> struct Serializer< ::cob_script_server::ScriptGoal_<ContainerAllocator> >
00143 {
00144   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00145   {
00146     stream.next(m.function_name);
00147     stream.next(m.component_name);
00148     stream.next(m.parameter_name);
00149     stream.next(m.mode);
00150     stream.next(m.service_name);
00151     stream.next(m.duration);
00152     stream.next(m.planning);
00153   }
00154 
00155   ROS_DECLARE_ALLINONE_SERIALIZER;
00156 }; // struct ScriptGoal_
00157 } // namespace serialization
00158 } // namespace ros
00159 
00160 namespace ros
00161 {
00162 namespace message_operations
00163 {
00164 
00165 template<class ContainerAllocator>
00166 struct Printer< ::cob_script_server::ScriptGoal_<ContainerAllocator> >
00167 {
00168   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::cob_script_server::ScriptGoal_<ContainerAllocator> & v) 
00169   {
00170     s << indent << "function_name: ";
00171     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.function_name);
00172     s << indent << "component_name: ";
00173     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.component_name);
00174     s << indent << "parameter_name: ";
00175     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.parameter_name);
00176     s << indent << "mode: ";
00177     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.mode);
00178     s << indent << "service_name: ";
00179     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.service_name);
00180     s << indent << "duration: ";
00181     Printer<float>::stream(s, indent + "  ", v.duration);
00182     s << indent << "planning: ";
00183     Printer<uint8_t>::stream(s, indent + "  ", v.planning);
00184   }
00185 };
00186 
00187 
00188 } // namespace message_operations
00189 } // namespace ros
00190 
00191 #endif // COB_SCRIPT_SERVER_MESSAGE_SCRIPTGOAL_H
00192 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


cob_script_server
Author(s): Florian Weisshardt
autogenerated on Fri Mar 1 2013 17:45:41