Go to the documentation of this file.00001
00002 #ifndef ROBOFRAMENET_MSGS_MESSAGE_FILLEDSEMANTICFRAME_H
00003 #define ROBOFRAMENET_MSGS_MESSAGE_FILLEDSEMANTICFRAME_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 #include "roboframenet_msgs/FilledFrameElement.h"
00018
00019 namespace roboframenet_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct FilledSemanticFrame_ {
00023 typedef FilledSemanticFrame_<ContainerAllocator> Type;
00024
00025 FilledSemanticFrame_()
00026 : name()
00027 , frame_elements()
00028 , action_server_topics()
00029 {
00030 }
00031
00032 FilledSemanticFrame_(const ContainerAllocator& _alloc)
00033 : name(_alloc)
00034 , frame_elements(_alloc)
00035 , action_server_topics(_alloc)
00036 {
00037 }
00038
00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00041
00042 typedef std::vector< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> >::other > _frame_elements_type;
00043 std::vector< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> >::other > frame_elements;
00044
00045 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _action_server_topics_type;
00046 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > action_server_topics;
00047
00048
00049 typedef boost::shared_ptr< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> > Ptr;
00050 typedef boost::shared_ptr< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> const> ConstPtr;
00051 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 };
00053 typedef ::roboframenet_msgs::FilledSemanticFrame_<std::allocator<void> > FilledSemanticFrame;
00054
00055 typedef boost::shared_ptr< ::roboframenet_msgs::FilledSemanticFrame> FilledSemanticFramePtr;
00056 typedef boost::shared_ptr< ::roboframenet_msgs::FilledSemanticFrame const> FilledSemanticFrameConstPtr;
00057
00058
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> & v)
00061 {
00062 ros::message_operations::Printer< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> >::stream(s, "", v);
00063 return s;}
00064
00065 }
00066
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> > {
00075 static const char* value()
00076 {
00077 return "af2ebb4070173b2d608a60ad2d4bb7d7";
00078 }
00079
00080 static const char* value(const ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> &) { return value(); }
00081 static const uint64_t static_value1 = 0xaf2ebb4070173b2dULL;
00082 static const uint64_t static_value2 = 0x608a60ad2d4bb7d7ULL;
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct DataType< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "roboframenet_msgs/FilledSemanticFrame";
00090 }
00091
00092 static const char* value(const ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> &) { return value(); }
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct Definition< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "string name\n\
00100 FilledFrameElement[] frame_elements\n\
00101 string[] action_server_topics\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: roboframenet_msgs/FilledFrameElement\n\
00105 string name # eg object, recipient\n\
00106 string argument # eg apple, bob\n\
00107 \n\
00108 ";
00109 }
00110
00111 static const char* value(const ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> &) { return value(); }
00112 };
00113
00114 }
00115 }
00116
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121
00122 template<class ContainerAllocator> struct Serializer< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> >
00123 {
00124 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125 {
00126 stream.next(m.name);
00127 stream.next(m.frame_elements);
00128 stream.next(m.action_server_topics);
00129 }
00130
00131 ROS_DECLARE_ALLINONE_SERIALIZER;
00132 };
00133 }
00134 }
00135
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140
00141 template<class ContainerAllocator>
00142 struct Printer< ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> >
00143 {
00144 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::roboframenet_msgs::FilledSemanticFrame_<ContainerAllocator> & v)
00145 {
00146 s << indent << "name: ";
00147 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
00148 s << indent << "frame_elements[]" << std::endl;
00149 for (size_t i = 0; i < v.frame_elements.size(); ++i)
00150 {
00151 s << indent << " frame_elements[" << i << "]: ";
00152 s << std::endl;
00153 s << indent;
00154 Printer< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> >::stream(s, indent + " ", v.frame_elements[i]);
00155 }
00156 s << indent << "action_server_topics[]" << std::endl;
00157 for (size_t i = 0; i < v.action_server_topics.size(); ++i)
00158 {
00159 s << indent << " action_server_topics[" << i << "]: ";
00160 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.action_server_topics[i]);
00161 }
00162 }
00163 };
00164
00165
00166 }
00167 }
00168
00169 #endif // ROBOFRAMENET_MSGS_MESSAGE_FILLEDSEMANTICFRAME_H
00170