27 inline Pluma::Pluma(){
33 template<
typename Prov
iderType>
34 void Pluma::acceptProviderType(){
35 PluginManager::registerType(
36 ProviderType::PLUMA_PROVIDER_TYPE,
37 ProviderType::PLUMA_INTERFACE_VERSION,
38 ProviderType::PLUMA_INTERFACE_LOWEST_VERSION
44 template<
typename Prov
iderType>
45 void Pluma::getProviders(std::vector<ProviderType*>& providers){
46 const std::list<Provider*>* lst = PluginManager::getProviders(ProviderType::PLUMA_PROVIDER_TYPE);
48 providers.reserve(providers.size() + lst->size());
49 std::list<Provider*>::const_iterator it;
50 for (it = lst->begin() ; it != lst->end() ; ++it)
51 providers.push_back(static_cast<ProviderType*>(*it));