PeriodicCmd.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_common/doc_stacks/2014-10-06_03-28-41.757574/pr2_common/pr2_msgs/msg/PeriodicCmd.msg */
00002 #ifndef PR2_MSGS_MESSAGE_PERIODICCMD_H
00003 #define PR2_MSGS_MESSAGE_PERIODICCMD_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 
00019 namespace pr2_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PeriodicCmd_ {
00023   typedef PeriodicCmd_<ContainerAllocator> Type;
00024 
00025   PeriodicCmd_()
00026   : header()
00027   , profile()
00028   , period(0.0)
00029   , amplitude(0.0)
00030   , offset(0.0)
00031   {
00032   }
00033 
00034   PeriodicCmd_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , profile(_alloc)
00037   , period(0.0)
00038   , amplitude(0.0)
00039   , offset(0.0)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00044    ::std_msgs::Header_<ContainerAllocator>  header;
00045 
00046   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _profile_type;
00047   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  profile;
00048 
00049   typedef double _period_type;
00050   double period;
00051 
00052   typedef double _amplitude_type;
00053   double amplitude;
00054 
00055   typedef double _offset_type;
00056   double offset;
00057 
00058 
00059   typedef boost::shared_ptr< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::pr2_msgs::PeriodicCmd_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct PeriodicCmd
00063 typedef  ::pr2_msgs::PeriodicCmd_<std::allocator<void> > PeriodicCmd;
00064 
00065 typedef boost::shared_ptr< ::pr2_msgs::PeriodicCmd> PeriodicCmdPtr;
00066 typedef boost::shared_ptr< ::pr2_msgs::PeriodicCmd const> PeriodicCmdConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::pr2_msgs::PeriodicCmd_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace pr2_msgs
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::pr2_msgs::PeriodicCmd_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "95ab7e548e3d4274f83393129dd96c2e";
00088   }
00089 
00090   static const char* value(const  ::pr2_msgs::PeriodicCmd_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0x95ab7e548e3d4274ULL;
00092   static const uint64_t static_value2 = 0xf83393129dd96c2eULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "pr2_msgs/PeriodicCmd";
00100   }
00101 
00102   static const char* value(const  ::pr2_msgs::PeriodicCmd_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "# This message is used to set the parameters of a profile executed by the\n\
00110 # laser tilt controller.\n\
00111 Header header\n\
00112 string profile\n\
00113 float64 period\n\
00114 float64 amplitude\n\
00115 float64 offset\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: std_msgs/Header\n\
00119 # Standard metadata for higher-level stamped data types.\n\
00120 # This is generally used to communicate timestamped data \n\
00121 # in a particular coordinate frame.\n\
00122 # \n\
00123 # sequence ID: consecutively increasing ID \n\
00124 uint32 seq\n\
00125 #Two-integer timestamp that is expressed as:\n\
00126 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00127 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00128 # time-handling sugar is provided by the client library\n\
00129 time stamp\n\
00130 #Frame this data is associated with\n\
00131 # 0: no frame\n\
00132 # 1: global frame\n\
00133 string frame_id\n\
00134 \n\
00135 ";
00136   }
00137 
00138   static const char* value(const  ::pr2_msgs::PeriodicCmd_<ContainerAllocator> &) { return value(); } 
00139 };
00140 
00141 template<class ContainerAllocator> struct HasHeader< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> > : public TrueType {};
00142 template<class ContainerAllocator> struct HasHeader< const ::pr2_msgs::PeriodicCmd_<ContainerAllocator> > : public TrueType {};
00143 } // namespace message_traits
00144 } // namespace ros
00145 
00146 namespace ros
00147 {
00148 namespace serialization
00149 {
00150 
00151 template<class ContainerAllocator> struct Serializer< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> >
00152 {
00153   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00154   {
00155     stream.next(m.header);
00156     stream.next(m.profile);
00157     stream.next(m.period);
00158     stream.next(m.amplitude);
00159     stream.next(m.offset);
00160   }
00161 
00162   ROS_DECLARE_ALLINONE_SERIALIZER;
00163 }; // struct PeriodicCmd_
00164 } // namespace serialization
00165 } // namespace ros
00166 
00167 namespace ros
00168 {
00169 namespace message_operations
00170 {
00171 
00172 template<class ContainerAllocator>
00173 struct Printer< ::pr2_msgs::PeriodicCmd_<ContainerAllocator> >
00174 {
00175   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_msgs::PeriodicCmd_<ContainerAllocator> & v) 
00176   {
00177     s << indent << "header: ";
00178 s << std::endl;
00179     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00180     s << indent << "profile: ";
00181     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.profile);
00182     s << indent << "period: ";
00183     Printer<double>::stream(s, indent + "  ", v.period);
00184     s << indent << "amplitude: ";
00185     Printer<double>::stream(s, indent + "  ", v.amplitude);
00186     s << indent << "offset: ";
00187     Printer<double>::stream(s, indent + "  ", v.offset);
00188   }
00189 };
00190 
00191 
00192 } // namespace message_operations
00193 } // namespace ros
00194 
00195 #endif // PR2_MSGS_MESSAGE_PERIODICCMD_H
00196 


pr2_msgs
Author(s): Eric Berger and many others
autogenerated on Mon Oct 6 2014 03:30:41