EventSetup.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-applanix_driver/doc_stacks/2014-01-02_11-02-36.446834/applanix_driver/applanix_msgs/msg/EventSetup.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_EVENTSETUP_H
00003 #define APPLANIX_MSGS_MESSAGE_EVENTSETUP_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 applanix_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct EventSetup_ {
00022   typedef EventSetup_<ContainerAllocator> Type;
00023 
00024   EventSetup_()
00025   : transaction(0)
00026   , event_1_trigger(0)
00027   , event_2_trigger(0)
00028   , event_3_trigger(0)
00029   , event_4_trigger(0)
00030   , event_5_trigger(0)
00031   , event_6_trigger(0)
00032   , event_1_guard_time(0)
00033   , event_2_guard_time(0)
00034   , event_3_guard_time(0)
00035   , event_4_guard_time(0)
00036   , event_5_guard_time(0)
00037   , event_6_guard_time(0)
00038   , pps_out_polarity(0)
00039   {
00040   }
00041 
00042   EventSetup_(const ContainerAllocator& _alloc)
00043   : transaction(0)
00044   , event_1_trigger(0)
00045   , event_2_trigger(0)
00046   , event_3_trigger(0)
00047   , event_4_trigger(0)
00048   , event_5_trigger(0)
00049   , event_6_trigger(0)
00050   , event_1_guard_time(0)
00051   , event_2_guard_time(0)
00052   , event_3_guard_time(0)
00053   , event_4_guard_time(0)
00054   , event_5_guard_time(0)
00055   , event_6_guard_time(0)
00056   , pps_out_polarity(0)
00057   {
00058   }
00059 
00060   typedef uint16_t _transaction_type;
00061   uint16_t transaction;
00062 
00063   typedef uint8_t _event_1_trigger_type;
00064   uint8_t event_1_trigger;
00065 
00066   typedef uint8_t _event_2_trigger_type;
00067   uint8_t event_2_trigger;
00068 
00069   typedef uint8_t _event_3_trigger_type;
00070   uint8_t event_3_trigger;
00071 
00072   typedef uint8_t _event_4_trigger_type;
00073   uint8_t event_4_trigger;
00074 
00075   typedef uint8_t _event_5_trigger_type;
00076   uint8_t event_5_trigger;
00077 
00078   typedef uint8_t _event_6_trigger_type;
00079   uint8_t event_6_trigger;
00080 
00081   typedef uint16_t _event_1_guard_time_type;
00082   uint16_t event_1_guard_time;
00083 
00084   typedef uint16_t _event_2_guard_time_type;
00085   uint16_t event_2_guard_time;
00086 
00087   typedef uint16_t _event_3_guard_time_type;
00088   uint16_t event_3_guard_time;
00089 
00090   typedef uint16_t _event_4_guard_time_type;
00091   uint16_t event_4_guard_time;
00092 
00093   typedef uint16_t _event_5_guard_time_type;
00094   uint16_t event_5_guard_time;
00095 
00096   typedef uint16_t _event_6_guard_time_type;
00097   uint16_t event_6_guard_time;
00098 
00099   typedef uint8_t _pps_out_polarity_type;
00100   uint8_t pps_out_polarity;
00101 
00102   enum { TRIGGER_POSITIVE_EDGE = 0 };
00103   enum { TRIGGER_NEGATIVE_EDGE = 1 };
00104   enum { POLARITY_POSITIVE_PULSE = 0 };
00105   enum { POLARITY_NEGATIVE_PULSE = 1 };
00106   enum { POLARITY_PASS_THROUGH = 2 };
00107 
00108   typedef boost::shared_ptr< ::applanix_msgs::EventSetup_<ContainerAllocator> > Ptr;
00109   typedef boost::shared_ptr< ::applanix_msgs::EventSetup_<ContainerAllocator>  const> ConstPtr;
00110   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00111 }; // struct EventSetup
00112 typedef  ::applanix_msgs::EventSetup_<std::allocator<void> > EventSetup;
00113 
00114 typedef boost::shared_ptr< ::applanix_msgs::EventSetup> EventSetupPtr;
00115 typedef boost::shared_ptr< ::applanix_msgs::EventSetup const> EventSetupConstPtr;
00116 
00117 
00118 template<typename ContainerAllocator>
00119 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::EventSetup_<ContainerAllocator> & v)
00120 {
00121   ros::message_operations::Printer< ::applanix_msgs::EventSetup_<ContainerAllocator> >::stream(s, "", v);
00122   return s;}
00123 
00124 } // namespace applanix_msgs
00125 
00126 namespace ros
00127 {
00128 namespace message_traits
00129 {
00130 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::EventSetup_<ContainerAllocator> > : public TrueType {};
00131 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::EventSetup_<ContainerAllocator>  const> : public TrueType {};
00132 template<class ContainerAllocator>
00133 struct MD5Sum< ::applanix_msgs::EventSetup_<ContainerAllocator> > {
00134   static const char* value() 
00135   {
00136     return "74cd1b437edb1231c0f1f35556a051a7";
00137   }
00138 
00139   static const char* value(const  ::applanix_msgs::EventSetup_<ContainerAllocator> &) { return value(); } 
00140   static const uint64_t static_value1 = 0x74cd1b437edb1231ULL;
00141   static const uint64_t static_value2 = 0xc0f1f35556a051a7ULL;
00142 };
00143 
00144 template<class ContainerAllocator>
00145 struct DataType< ::applanix_msgs::EventSetup_<ContainerAllocator> > {
00146   static const char* value() 
00147   {
00148     return "applanix_msgs/EventSetup";
00149   }
00150 
00151   static const char* value(const  ::applanix_msgs::EventSetup_<ContainerAllocator> &) { return value(); } 
00152 };
00153 
00154 template<class ContainerAllocator>
00155 struct Definition< ::applanix_msgs::EventSetup_<ContainerAllocator> > {
00156   static const char* value() 
00157   {
00158     return "# Msg 33\n\
00159 uint16 transaction\n\
00160 \n\
00161 uint8 TRIGGER_POSITIVE_EDGE=0\n\
00162 uint8 TRIGGER_NEGATIVE_EDGE=1\n\
00163 uint8 event_1_trigger\n\
00164 uint8 event_2_trigger\n\
00165 uint8 event_3_trigger\n\
00166 uint8 event_4_trigger\n\
00167 uint8 event_5_trigger\n\
00168 uint8 event_6_trigger\n\
00169 \n\
00170 uint16 event_1_guard_time\n\
00171 uint16 event_2_guard_time\n\
00172 uint16 event_3_guard_time\n\
00173 uint16 event_4_guard_time\n\
00174 uint16 event_5_guard_time\n\
00175 uint16 event_6_guard_time\n\
00176 \n\
00177 uint8 POLARITY_POSITIVE_PULSE=0\n\
00178 uint8 POLARITY_NEGATIVE_PULSE=1\n\
00179 uint8 POLARITY_PASS_THROUGH=2\n\
00180 uint8 pps_out_polarity\n\
00181 \n\
00182 ";
00183   }
00184 
00185   static const char* value(const  ::applanix_msgs::EventSetup_<ContainerAllocator> &) { return value(); } 
00186 };
00187 
00188 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::EventSetup_<ContainerAllocator> > : public TrueType {};
00189 } // namespace message_traits
00190 } // namespace ros
00191 
00192 namespace ros
00193 {
00194 namespace serialization
00195 {
00196 
00197 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::EventSetup_<ContainerAllocator> >
00198 {
00199   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00200   {
00201     stream.next(m.transaction);
00202     stream.next(m.event_1_trigger);
00203     stream.next(m.event_2_trigger);
00204     stream.next(m.event_3_trigger);
00205     stream.next(m.event_4_trigger);
00206     stream.next(m.event_5_trigger);
00207     stream.next(m.event_6_trigger);
00208     stream.next(m.event_1_guard_time);
00209     stream.next(m.event_2_guard_time);
00210     stream.next(m.event_3_guard_time);
00211     stream.next(m.event_4_guard_time);
00212     stream.next(m.event_5_guard_time);
00213     stream.next(m.event_6_guard_time);
00214     stream.next(m.pps_out_polarity);
00215   }
00216 
00217   ROS_DECLARE_ALLINONE_SERIALIZER;
00218 }; // struct EventSetup_
00219 } // namespace serialization
00220 } // namespace ros
00221 
00222 namespace ros
00223 {
00224 namespace message_operations
00225 {
00226 
00227 template<class ContainerAllocator>
00228 struct Printer< ::applanix_msgs::EventSetup_<ContainerAllocator> >
00229 {
00230   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::EventSetup_<ContainerAllocator> & v) 
00231   {
00232     s << indent << "transaction: ";
00233     Printer<uint16_t>::stream(s, indent + "  ", v.transaction);
00234     s << indent << "event_1_trigger: ";
00235     Printer<uint8_t>::stream(s, indent + "  ", v.event_1_trigger);
00236     s << indent << "event_2_trigger: ";
00237     Printer<uint8_t>::stream(s, indent + "  ", v.event_2_trigger);
00238     s << indent << "event_3_trigger: ";
00239     Printer<uint8_t>::stream(s, indent + "  ", v.event_3_trigger);
00240     s << indent << "event_4_trigger: ";
00241     Printer<uint8_t>::stream(s, indent + "  ", v.event_4_trigger);
00242     s << indent << "event_5_trigger: ";
00243     Printer<uint8_t>::stream(s, indent + "  ", v.event_5_trigger);
00244     s << indent << "event_6_trigger: ";
00245     Printer<uint8_t>::stream(s, indent + "  ", v.event_6_trigger);
00246     s << indent << "event_1_guard_time: ";
00247     Printer<uint16_t>::stream(s, indent + "  ", v.event_1_guard_time);
00248     s << indent << "event_2_guard_time: ";
00249     Printer<uint16_t>::stream(s, indent + "  ", v.event_2_guard_time);
00250     s << indent << "event_3_guard_time: ";
00251     Printer<uint16_t>::stream(s, indent + "  ", v.event_3_guard_time);
00252     s << indent << "event_4_guard_time: ";
00253     Printer<uint16_t>::stream(s, indent + "  ", v.event_4_guard_time);
00254     s << indent << "event_5_guard_time: ";
00255     Printer<uint16_t>::stream(s, indent + "  ", v.event_5_guard_time);
00256     s << indent << "event_6_guard_time: ";
00257     Printer<uint16_t>::stream(s, indent + "  ", v.event_6_guard_time);
00258     s << indent << "pps_out_polarity: ";
00259     Printer<uint8_t>::stream(s, indent + "  ", v.pps_out_polarity);
00260   }
00261 };
00262 
00263 
00264 } // namespace message_operations
00265 } // namespace ros
00266 
00267 #endif // APPLANIX_MSGS_MESSAGE_EVENTSETUP_H
00268 


applanix_msgs
Author(s): Mike Purvis
autogenerated on Thu Jan 2 2014 11:04:51