Go to the documentation of this file.00001
00002 #ifndef ROBOFRAMENET_MSGS_MESSAGE_EMPTYFRAMEELEMENT_H
00003 #define ROBOFRAMENET_MSGS_MESSAGE_EMPTYFRAMEELEMENT_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 roboframenet_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct EmptyFrameElement_ {
00022 typedef EmptyFrameElement_<ContainerAllocator> Type;
00023
00024 EmptyFrameElement_()
00025 : name()
00026 , default()
00027 , is_core(false)
00028 {
00029 }
00030
00031 EmptyFrameElement_(const ContainerAllocator& _alloc)
00032 : name(_alloc)
00033 , default(_alloc)
00034 , is_core(false)
00035 {
00036 }
00037
00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00040
00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _default_type;
00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > default;
00043
00044 typedef uint8_t _is_core_type;
00045 uint8_t is_core;
00046
00047
00048 typedef boost::shared_ptr< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::roboframenet_msgs::EmptyFrameElement_<std::allocator<void> > EmptyFrameElement;
00053
00054 typedef boost::shared_ptr< ::roboframenet_msgs::EmptyFrameElement> EmptyFrameElementPtr;
00055 typedef boost::shared_ptr< ::roboframenet_msgs::EmptyFrameElement const> EmptyFrameElementConstPtr;
00056
00057
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> & v)
00060 {
00061 ros::message_operations::Printer< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> >::stream(s, "", v);
00062 return s;}
00063
00064 }
00065
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> > {
00074 static const char* value()
00075 {
00076 return "a29b0317b8ca9f43f3140ecb78df89fc";
00077 }
00078
00079 static const char* value(const ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> &) { return value(); }
00080 static const uint64_t static_value1 = 0xa29b0317b8ca9f43ULL;
00081 static const uint64_t static_value2 = 0xf3140ecb78df89fcULL;
00082 };
00083
00084 template<class ContainerAllocator>
00085 struct DataType< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> > {
00086 static const char* value()
00087 {
00088 return "roboframenet_msgs/EmptyFrameElement";
00089 }
00090
00091 static const char* value(const ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> &) { return value(); }
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct Definition< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "string name # eg object, recipient\n\
00099 string default\n\
00100 bool is_core\n\
00101 \n\
00102 ";
00103 }
00104
00105 static const char* value(const ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> &) { return value(); }
00106 };
00107
00108 }
00109 }
00110
00111 namespace ros
00112 {
00113 namespace serialization
00114 {
00115
00116 template<class ContainerAllocator> struct Serializer< ::roboframenet_msgs::EmptyFrameElement_<ContainerAllocator> >
00117 {
00118 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00119 {
00120 stream.next(m.name);
00121 stream.next(m.default);
00122 stream.next(m.is_core);
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::EmptyFrameElement_<ContainerAllocator> >
00137 {
00138 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::roboframenet_msgs::EmptyFrameElement_<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 << "default: ";
00143 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.default);
00144 s << indent << "is_core: ";
00145 Printer<uint8_t>::stream(s, indent + " ", v.is_core);
00146 }
00147 };
00148
00149
00150 }
00151 }
00152
00153 #endif // ROBOFRAMENET_MSGS_MESSAGE_EMPTYFRAMEELEMENT_H
00154