/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/test/test_rospy/srv/ListReturn.srv */
#ifndef TEST_ROSPY_SERVICE_LISTRETURN_H
#define TEST_ROSPY_SERVICE_LISTRETURN_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"

#include "ros/service_traits.h"




namespace test_rospy
{
template <class ContainerAllocator>
struct ListReturnRequest_ : public ros::Message
{
  typedef ListReturnRequest_<ContainerAllocator> Type;

  ListReturnRequest_()
  : a(0)
  , b(0)
  , c(0)
  , d(0)
  {
  }

  ListReturnRequest_(const ContainerAllocator& _alloc)
  : a(0)
  , b(0)
  , c(0)
  , d(0)
  {
  }

  typedef int32_t _a_type;
  int32_t a;

  typedef int32_t _b_type;
  int32_t b;

  typedef int32_t _c_type;
  int32_t c;

  typedef int32_t _d_type;
  int32_t d;


private:
  static const char* __s_getDataType_() { return "test_rospy/ListReturnRequest"; }
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 "55328e64986cccd71be7fe834e693c76"; }
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_getServerMD5Sum_() { return "8083abf57e6eb0ff97ebb506984b66b8"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "\n\
int32 a\n\
int32 b\n\
int32 c\n\
int32 d\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, a);
    ros::serialization::serialize(stream, b);
    ros::serialization::serialize(stream, c);
    ros::serialization::serialize(stream, d);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    ros::serialization::deserialize(stream, a);
    ros::serialization::deserialize(stream, b);
    ros::serialization::deserialize(stream, c);
    ros::serialization::deserialize(stream, d);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(a);
    size += ros::serialization::serializationLength(b);
    size += ros::serialization::serializationLength(c);
    size += ros::serialization::serializationLength(d);
    return size;
  }

  typedef boost::shared_ptr< ::test_rospy::ListReturnRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_rospy::ListReturnRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct ListReturnRequest
typedef  ::test_rospy::ListReturnRequest_<std::allocator<void> > ListReturnRequest;

typedef boost::shared_ptr< ::test_rospy::ListReturnRequest> ListReturnRequestPtr;
typedef boost::shared_ptr< ::test_rospy::ListReturnRequest const> ListReturnRequestConstPtr;


template <class ContainerAllocator>
struct ListReturnResponse_ : public ros::Message
{
  typedef ListReturnResponse_<ContainerAllocator> Type;

  ListReturnResponse_()
  : abcd()
  {
  }

  ListReturnResponse_(const ContainerAllocator& _alloc)
  : abcd(_alloc)
  {
  }

  typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  _abcd_type;
  std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  abcd;


  ROSCPP_DEPRECATED uint32_t get_abcd_size() const { return (uint32_t)abcd.size(); }
  ROSCPP_DEPRECATED void set_abcd_size(uint32_t size) { abcd.resize((size_t)size); }
  ROSCPP_DEPRECATED void get_abcd_vec(std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > & vec) const { vec = this->abcd; }
  ROSCPP_DEPRECATED void set_abcd_vec(const std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > & vec) { this->abcd = vec; }
private:
  static const char* __s_getDataType_() { return "test_rospy/ListReturnResponse"; }
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 "f962153177b365e43b03cfe90160f33e"; }
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_getServerMD5Sum_() { return "8083abf57e6eb0ff97ebb506984b66b8"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "int32[] abcd\n\
\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, abcd);
    return stream.getData();
  }

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

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

  typedef boost::shared_ptr< ::test_rospy::ListReturnResponse_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_rospy::ListReturnResponse_<ContainerAllocator>  const> ConstPtr;
}; // struct ListReturnResponse
typedef  ::test_rospy::ListReturnResponse_<std::allocator<void> > ListReturnResponse;

typedef boost::shared_ptr< ::test_rospy::ListReturnResponse> ListReturnResponsePtr;
typedef boost::shared_ptr< ::test_rospy::ListReturnResponse const> ListReturnResponseConstPtr;

struct ListReturn
{

typedef ListReturnRequest Request;
typedef ListReturnResponse Response;
Request request;
Response response;

typedef Request RequestType;
typedef Response ResponseType;
}; // struct ListReturn
} // namespace test_rospy

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_rospy::ListReturnRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "55328e64986cccd71be7fe834e693c76";
  }

  static const char* value(const  ::test_rospy::ListReturnRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x55328e64986cccd7ULL;
  static const uint64_t static_value2 = 0x1be7fe834e693c76ULL;
};

template<class ContainerAllocator>
struct DataType< ::test_rospy::ListReturnRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/ListReturnRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::ListReturnRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "\n\
int32 a\n\
int32 b\n\
int32 c\n\
int32 d\n\
\n\
";
  }

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

template<class ContainerAllocator> struct IsFixedSize< ::test_rospy::ListReturnRequest_<ContainerAllocator> > : public TrueType {};
} // namespace message_traits
} // namespace ros


namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_rospy::ListReturnResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "f962153177b365e43b03cfe90160f33e";
  }

  static const char* value(const  ::test_rospy::ListReturnResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xf962153177b365e4ULL;
  static const uint64_t static_value2 = 0x3b03cfe90160f33eULL;
};

template<class ContainerAllocator>
struct DataType< ::test_rospy::ListReturnResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/ListReturnResponse";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::ListReturnResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "int32[] abcd\n\
\n\
\n\
";
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_rospy::ListReturnRequest_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.a);
    stream.next(m.b);
    stream.next(m.c);
    stream.next(m.d);
  }

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


namespace ros
{
namespace serialization
{

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

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

namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum<test_rospy::ListReturn> {
  static const char* value() 
  {
    return "8083abf57e6eb0ff97ebb506984b66b8";
  }

  static const char* value(const test_rospy::ListReturn&) { return value(); } 
};

template<>
struct DataType<test_rospy::ListReturn> {
  static const char* value() 
  {
    return "test_rospy/ListReturn";
  }

  static const char* value(const test_rospy::ListReturn&) { return value(); } 
};

template<class ContainerAllocator>
struct MD5Sum<test_rospy::ListReturnRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "8083abf57e6eb0ff97ebb506984b66b8";
  }

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

template<class ContainerAllocator>
struct DataType<test_rospy::ListReturnRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/ListReturn";
  }

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

template<class ContainerAllocator>
struct MD5Sum<test_rospy::ListReturnResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "8083abf57e6eb0ff97ebb506984b66b8";
  }

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

template<class ContainerAllocator>
struct DataType<test_rospy::ListReturnResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/ListReturn";
  }

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSPY_SERVICE_LISTRETURN_H

