| |
| |
|
|
|
|
| #ifndef ASTRA_CAMERA_MESSAGE_GETSTRING_H |
| #define ASTRA_CAMERA_MESSAGE_GETSTRING_H |
|
|
| #include <ros/service_traits.h> |
|
|
|
|
| #include <astra_camera/GetStringRequest.h> |
| #include <astra_camera/GetStringResponse.h> |
|
|
|
|
| namespace astra_camera |
| { |
|
|
| struct GetString |
| { |
|
|
| typedef GetStringRequest Request; |
| typedef GetStringResponse Response; |
| Request request; |
| Response response; |
|
|
| typedef Request RequestType; |
| typedef Response ResponseType; |
|
|
| }; |
| } |
|
|
|
|
| namespace ros |
| { |
| namespace service_traits |
| { |
|
|
|
|
| template<> |
| struct MD5Sum< ::astra_camera::GetString > { |
| static const char* value() |
| { |
| return "15baad3d82a7b70bfc4eb31d66322293"; |
| } |
|
|
| static const char* value(const ::astra_camera::GetString&) { return value(); } |
| }; |
|
|
| template<> |
| struct DataType< ::astra_camera::GetString > { |
| static const char* value() |
| { |
| return "astra_camera/GetString"; |
| } |
|
|
| static const char* value(const ::astra_camera::GetString&) { return value(); } |
| }; |
|
|
|
|
| |
| |
| template<> |
| struct MD5Sum< ::astra_camera::GetStringRequest> |
| { |
| static const char* value() |
| { |
| return MD5Sum< ::astra_camera::GetString >::value(); |
| } |
| static const char* value(const ::astra_camera::GetStringRequest&) |
| { |
| return value(); |
| } |
| }; |
|
|
| |
| |
| template<> |
| struct DataType< ::astra_camera::GetStringRequest> |
| { |
| static const char* value() |
| { |
| return DataType< ::astra_camera::GetString >::value(); |
| } |
| static const char* value(const ::astra_camera::GetStringRequest&) |
| { |
| return value(); |
| } |
| }; |
|
|
| |
| |
| template<> |
| struct MD5Sum< ::astra_camera::GetStringResponse> |
| { |
| static const char* value() |
| { |
| return MD5Sum< ::astra_camera::GetString >::value(); |
| } |
| static const char* value(const ::astra_camera::GetStringResponse&) |
| { |
| return value(); |
| } |
| }; |
|
|
| |
| |
| template<> |
| struct DataType< ::astra_camera::GetStringResponse> |
| { |
| static const char* value() |
| { |
| return DataType< ::astra_camera::GetString >::value(); |
| } |
| static const char* value(const ::astra_camera::GetStringResponse&) |
| { |
| return value(); |
| } |
| }; |
|
|
| } |
| } |
|
|
| #endif |
|
|