/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/core/roscpp/msg/Logger.msg */
#ifndef ROSCPP_MESSAGE_LOGGER_H
#define ROSCPP_MESSAGE_LOGGER_H
#include <string>
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/time.h"


namespace roscpp
{
template <class ContainerAllocator>
struct Logger_ : public ros::Message
{
  typedef Logger_<ContainerAllocator> Type;

  Logger_()
  : name()
  , level()
  {
  }

  Logger_(const ContainerAllocator& _alloc)
  : name(_alloc)
  , level(_alloc)
  {
  }

  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;

  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _level_type;
  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  level;


private:
  static const char* __s_getDataType_() { return "roscpp/Logger"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

  ROSCPP_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }

private:
  static const char* __s_getMD5Sum_() { return "a6069a2ff40db7bd32143dd66e1f408e"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "string name\n\
string level\n\
\n\
"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

  ROSCPP_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }

  ROSCPP_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
  {
    ros::serialization::OStream stream(write_ptr, 1000000000);
    ros::serialization::serialize(stream, name);
    ros::serialization::serialize(stream, level);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    ros::serialization::deserialize(stream, name);
    ros::serialization::deserialize(stream, level);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(name);
    size += ros::serialization::serializationLength(level);
    return size;
  }

  typedef boost::shared_ptr< ::roscpp::Logger_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::roscpp::Logger_<ContainerAllocator>  const> ConstPtr;
}; // struct Logger
typedef  ::roscpp::Logger_<std::allocator<void> > Logger;

typedef boost::shared_ptr< ::roscpp::Logger> LoggerPtr;
typedef boost::shared_ptr< ::roscpp::Logger const> LoggerConstPtr;


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

} // namespace roscpp

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::roscpp::Logger_<ContainerAllocator> > {
  static const char* value() 
  {
    return "a6069a2ff40db7bd32143dd66e1f408e";
  }

  static const char* value(const  ::roscpp::Logger_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xa6069a2ff40db7bdULL;
  static const uint64_t static_value2 = 0x32143dd66e1f408eULL;
};

template<class ContainerAllocator>
struct DataType< ::roscpp::Logger_<ContainerAllocator> > {
  static const char* value() 
  {
    return "roscpp/Logger";
  }

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

template<class ContainerAllocator>
struct Definition< ::roscpp::Logger_<ContainerAllocator> > {
  static const char* value() 
  {
    return "string name\n\
string level\n\
\n\
";
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::roscpp::Logger_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.name);
    stream.next(m.level);
  }

  ROS_DECLARE_ALLINONE_SERIALIZER;
}; // struct Logger_
} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::roscpp::Logger_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::roscpp::Logger_<ContainerAllocator> & v) 
  {
    s << indent << "name: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
    s << indent << "level: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.level);
  }
};


} // namespace message_operations
} // namespace ros

#endif // ROSCPP_MESSAGE_LOGGER_H

