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