// Generated by gencpp from file uavatt_ros/or_time_ts.msg
// DO NOT EDIT!


#ifndef UAVATT_ROS_MESSAGE_OR_TIME_TS_H
#define UAVATT_ROS_MESSAGE_OR_TIME_TS_H


#include <string>
#include <vector>
#include <memory>

#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>


namespace uavatt_ros
{
template <class ContainerAllocator>
struct or_time_ts_
{
  typedef or_time_ts_<ContainerAllocator> Type;

  or_time_ts_()
    : sec(0)
    , nsec(0)  {
    }
  or_time_ts_(const ContainerAllocator& _alloc)
    : sec(0)
    , nsec(0)  {
  (void)_alloc;
    }



   typedef int32_t _sec_type;
  _sec_type sec;

   typedef int32_t _nsec_type;
  _nsec_type nsec;





  typedef boost::shared_ptr< ::uavatt_ros::or_time_ts_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::uavatt_ros::or_time_ts_<ContainerAllocator> const> ConstPtr;

}; // struct or_time_ts_

typedef ::uavatt_ros::or_time_ts_<std::allocator<void> > or_time_ts;

typedef boost::shared_ptr< ::uavatt_ros::or_time_ts > or_time_tsPtr;
typedef boost::shared_ptr< ::uavatt_ros::or_time_ts const> or_time_tsConstPtr;

// constants requiring out of line definition



template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::uavatt_ros::or_time_ts_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::uavatt_ros::or_time_ts_<ContainerAllocator> >::stream(s, "", v);
return s;
}


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavatt_ros::or_time_ts_<ContainerAllocator1> & lhs, const ::uavatt_ros::or_time_ts_<ContainerAllocator2> & rhs)
{
  return lhs.sec == rhs.sec &&
    lhs.nsec == rhs.nsec;
}

template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::uavatt_ros::or_time_ts_<ContainerAllocator1> & lhs, const ::uavatt_ros::or_time_ts_<ContainerAllocator2> & rhs)
{
  return !(lhs == rhs);
}


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::uavatt_ros::or_time_ts_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::uavatt_ros::or_time_ts_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavatt_ros::or_time_ts_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavatt_ros::or_time_ts_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavatt_ros::or_time_ts_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavatt_ros::or_time_ts_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::uavatt_ros::or_time_ts_<ContainerAllocator> >
{
  static const char* value()
  {
    return "bfddb48875549f618d724dc3ff7ed299";
  }

  static const char* value(const ::uavatt_ros::or_time_ts_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xbfddb48875549f61ULL;
  static const uint64_t static_value2 = 0x8d724dc3ff7ed299ULL;
};

template<class ContainerAllocator>
struct DataType< ::uavatt_ros::or_time_ts_<ContainerAllocator> >
{
  static const char* value()
  {
    return "uavatt_ros/or_time_ts";
  }

  static const char* value(const ::uavatt_ros::or_time_ts_<ContainerAllocator>&) { return value(); }
};

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::or_time_ts_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::or::time::ts\n"
"int32 sec\n"
"int32 nsec\n"
;
  }

  static const char* value(const ::uavatt_ros::or_time_ts_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_ros::or_time_ts_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.sec);
      stream.next(m.nsec);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_time_ts_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::or_time_ts_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_ros::or_time_ts_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "sec: ";
    Printer<int32_t>::stream(s, indent + "  ", v.sec);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "nsec: ";
    Printer<int32_t>::stream(s, indent + "  ", v.nsec);
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_OR_TIME_TS_H
