VisualizationScene.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-bosch_web_visualization/doc_stacks/2014-01-03_11-08-48.765440/bosch_web_visualization/wviz_scene_manager/msg/VisualizationScene.msg */
00002 #ifndef WVIZ_SCENE_MANAGER_MESSAGE_VISUALIZATIONSCENE_H
00003 #define WVIZ_SCENE_MANAGER_MESSAGE_VISUALIZATIONSCENE_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 "std_msgs/Header.h"
00018 #include "visualization_msgs/Marker.h"
00019 
00020 namespace wviz_scene_manager
00021 {
00022 template <class ContainerAllocator>
00023 struct VisualizationScene_ {
00024   typedef VisualizationScene_<ContainerAllocator> Type;
00025 
00026   VisualizationScene_()
00027   : header()
00028   , markers()
00029   {
00030   }
00031 
00032   VisualizationScene_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , markers(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::visualization_msgs::Marker_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::visualization_msgs::Marker_<ContainerAllocator> >::other >  _markers_type;
00042   std::vector< ::visualization_msgs::Marker_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::visualization_msgs::Marker_<ContainerAllocator> >::other >  markers;
00043 
00044 
00045   typedef boost::shared_ptr< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct VisualizationScene
00049 typedef  ::wviz_scene_manager::VisualizationScene_<std::allocator<void> > VisualizationScene;
00050 
00051 typedef boost::shared_ptr< ::wviz_scene_manager::VisualizationScene> VisualizationScenePtr;
00052 typedef boost::shared_ptr< ::wviz_scene_manager::VisualizationScene const> VisualizationSceneConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace wviz_scene_manager
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "ab57d47edff452531445e00c02fa365f";
00074   }
00075 
00076   static const char* value(const  ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xab57d47edff45253ULL;
00078   static const uint64_t static_value2 = 0x1445e00c02fa365fULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "wviz_scene_manager/VisualizationScene";
00086   }
00087 
00088   static const char* value(const  ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 visualization_msgs/Marker[] markers\n\
00097 ================================================================================\n\
00098 MSG: std_msgs/Header\n\
00099 # Standard metadata for higher-level stamped data types.\n\
00100 # This is generally used to communicate timestamped data \n\
00101 # in a particular coordinate frame.\n\
00102 # \n\
00103 # sequence ID: consecutively increasing ID \n\
00104 uint32 seq\n\
00105 #Two-integer timestamp that is expressed as:\n\
00106 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00107 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00108 # time-handling sugar is provided by the client library\n\
00109 time stamp\n\
00110 #Frame this data is associated with\n\
00111 # 0: no frame\n\
00112 # 1: global frame\n\
00113 string frame_id\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: visualization_msgs/Marker\n\
00117 # See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz\n\
00118 \n\
00119 uint8 ARROW=0\n\
00120 uint8 CUBE=1\n\
00121 uint8 SPHERE=2\n\
00122 uint8 CYLINDER=3\n\
00123 uint8 LINE_STRIP=4\n\
00124 uint8 LINE_LIST=5\n\
00125 uint8 CUBE_LIST=6\n\
00126 uint8 SPHERE_LIST=7\n\
00127 uint8 POINTS=8\n\
00128 uint8 TEXT_VIEW_FACING=9\n\
00129 uint8 MESH_RESOURCE=10\n\
00130 uint8 TRIANGLE_LIST=11\n\
00131 \n\
00132 uint8 ADD=0\n\
00133 uint8 MODIFY=0\n\
00134 uint8 DELETE=2\n\
00135 \n\
00136 Header header                        # header for time/frame information\n\
00137 string ns                            # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\
00138 int32 id                                         # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\
00139 int32 type                                     # Type of object\n\
00140 int32 action                           # 0 add/modify an object, 1 (deprecated), 2 deletes an object\n\
00141 geometry_msgs/Pose pose                 # Pose of the object\n\
00142 geometry_msgs/Vector3 scale             # Scale of the object 1,1,1 means default (usually 1 meter square)\n\
00143 std_msgs/ColorRGBA color             # Color [0.0-1.0]\n\
00144 duration lifetime                    # How long the object should last before being automatically deleted.  0 means forever\n\
00145 bool frame_locked                    # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\
00146 \n\
00147 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00148 geometry_msgs/Point[] points\n\
00149 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00150 #number of colors must either be 0 or equal to the number of points\n\
00151 #NOTE: alpha is not yet used\n\
00152 std_msgs/ColorRGBA[] colors\n\
00153 \n\
00154 # NOTE: only used for text markers\n\
00155 string text\n\
00156 \n\
00157 # NOTE: only used for MESH_RESOURCE markers\n\
00158 string mesh_resource\n\
00159 bool mesh_use_embedded_materials\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/Pose\n\
00163 # A representation of pose in free space, composed of postion and orientation. \n\
00164 Point position\n\
00165 Quaternion orientation\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/Point\n\
00169 # This contains the position of a point in free space\n\
00170 float64 x\n\
00171 float64 y\n\
00172 float64 z\n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: geometry_msgs/Quaternion\n\
00176 # This represents an orientation in free space in quaternion form.\n\
00177 \n\
00178 float64 x\n\
00179 float64 y\n\
00180 float64 z\n\
00181 float64 w\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: geometry_msgs/Vector3\n\
00185 # This represents a vector in free space. \n\
00186 \n\
00187 float64 x\n\
00188 float64 y\n\
00189 float64 z\n\
00190 ================================================================================\n\
00191 MSG: std_msgs/ColorRGBA\n\
00192 float32 r\n\
00193 float32 g\n\
00194 float32 b\n\
00195 float32 a\n\
00196 \n\
00197 ";
00198   }
00199 
00200   static const char* value(const  ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> &) { return value(); } 
00201 };
00202 
00203 template<class ContainerAllocator> struct HasHeader< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> > : public TrueType {};
00204 template<class ContainerAllocator> struct HasHeader< const ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> > : public TrueType {};
00205 } // namespace message_traits
00206 } // namespace ros
00207 
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212 
00213 template<class ContainerAllocator> struct Serializer< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> >
00214 {
00215   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216   {
00217     stream.next(m.header);
00218     stream.next(m.markers);
00219   }
00220 
00221   ROS_DECLARE_ALLINONE_SERIALIZER;
00222 }; // struct VisualizationScene_
00223 } // namespace serialization
00224 } // namespace ros
00225 
00226 namespace ros
00227 {
00228 namespace message_operations
00229 {
00230 
00231 template<class ContainerAllocator>
00232 struct Printer< ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> >
00233 {
00234   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::wviz_scene_manager::VisualizationScene_<ContainerAllocator> & v) 
00235   {
00236     s << indent << "header: ";
00237 s << std::endl;
00238     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00239     s << indent << "markers[]" << std::endl;
00240     for (size_t i = 0; i < v.markers.size(); ++i)
00241     {
00242       s << indent << "  markers[" << i << "]: ";
00243       s << std::endl;
00244       s << indent;
00245       Printer< ::visualization_msgs::Marker_<ContainerAllocator> >::stream(s, indent + "    ", v.markers[i]);
00246     }
00247   }
00248 };
00249 
00250 
00251 } // namespace message_operations
00252 } // namespace ros
00253 
00254 #endif // WVIZ_SCENE_MANAGER_MESSAGE_VISUALIZATIONSCENE_H
00255 


wviz_scene_manager
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 3 2014 11:11:50