X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2Fplugins%2Fexample_GuessPlugins.cxx;h=8a54b748f16077fa582fb2a49d411a9531772098;hb=b9fd406b0196ce00c4152da45572b8be3cb3c805;hp=6d2f7a1cd70cfb7b50f28d366b52a98ca2fa7586;hpb=e2fb8817731f6231d34941a208e46b36dad425b2;p=cpPlugins.git diff --git a/appli/examples/plugins/example_GuessPlugins.cxx b/appli/examples/plugins/example_GuessPlugins.cxx index 6d2f7a1..8a54b74 100644 --- a/appli/examples/plugins/example_GuessPlugins.cxx +++ b/appli/examples/plugins/example_GuessPlugins.cxx @@ -7,6 +7,12 @@ int main( int argc, char* argv[] ) cpPlugins::Interface interface; interface.GuessAccesiblePlugins( ); + // Show loaded plugins + auto plugins = interface.GetPlugins( ); + for( auto pIt = plugins.begin( ); pIt != plugins.end( ); ++pIt ) + std::cout << "Plugin: " << *pIt << std::endl; + std::cout << std::endl; + // Show loaded filters auto filters = interface.GetFilters( ); for( auto cIt = filters.begin( ); cIt != filters.end( ); ++cIt )