$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-timn/doc_stacks/2013-03-04_12-09-16.168757/skiller/msg/Graph.msg */ 00002 #ifndef SKILLER_MESSAGE_GRAPH_H 00003 #define SKILLER_MESSAGE_GRAPH_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 skiller 00019 { 00020 template <class ContainerAllocator> 00021 struct Graph_ { 00022 typedef Graph_<ContainerAllocator> Type; 00023 00024 Graph_() 00025 : stamp() 00026 , name() 00027 , dotgraph() 00028 , direction(0) 00029 , colored(false) 00030 { 00031 } 00032 00033 Graph_(const ContainerAllocator& _alloc) 00034 : stamp() 00035 , name(_alloc) 00036 , dotgraph(_alloc) 00037 , direction(0) 00038 , colored(false) 00039 { 00040 } 00041 00042 typedef ros::Time _stamp_type; 00043 ros::Time stamp; 00044 00045 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type; 00046 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name; 00047 00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _dotgraph_type; 00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > dotgraph; 00050 00051 typedef int8_t _direction_type; 00052 int8_t direction; 00053 00054 typedef uint8_t _colored_type; 00055 uint8_t colored; 00056 00057 enum { GRAPH_DIR_LEFT_RIGHT = 1 }; 00058 enum { GRAPH_DIR_RIGHT_LEFT = 2 }; 00059 enum { GRAPH_DIR_TOP_BOTTOM = 3 }; 00060 enum { GRAPH_DIR_BOTTOM_TOP = 4 }; 00061 00062 private: 00063 static const char* __s_getDataType_() { return "skiller/Graph"; } 00064 public: 00065 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00066 00067 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00068 00069 private: 00070 static const char* __s_getMD5Sum_() { return "743f1a12ac34ba3b239c8646ca763b86"; } 00071 public: 00072 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00073 00074 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00075 00076 private: 00077 static const char* __s_getMessageDefinition_() { return "byte GRAPH_DIR_LEFT_RIGHT = 1\n\ 00078 byte GRAPH_DIR_RIGHT_LEFT = 2\n\ 00079 byte GRAPH_DIR_TOP_BOTTOM = 3\n\ 00080 byte GRAPH_DIR_BOTTOM_TOP = 4\n\ 00081 time stamp\n\ 00082 string name\n\ 00083 string dotgraph\n\ 00084 byte direction\n\ 00085 bool colored\n\ 00086 \n\ 00087 "; } 00088 public: 00089 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00090 00091 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00092 00093 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00094 { 00095 ros::serialization::OStream stream(write_ptr, 1000000000); 00096 ros::serialization::serialize(stream, stamp); 00097 ros::serialization::serialize(stream, name); 00098 ros::serialization::serialize(stream, dotgraph); 00099 ros::serialization::serialize(stream, direction); 00100 ros::serialization::serialize(stream, colored); 00101 return stream.getData(); 00102 } 00103 00104 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00105 { 00106 ros::serialization::IStream stream(read_ptr, 1000000000); 00107 ros::serialization::deserialize(stream, stamp); 00108 ros::serialization::deserialize(stream, name); 00109 ros::serialization::deserialize(stream, dotgraph); 00110 ros::serialization::deserialize(stream, direction); 00111 ros::serialization::deserialize(stream, colored); 00112 return stream.getData(); 00113 } 00114 00115 ROS_DEPRECATED virtual uint32_t serializationLength() const 00116 { 00117 uint32_t size = 0; 00118 size += ros::serialization::serializationLength(stamp); 00119 size += ros::serialization::serializationLength(name); 00120 size += ros::serialization::serializationLength(dotgraph); 00121 size += ros::serialization::serializationLength(direction); 00122 size += ros::serialization::serializationLength(colored); 00123 return size; 00124 } 00125 00126 typedef boost::shared_ptr< ::skiller::Graph_<ContainerAllocator> > Ptr; 00127 typedef boost::shared_ptr< ::skiller::Graph_<ContainerAllocator> const> ConstPtr; 00128 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00129 }; // struct Graph 00130 typedef ::skiller::Graph_<std::allocator<void> > Graph; 00131 00132 typedef boost::shared_ptr< ::skiller::Graph> GraphPtr; 00133 typedef boost::shared_ptr< ::skiller::Graph const> GraphConstPtr; 00134 00135 00136 template<typename ContainerAllocator> 00137 std::ostream& operator<<(std::ostream& s, const ::skiller::Graph_<ContainerAllocator> & v) 00138 { 00139 ros::message_operations::Printer< ::skiller::Graph_<ContainerAllocator> >::stream(s, "", v); 00140 return s;} 00141 00142 } // namespace skiller 00143 00144 namespace ros 00145 { 00146 namespace message_traits 00147 { 00148 template<class ContainerAllocator> struct IsMessage< ::skiller::Graph_<ContainerAllocator> > : public TrueType {}; 00149 template<class ContainerAllocator> struct IsMessage< ::skiller::Graph_<ContainerAllocator> const> : public TrueType {}; 00150 template<class ContainerAllocator> 00151 struct MD5Sum< ::skiller::Graph_<ContainerAllocator> > { 00152 static const char* value() 00153 { 00154 return "743f1a12ac34ba3b239c8646ca763b86"; 00155 } 00156 00157 static const char* value(const ::skiller::Graph_<ContainerAllocator> &) { return value(); } 00158 static const uint64_t static_value1 = 0x743f1a12ac34ba3bULL; 00159 static const uint64_t static_value2 = 0x239c8646ca763b86ULL; 00160 }; 00161 00162 template<class ContainerAllocator> 00163 struct DataType< ::skiller::Graph_<ContainerAllocator> > { 00164 static const char* value() 00165 { 00166 return "skiller/Graph"; 00167 } 00168 00169 static const char* value(const ::skiller::Graph_<ContainerAllocator> &) { return value(); } 00170 }; 00171 00172 template<class ContainerAllocator> 00173 struct Definition< ::skiller::Graph_<ContainerAllocator> > { 00174 static const char* value() 00175 { 00176 return "byte GRAPH_DIR_LEFT_RIGHT = 1\n\ 00177 byte GRAPH_DIR_RIGHT_LEFT = 2\n\ 00178 byte GRAPH_DIR_TOP_BOTTOM = 3\n\ 00179 byte GRAPH_DIR_BOTTOM_TOP = 4\n\ 00180 time stamp\n\ 00181 string name\n\ 00182 string dotgraph\n\ 00183 byte direction\n\ 00184 bool colored\n\ 00185 \n\ 00186 "; 00187 } 00188 00189 static const char* value(const ::skiller::Graph_<ContainerAllocator> &) { return value(); } 00190 }; 00191 00192 } // namespace message_traits 00193 } // namespace ros 00194 00195 namespace ros 00196 { 00197 namespace serialization 00198 { 00199 00200 template<class ContainerAllocator> struct Serializer< ::skiller::Graph_<ContainerAllocator> > 00201 { 00202 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00203 { 00204 stream.next(m.stamp); 00205 stream.next(m.name); 00206 stream.next(m.dotgraph); 00207 stream.next(m.direction); 00208 stream.next(m.colored); 00209 } 00210 00211 ROS_DECLARE_ALLINONE_SERIALIZER; 00212 }; // struct Graph_ 00213 } // namespace serialization 00214 } // namespace ros 00215 00216 namespace ros 00217 { 00218 namespace message_operations 00219 { 00220 00221 template<class ContainerAllocator> 00222 struct Printer< ::skiller::Graph_<ContainerAllocator> > 00223 { 00224 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::skiller::Graph_<ContainerAllocator> & v) 00225 { 00226 s << indent << "stamp: "; 00227 Printer<ros::Time>::stream(s, indent + " ", v.stamp); 00228 s << indent << "name: "; 00229 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name); 00230 s << indent << "dotgraph: "; 00231 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.dotgraph); 00232 s << indent << "direction: "; 00233 Printer<int8_t>::stream(s, indent + " ", v.direction); 00234 s << indent << "colored: "; 00235 Printer<uint8_t>::stream(s, indent + " ", v.colored); 00236 } 00237 }; 00238 00239 00240 } // namespace message_operations 00241 } // namespace ros 00242 00243 #endif // SKILLER_MESSAGE_GRAPH_H 00244