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