$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-alufr-humanoid_stacks/doc_stacks/2013-03-05_11-28-06.315559/nao_robot/nao_msgs/msg/RunBehaviorGoal.msg */ 00002 #ifndef NAO_MSGS_MESSAGE_RUNBEHAVIORGOAL_H 00003 #define NAO_MSGS_MESSAGE_RUNBEHAVIORGOAL_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 nao_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct RunBehaviorGoal_ { 00022 typedef RunBehaviorGoal_<ContainerAllocator> Type; 00023 00024 RunBehaviorGoal_() 00025 : behavior() 00026 { 00027 } 00028 00029 RunBehaviorGoal_(const ContainerAllocator& _alloc) 00030 : behavior(_alloc) 00031 { 00032 } 00033 00034 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _behavior_type; 00035 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > behavior; 00036 00037 00038 private: 00039 static const char* __s_getDataType_() { return "nao_msgs/RunBehaviorGoal"; } 00040 public: 00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00042 00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00044 00045 private: 00046 static const char* __s_getMD5Sum_() { return "03729983c4b9be7a4f2b56846a7ccbdc"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00049 00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00051 00052 private: 00053 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00054 # Goal [behavior]: name of the behavior to be executed\n\ 00055 # Result [noErrors]: true if behavior finished executing correctly, false otherwise\n\ 00056 # Feedback: none as NaoQI API cannot be queried in this respect\n\ 00057 string behavior\n\ 00058 \n\ 00059 "; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00062 00063 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00064 00065 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00066 { 00067 ros::serialization::OStream stream(write_ptr, 1000000000); 00068 ros::serialization::serialize(stream, behavior); 00069 return stream.getData(); 00070 } 00071 00072 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00073 { 00074 ros::serialization::IStream stream(read_ptr, 1000000000); 00075 ros::serialization::deserialize(stream, behavior); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint32_t serializationLength() const 00080 { 00081 uint32_t size = 0; 00082 size += ros::serialization::serializationLength(behavior); 00083 return size; 00084 } 00085 00086 typedef boost::shared_ptr< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> > Ptr; 00087 typedef boost::shared_ptr< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> const> ConstPtr; 00088 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00089 }; // struct RunBehaviorGoal 00090 typedef ::nao_msgs::RunBehaviorGoal_<std::allocator<void> > RunBehaviorGoal; 00091 00092 typedef boost::shared_ptr< ::nao_msgs::RunBehaviorGoal> RunBehaviorGoalPtr; 00093 typedef boost::shared_ptr< ::nao_msgs::RunBehaviorGoal const> RunBehaviorGoalConstPtr; 00094 00095 00096 template<typename ContainerAllocator> 00097 std::ostream& operator<<(std::ostream& s, const ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> & v) 00098 { 00099 ros::message_operations::Printer< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> >::stream(s, "", v); 00100 return s;} 00101 00102 } // namespace nao_msgs 00103 00104 namespace ros 00105 { 00106 namespace message_traits 00107 { 00108 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> > : public TrueType {}; 00109 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> const> : public TrueType {}; 00110 template<class ContainerAllocator> 00111 struct MD5Sum< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> > { 00112 static const char* value() 00113 { 00114 return "03729983c4b9be7a4f2b56846a7ccbdc"; 00115 } 00116 00117 static const char* value(const ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> &) { return value(); } 00118 static const uint64_t static_value1 = 0x03729983c4b9be7aULL; 00119 static const uint64_t static_value2 = 0x4f2b56846a7ccbdcULL; 00120 }; 00121 00122 template<class ContainerAllocator> 00123 struct DataType< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> > { 00124 static const char* value() 00125 { 00126 return "nao_msgs/RunBehaviorGoal"; 00127 } 00128 00129 static const char* value(const ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> &) { return value(); } 00130 }; 00131 00132 template<class ContainerAllocator> 00133 struct Definition< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> > { 00134 static const char* value() 00135 { 00136 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00137 # Goal [behavior]: name of the behavior to be executed\n\ 00138 # Result [noErrors]: true if behavior finished executing correctly, false otherwise\n\ 00139 # Feedback: none as NaoQI API cannot be queried in this respect\n\ 00140 string behavior\n\ 00141 \n\ 00142 "; 00143 } 00144 00145 static const char* value(const ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> &) { return value(); } 00146 }; 00147 00148 } // namespace message_traits 00149 } // namespace ros 00150 00151 namespace ros 00152 { 00153 namespace serialization 00154 { 00155 00156 template<class ContainerAllocator> struct Serializer< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> > 00157 { 00158 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00159 { 00160 stream.next(m.behavior); 00161 } 00162 00163 ROS_DECLARE_ALLINONE_SERIALIZER; 00164 }; // struct RunBehaviorGoal_ 00165 } // namespace serialization 00166 } // namespace ros 00167 00168 namespace ros 00169 { 00170 namespace message_operations 00171 { 00172 00173 template<class ContainerAllocator> 00174 struct Printer< ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> > 00175 { 00176 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nao_msgs::RunBehaviorGoal_<ContainerAllocator> & v) 00177 { 00178 s << indent << "behavior: "; 00179 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.behavior); 00180 } 00181 }; 00182 00183 00184 } // namespace message_operations 00185 } // namespace ros 00186 00187 #endif // NAO_MSGS_MESSAGE_RUNBEHAVIORGOAL_H 00188