LoggingStatus.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/LoggingStatus.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_LOGGINGSTATUS_H
00003 #define APPLANIX_MSGS_MESSAGE_LOGGINGSTATUS_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 "applanix_msgs/TimeDistance.h"
00018 
00019 namespace applanix_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct LoggingStatus_ {
00023   typedef LoggingStatus_<ContainerAllocator> Type;
00024 
00025   LoggingStatus_()
00026   : td()
00027   , disk_kb_remaining(0)
00028   , disk_kb_logged(0)
00029   , disk_time_remaining(0)
00030   , disk_kb_total(0)
00031   , state(0)
00032   {
00033   }
00034 
00035   LoggingStatus_(const ContainerAllocator& _alloc)
00036   : td(_alloc)
00037   , disk_kb_remaining(0)
00038   , disk_kb_logged(0)
00039   , disk_time_remaining(0)
00040   , disk_kb_total(0)
00041   , state(0)
00042   {
00043   }
00044 
00045   typedef  ::applanix_msgs::TimeDistance_<ContainerAllocator>  _td_type;
00046    ::applanix_msgs::TimeDistance_<ContainerAllocator>  td;
00047 
00048   typedef uint32_t _disk_kb_remaining_type;
00049   uint32_t disk_kb_remaining;
00050 
00051   typedef uint32_t _disk_kb_logged_type;
00052   uint32_t disk_kb_logged;
00053 
00054   typedef uint32_t _disk_time_remaining_type;
00055   uint32_t disk_time_remaining;
00056 
00057   typedef uint32_t _disk_kb_total_type;
00058   uint32_t disk_kb_total;
00059 
00060   typedef uint8_t _state_type;
00061   uint8_t state;
00062 
00063   enum { STATE_STANDBY = 0 };
00064   enum { STATE_LOGGING = 1 };
00065   enum { STATE_BUFFERING = 2 };
00066   enum { STATE_INVALID = 255 };
00067 
00068   typedef boost::shared_ptr< ::applanix_msgs::LoggingStatus_<ContainerAllocator> > Ptr;
00069   typedef boost::shared_ptr< ::applanix_msgs::LoggingStatus_<ContainerAllocator>  const> ConstPtr;
00070   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 }; // struct LoggingStatus
00072 typedef  ::applanix_msgs::LoggingStatus_<std::allocator<void> > LoggingStatus;
00073 
00074 typedef boost::shared_ptr< ::applanix_msgs::LoggingStatus> LoggingStatusPtr;
00075 typedef boost::shared_ptr< ::applanix_msgs::LoggingStatus const> LoggingStatusConstPtr;
00076 
00077 
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::LoggingStatus_<ContainerAllocator> & v)
00080 {
00081   ros::message_operations::Printer< ::applanix_msgs::LoggingStatus_<ContainerAllocator> >::stream(s, "", v);
00082   return s;}
00083 
00084 } // namespace applanix_msgs
00085 
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::LoggingStatus_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::LoggingStatus_<ContainerAllocator>  const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::applanix_msgs::LoggingStatus_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "bc37af667689cff6ff70d20f8053fa45";
00097   }
00098 
00099   static const char* value(const  ::applanix_msgs::LoggingStatus_<ContainerAllocator> &) { return value(); } 
00100   static const uint64_t static_value1 = 0xbc37af667689cff6ULL;
00101   static const uint64_t static_value2 = 0xff70d20f8053fa45ULL;
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct DataType< ::applanix_msgs::LoggingStatus_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "applanix_msgs/LoggingStatus";
00109   }
00110 
00111   static const char* value(const  ::applanix_msgs::LoggingStatus_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct Definition< ::applanix_msgs::LoggingStatus_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "TimeDistance td\n\
00119 \n\
00120 uint32 disk_kb_remaining\n\
00121 uint32 disk_kb_logged\n\
00122 uint32 disk_time_remaining\n\
00123 uint32 disk_kb_total\n\
00124 \n\
00125 uint8 STATE_STANDBY=0\n\
00126 uint8 STATE_LOGGING=1\n\
00127 uint8 STATE_BUFFERING=2\n\
00128 uint8 STATE_INVALID=255\n\
00129 uint8 state\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: applanix_msgs/TimeDistance\n\
00133 float64 time1\n\
00134 float64 time2\n\
00135 float64 distance\n\
00136 uint8 time_types\n\
00137 uint8 distance_type\n\
00138 \n\
00139 ";
00140   }
00141 
00142   static const char* value(const  ::applanix_msgs::LoggingStatus_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::LoggingStatus_<ContainerAllocator> > : public TrueType {};
00146 } // namespace message_traits
00147 } // namespace ros
00148 
00149 namespace ros
00150 {
00151 namespace serialization
00152 {
00153 
00154 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::LoggingStatus_<ContainerAllocator> >
00155 {
00156   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00157   {
00158     stream.next(m.td);
00159     stream.next(m.disk_kb_remaining);
00160     stream.next(m.disk_kb_logged);
00161     stream.next(m.disk_time_remaining);
00162     stream.next(m.disk_kb_total);
00163     stream.next(m.state);
00164   }
00165 
00166   ROS_DECLARE_ALLINONE_SERIALIZER;
00167 }; // struct LoggingStatus_
00168 } // namespace serialization
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace message_operations
00174 {
00175 
00176 template<class ContainerAllocator>
00177 struct Printer< ::applanix_msgs::LoggingStatus_<ContainerAllocator> >
00178 {
00179   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::LoggingStatus_<ContainerAllocator> & v) 
00180   {
00181     s << indent << "td: ";
00182 s << std::endl;
00183     Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >::stream(s, indent + "  ", v.td);
00184     s << indent << "disk_kb_remaining: ";
00185     Printer<uint32_t>::stream(s, indent + "  ", v.disk_kb_remaining);
00186     s << indent << "disk_kb_logged: ";
00187     Printer<uint32_t>::stream(s, indent + "  ", v.disk_kb_logged);
00188     s << indent << "disk_time_remaining: ";
00189     Printer<uint32_t>::stream(s, indent + "  ", v.disk_time_remaining);
00190     s << indent << "disk_kb_total: ";
00191     Printer<uint32_t>::stream(s, indent + "  ", v.disk_kb_total);
00192     s << indent << "state: ";
00193     Printer<uint8_t>::stream(s, indent + "  ", v.state);
00194   }
00195 };
00196 
00197 
00198 } // namespace message_operations
00199 } // namespace ros
00200 
00201 #endif // APPLANIX_MSGS_MESSAGE_LOGGINGSTATUS_H
00202 


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