std::cout<<"providerComponent does not have required "<<InterfaceName<InterfaceT>::Get()<<std::endl;
return0;
}
// connect value interfaces
this->Set(providerInterface);// due to the input argument being uniquely defined in the multiple inheritance tree, all versions of Set() are accessible
return1;
}
//template<typename... Interfaces>
//class Accepting : public Interfaces...
...
...
@@ -90,8 +77,8 @@ class Providing : public Interfaces...
std::cout<<"providerComponent does not have required "<<InterfaceName<InterfaceT>::Get()<<std::endl;
return0;
}
// connect value interfaces
this->Set(providerInterface);// due to the input argument being uniquely defined in the multiple inheritance tree, all versions of Set() are accessible