Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > Ptr;
00058 typedef boost::shared_ptr< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> const> ConstPtr;
00059 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 };
00061 typedef ::srs_env_model_msgs::RVIZCameraPosition_<std::allocator<void> > RVIZCameraPosition;
00062
00063 typedef boost::shared_ptr< ::srs_env_model_msgs::RVIZCameraPosition> RVIZCameraPositionPtr;
00064 typedef boost::shared_ptr< ::srs_env_model_msgs::RVIZCameraPosition const> RVIZCameraPositionConstPtr;
00065
00066
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> & v)
00069 {
00070 ros::message_operations::Printer< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> >::stream(s, "", v);
00071 return s;}
00072
00073 }
00074
00075 namespace ros
00076 {
00077 namespace message_traits
00078 {
00079 template<class ContainerAllocator> struct IsMessage< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "2a42aa57dda1717b6865f2b444c08b8e";
00086 }
00087
00088 static const char* value(const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> &) { return value(); }
00089 static const uint64_t static_value1 = 0x2a42aa57dda1717bULL;
00090 static const uint64_t static_value2 = 0x6865f2b444c08b8eULL;
00091 };
00092
00093 template<class ContainerAllocator>
00094 struct DataType< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > {
00095 static const char* value()
00096 {
00097 return "srs_env_model_msgs/RVIZCameraPosition";
00098 }
00099
00100 static const char* value(const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> &) { return value(); }
00101 };
00102
00103 template<class ContainerAllocator>
00104 struct Definition< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "Header header\n\
00108 geometry_msgs/Vector3 position\n\
00109 geometry_msgs/Vector3 direction\n\
00110 geometry_msgs/Quaternion orientation\n\
00111 \n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: std_msgs/Header\n\
00115 # Standard metadata for higher-level stamped data types.\n\
00116 # This is generally used to communicate timestamped data \n\
00117 # in a particular coordinate frame.\n\
00118 # \n\
00119 # sequence ID: consecutively increasing ID \n\
00120 uint32 seq\n\
00121 #Two-integer timestamp that is expressed as:\n\
00122 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00123 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00124 # time-handling sugar is provided by the client library\n\
00125 time stamp\n\
00126 #Frame this data is associated with\n\
00127 # 0: no frame\n\
00128 # 1: global frame\n\
00129 string frame_id\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: geometry_msgs/Vector3\n\
00133 # This represents a vector in free space. \n\
00134 \n\
00135 float64 x\n\
00136 float64 y\n\
00137 float64 z\n\
00138 ================================================================================\n\
00139 MSG: geometry_msgs/Quaternion\n\
00140 # This represents an orientation in free space in quaternion form.\n\
00141 \n\
00142 float64 x\n\
00143 float64 y\n\
00144 float64 z\n\
00145 float64 w\n\
00146 \n\
00147 ";
00148 }
00149
00150 static const char* value(const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> &) { return value(); }
00151 };
00152
00153 template<class ContainerAllocator> struct HasHeader< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct HasHeader< const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> > : public TrueType {};
00155 }
00156 }
00157
00158 namespace ros
00159 {
00160 namespace serialization
00161 {
00162
00163 template<class ContainerAllocator> struct Serializer< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> >
00164 {
00165 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00166 {
00167 stream.next(m.header);
00168 stream.next(m.position);
00169 stream.next(m.direction);
00170 stream.next(m.orientation);
00171 }
00172
00173 ROS_DECLARE_ALLINONE_SERIALIZER;
00174 };
00175 }
00176 }
00177
00178 namespace ros
00179 {
00180 namespace message_operations
00181 {
00182
00183 template<class ContainerAllocator>
00184 struct Printer< ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> >
00185 {
00186 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_env_model_msgs::RVIZCameraPosition_<ContainerAllocator> & v)
00187 {
00188 s << indent << "header: ";
00189 s << std::endl;
00190 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00191 s << indent << "position: ";
00192 s << std::endl;
00193 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.position);
00194 s << indent << "direction: ";
00195 s << std::endl;
00196 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.direction);
00197 s << indent << "orientation: ";
00198 s << std::endl;
00199 Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + " ", v.orientation);
00200 }
00201 };
00202
00203
00204 }
00205 }
00206
00207 #endif // SRS_ENV_MODEL_MSGS_MESSAGE_RVIZCAMERAPOSITION_H
00208