Go to the source code of this file.
|
#define | generate_(method, ret, args) |
| Templated class to add the standard messaging functionalities. More...
|
|
|
template<typename Base > |
using | add_name = std::conditional_t< implementation_detail::has_name< Base >::value, Base, implementation_detail::add_name< Base > > |
|
template<typename Base > |
using | add_serviceLocator = std::conditional_t< implementation_detail::has_serviceLocator< Base >::value, Base, implementation_detail::add_serviceLocator< Base > > |
|
◆ generate_
#define generate_ |
( |
|
method, |
|
|
|
ret, |
|
|
|
args |
|
) |
| |
Value: \
template <typename T> \
using _has_##method = decltype( std::declval<const T&>().method
args ); \
\
template <typename T> \
\
template <typename Base> \
struct add_##method : public Base { \
using Base::Base; \
virtual ~add_##method() = default; \
virtual ret method
args const = 0; \
};
Templated class to add the standard messaging functionalities.
Definition at line 37 of file CommonMessaging.h.
◆ add_name
template<typename Base >
using add_name = std::conditional_t<implementation_detail::has_name<Base>::value, Base, implementation_detail::add_name<Base> > |
◆ add_serviceLocator
template<typename Base >
using add_serviceLocator = std::conditional_t<implementation_detail::has_serviceLocator<Base>::value, Base, implementation_detail::add_serviceLocator<Base> > |