28 #ifndef ROSCPP_SERVICE_TRAITS_H 29 #define ROSCPP_SERVICE_TRAITS_H 31 #include <boost/type_traits/remove_reference.hpp> 32 #include <boost/type_traits/remove_const.hpp> 36 namespace service_traits
47 return M::__s_getServerMD5Sum().c_str();
50 static const char*
value(
const M& m)
52 return m.__getServerMD5Sum().c_str();
64 return M::__s_getServiceDataType().c_str();
67 static const char*
value(
const M& m)
69 return m.__getServiceDataType().c_str();
95 inline const char*
md5sum(
const M& m)
112 #endif // ROSCPP_SERVICE_TRAITS_H Specialize to provide the md5sum for a service.
const char * datatype()
return DataType<M>::value();
static const char * value(const M &m)
Specialize to provide the datatype for a service.
static const char * value()
const char * md5sum()
return MD5Sum<M>::value();
static const char * value(const M &m)
static const char * value()