te::plugin::AbstractFinder Class Referenceabstract

The AbstractFinder class allows applications to extend how PluginManager can search for plugins. More...

#include <AbstractFinder.h>

Inheritance diagram for te::plugin::AbstractFinder:
te::plugin::DefaultFinder

Public Member Functions

 AbstractFinder ()
 Constructor. More...
 
virtual void getPlugins (boost::ptr_vector< PluginInfo > &plugins)=0
 This method searches for installed plugins and output the plugins information in the PluginInfo vector. More...
 
virtual ~AbstractFinder ()
 Virtual destructor. More...
 

Detailed Description

The AbstractFinder class allows applications to extend how PluginManager can search for plugins.

Subclasses can search for plugins installed in any place. There is a default finder named DefaultFinder that seraches for plugins in some common places.

See also
PluginManager, PluginInfo, DefaultFinder

Definition at line 57 of file AbstractFinder.h.

Constructor & Destructor Documentation

te::plugin::AbstractFinder::AbstractFinder ( )

Constructor.

virtual te::plugin::AbstractFinder::~AbstractFinder ( )
virtual

Virtual destructor.

Member Function Documentation

virtual void te::plugin::AbstractFinder::getPlugins ( boost::ptr_vector< PluginInfo > &  plugins)
pure virtual

This method searches for installed plugins and output the plugins information in the PluginInfo vector.

Parameters
pluginsA vector to output all information about found plugins.
Exceptions
ExceptionThis method may throw an exception with something goes wrong during the search.

Implemented in te::plugin::DefaultFinder.


The documentation for this class was generated from the following file: