$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_env_model_msgs/msg/RVIZCameraPosition.msg */ 00002 #ifndef SRS_ENV_MODEL_MSGS_MESSAGE_RVIZCAMERAPOSITION_H 00003 #define SRS_ENV_MODEL_MSGS_MESSAGE_RVIZCAMERAPOSITION_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 "geometry_msgs/Vector3.h" 00019 #include "geometry_msgs/Vector3.h" 00020 #include "geometry_msgs/Quaternion.h" 00021 00022 namespace srs_env_model_msgs 00023 { 00024 template <class ContainerAllocator> 00025 struct RVIZCameraPosition_ { 00026 typedef RVIZCameraPosition_<ContainerAllocator> Type; 00027 00028 RVIZCameraPosition_() 00029 : header() 00030 , position() 00031 , direction() 00032 , orientation() 00033 { 00034 } 00035 00036 RVIZCameraPosition_(const ContainerAllocator& _alloc) 00037 : header(_alloc) 00038 , position(_alloc) 00039 , direction(_alloc) 00040 , orientation(_alloc) 00041 { 00042 } 00043 00044 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00045 ::std_msgs::Header_<ContainerAllocator> header; 00046 00047 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _position_type; 00048 ::geometry_msgs::Vector3_<ContainerAllocator> position; 00049 00050 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _direction_type; 00051 ::geometry_msgs::Vector3_<ContainerAllocator> direction; 00052 00053 typedef ::geometry_msgs::Quaternion_<ContainerAllocator> _orientation_type; 00054 ::geometry_msgs::Quaternion_<ContainerAllocator> orientation; 00055 00056 00057 private: 00058 static const char* __s_getDataType_() { return "srs_env_model_msgs/RVIZCameraPosition"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00061 00062 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00063 00064 private: 00065 static const char* __s_getMD5Sum_() { return "2a42aa57dda1717b6865f2b444c08b8e"; } 00066 public: 00067 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00068 00069 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00070 00071 private: 00072 static const char* __s_getMessageDefinition_() { return "Header header\n\ 00073 geometry_msgs/Vector3 position\n\ 00074 geometry_msgs/Vector3 direction\n\ 00075 geometry_msgs/Quaternion orientation\n\ 00076 \n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: std_msgs/Header\n\ 00080 # Standard metadata for higher-level stamped data types.\n\ 00081 # This is generally used to communicate timestamped data \n\ 00082 # in a particular coordinate frame.\n\ 00083 # \n\ 00084 # sequence ID: consecutively increasing ID \n\ 00085 uint32 seq\n\ 00086 #Two-integer timestamp that is expressed as:\n\ 00087 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00088 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00089 # time-handling sugar is provided by the client library\n\ 00090 time stamp\n\ 00091 #Frame this data is associated with\n\ 00092 # 0: no frame\n\ 00093 # 1: global frame\n\ 00094 string frame_id\n\ 00095 \n\ 00096 ================================================================================\n\ 00097 MSG: geometry_msgs/Vector3\n\ 00098 # This represents a vector in free space. \n\ 00099 \n\ 00100 float64 x\n\ 00101 float64 y\n\ 00102 float64 z\n\ 00103 ================================================================================\n\ 00104 MSG: geometry_msgs/Quaternion\n\ 00105 # This represents an orientation in free space in quaternion form.\n\ 00106 \n\ 00107 float64 x\n\ 00108 float64 y\n\ 00109 float64 z\n\ 00110 float64 w\n\ 00111 \n\ 00112 "; } 00113 public: 00114 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00115 00116 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00117 00118 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00119 { 00120 ros::serialization::OStream stream(write_ptr, 1000000000); 00121 ros::serialization::serialize(stream, header); 00122 ros::serialization::serialize(stream, position); 00123 ros::serialization::serialize(stream, direction); 00124 ros::serialization::serialize(stream, orientation); 00125 return stream.getData(); 00126 } 00127 00128 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00129 { 00130 ros::serialization::IStream stream(read_ptr, 1000000000); 00131 ros::serialization::deserialize(stream, header); 00132 ros::serialization::deserialize(stream, position); 00133 ros::serialization::deserialize(stream, direction); 00134 ros::serialization::deserialize(stream, orientation); 00135 return stream.getData(); 00136 } 00137 00138 ROS_DEPRECATED virtual uint32_t serializationLength() const 00139 { 00140 uint32_t size = 0; 00141 size += ros::serialization::serializationLength(header); 00142 size += ros::serialization::serializationLength(position); 00143 size += ros::serialization::serializationLength(direction); 00144 size += ros::serialization::serializationLength(orientation); 00145 return size; 00146 } 00147 00148 typedef boost::shared_ptr< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > Ptr; 00149 typedef boost::shared_ptr< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> const> ConstPtr; 00150 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00151 }; // struct RVIZCameraPosition 00152 typedef ::srs_env_model_msgs::RVIZCameraPosition_<std::allocator<void> > RVIZCameraPosition; 00153 00154 typedef boost::shared_ptr< ::srs_env_model_msgs::RVIZCameraPosition> RVIZCameraPositionPtr; 00155 typedef boost::shared_ptr< ::srs_env_model_msgs::RVIZCameraPosition const> RVIZCameraPositionConstPtr; 00156 00157 00158 template<typename ContainerAllocator> 00159 std::ostream& operator<<(std::ostream& s, const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> & v) 00160 { 00161 ros::message_operations::Printer< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> >::stream(s, "", v); 00162 return s;} 00163 00164 } // namespace srs_env_model_msgs 00165 00166 namespace ros 00167 { 00168 namespace message_traits 00169 { 00170 template<class ContainerAllocator> struct IsMessage< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > : public TrueType {}; 00171 template<class ContainerAllocator> struct IsMessage< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> const> : public TrueType {}; 00172 template<class ContainerAllocator> 00173 struct MD5Sum< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > { 00174 static const char* value() 00175 { 00176 return "2a42aa57dda1717b6865f2b444c08b8e"; 00177 } 00178 00179 static const char* value(const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> &) { return value(); } 00180 static const uint64_t static_value1 = 0x2a42aa57dda1717bULL; 00181 static const uint64_t static_value2 = 0x6865f2b444c08b8eULL; 00182 }; 00183 00184 template<class ContainerAllocator> 00185 struct DataType< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > { 00186 static const char* value() 00187 { 00188 return "srs_env_model_msgs/RVIZCameraPosition"; 00189 } 00190 00191 static const char* value(const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> &) { return value(); } 00192 }; 00193 00194 template<class ContainerAllocator> 00195 struct Definition< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > { 00196 static const char* value() 00197 { 00198 return "Header header\n\ 00199 geometry_msgs/Vector3 position\n\ 00200 geometry_msgs/Vector3 direction\n\ 00201 geometry_msgs/Quaternion orientation\n\ 00202 \n\ 00203 \n\ 00204 ================================================================================\n\ 00205 MSG: std_msgs/Header\n\ 00206 # Standard metadata for higher-level stamped data types.\n\ 00207 # This is generally used to communicate timestamped data \n\ 00208 # in a particular coordinate frame.\n\ 00209 # \n\ 00210 # sequence ID: consecutively increasing ID \n\ 00211 uint32 seq\n\ 00212 #Two-integer timestamp that is expressed as:\n\ 00213 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00214 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00215 # time-handling sugar is provided by the client library\n\ 00216 time stamp\n\ 00217 #Frame this data is associated with\n\ 00218 # 0: no frame\n\ 00219 # 1: global frame\n\ 00220 string frame_id\n\ 00221 \n\ 00222 ================================================================================\n\ 00223 MSG: geometry_msgs/Vector3\n\ 00224 # This represents a vector in free space. \n\ 00225 \n\ 00226 float64 x\n\ 00227 float64 y\n\ 00228 float64 z\n\ 00229 ================================================================================\n\ 00230 MSG: geometry_msgs/Quaternion\n\ 00231 # This represents an orientation in free space in quaternion form.\n\ 00232 \n\ 00233 float64 x\n\ 00234 float64 y\n\ 00235 float64 z\n\ 00236 float64 w\n\ 00237 \n\ 00238 "; 00239 } 00240 00241 static const char* value(const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> &) { return value(); } 00242 }; 00243 00244 template<class ContainerAllocator> struct HasHeader< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > : public TrueType {}; 00245 template<class ContainerAllocator> struct HasHeader< const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > : public TrueType {}; 00246 } // namespace message_traits 00247 } // namespace ros 00248 00249 namespace ros 00250 { 00251 namespace serialization 00252 { 00253 00254 template<class ContainerAllocator> struct Serializer< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > 00255 { 00256 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00257 { 00258 stream.next(m.header); 00259 stream.next(m.position); 00260 stream.next(m.direction); 00261 stream.next(m.orientation); 00262 } 00263 00264 ROS_DECLARE_ALLINONE_SERIALIZER; 00265 }; // struct RVIZCameraPosition_ 00266 } // namespace serialization 00267 } // namespace ros 00268 00269 namespace ros 00270 { 00271 namespace message_operations 00272 { 00273 00274 template<class ContainerAllocator> 00275 struct Printer< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > 00276 { 00277 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> & v) 00278 { 00279 s << indent << "header: "; 00280 s << std::endl; 00281 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00282 s << indent << "position: "; 00283 s << std::endl; 00284 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.position); 00285 s << indent << "direction: "; 00286 s << std::endl; 00287 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.direction); 00288 s << indent << "orientation: "; 00289 s << std::endl; 00290 Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + " ", v.orientation); 00291 } 00292 }; 00293 00294 00295 } // namespace message_operations 00296 } // namespace ros 00297 00298 #endif // SRS_ENV_MODEL_MSGS_MESSAGE_RVIZCAMERAPOSITION_H 00299