// Generated by gencpp from file fisherbrand_pps4102_balance_msgs/BalanceCommand.msg
// DO NOT EDIT!


#ifndef FISHERBRAND_PPS4102_BALANCE_MSGS_MESSAGE_BALANCECOMMAND_H
#define FISHERBRAND_PPS4102_BALANCE_MSGS_MESSAGE_BALANCECOMMAND_H


#include <string>
#include <vector>
#include <map>

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


namespace fisherbrand_pps4102_balance_msgs
{
template <class ContainerAllocator>
struct BalanceCommand_
{
  typedef BalanceCommand_<ContainerAllocator> Type;

  BalanceCommand_()
    : balance_command(0)  {
    }
  BalanceCommand_(const ContainerAllocator& _alloc)
    : balance_command(0)  {
  (void)_alloc;
    }



   typedef int32_t _balance_command_type;
  _balance_command_type balance_command;



// reducing the odds to have name collisions with Windows.h 
#if defined(_WIN32) && defined(ZERO)
  #undef ZERO
#endif
#if defined(_WIN32) && defined(BALANCE_ON)
  #undef BALANCE_ON
#endif
#if defined(_WIN32) && defined(BALANCE_OFF)
  #undef BALANCE_OFF
#endif
#if defined(_WIN32) && defined(WEIGHT_STABLE)
  #undef WEIGHT_STABLE
#endif
#if defined(_WIN32) && defined(WEIGHT_NOW)
  #undef WEIGHT_NOW
#endif

  enum {
    ZERO = 0,
    BALANCE_ON = 1,
    BALANCE_OFF = 2,
    WEIGHT_STABLE = 3,
    WEIGHT_NOW = 4,
  };


  typedef boost::shared_ptr< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> const> ConstPtr;

}; // struct BalanceCommand_

typedef ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<std::allocator<void> > BalanceCommand;

typedef boost::shared_ptr< ::fisherbrand_pps4102_balance_msgs::BalanceCommand > BalanceCommandPtr;
typedef boost::shared_ptr< ::fisherbrand_pps4102_balance_msgs::BalanceCommand const> BalanceCommandConstPtr;

// constants requiring out of line definition

   

   

   

   

   



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator1> & lhs, const ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator2> & rhs)
{
  return lhs.balance_command == rhs.balance_command;
}

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


} // namespace fisherbrand_pps4102_balance_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "574dd25b04452c9c1afc9d3cae7bc78b";
  }

  static const char* value(const ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x574dd25b04452c9cULL;
  static const uint64_t static_value2 = 0x1afc9d3cae7bc78bULL;
};

template<class ContainerAllocator>
struct DataType< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "fisherbrand_pps4102_balance_msgs/BalanceCommand";
  }

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

template<class ContainerAllocator>
struct Definition< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# Available commands to use the Fisher Scientific PPS4102 Top Pan balance \n"
"int32 ZERO = 0\n"
"int32 BALANCE_ON = 1\n"
"int32 BALANCE_OFF = 2\n"
"int32 WEIGHT_STABLE = 3\n"
"int32 WEIGHT_NOW = 4\n"
"\n"
"int32 balance_command \n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.balance_command);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct BalanceCommand_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::fisherbrand_pps4102_balance_msgs::BalanceCommand_<ContainerAllocator>& v)
  {
    s << indent << "balance_command: ";
    Printer<int32_t>::stream(s, indent + "  ", v.balance_command);
  }
};

} // namespace message_operations
} // namespace ros

#endif // FISHERBRAND_PPS4102_BALANCE_MSGS_MESSAGE_BALANCECOMMAND_H
