The Gaudi Framework  v29r0 (ff2e7097)
extend_interfaces.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_EXTEND_INTERFACES_H
2 #define GAUDIKERNEL_EXTEND_INTERFACES_H
3 
5 
6 // -----------------------------------------------------------------------------
7 // Interface extension classes
8 // -----------------------------------------------------------------------------
10 template <typename... Interfaces>
11 struct GAUDI_API extend_interfaces : virtual public Interfaces... {
13  using ext_iids = typename Gaudi::interface_list_cat<typename Interfaces::ext_iids...>::type;
15  ~extend_interfaces() override = default;
16 };
17 
18 template <typename I1>
20 template <typename I1, typename I2>
22 template <typename I1, typename I2, typename I3>
24 template <typename I1, typename I2, typename I3, typename I4>
26 
27 #endif
typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type ext_iids
take union of the ext_iids of all Interfaces...
Base class to be used to extend an interface.
#define GAUDI_API
Definition: Kernel.h:110