Class to test plugin handling. More...
#include <mia/core/testplugin.hh>
Public Member Functions | |
CTestPlugin * | get_plugin (const char *name) const |
![]() | |
const_iterator | begin () const |
const_iterator | end () const |
const std::string | get_plugin_names () const |
const std::set< std::string > | get_set () const |
size_t | size () const |
virtual | ~TPluginHandler () |
![]() | |
void | add_dependend_handlers (HandlerHelpMap &handler_map) const |
CPluginHandlerBase (const std::string &descriptor) | |
CPluginHandlerBase (const CPluginHandlerBase &other)=delete | |
const std::string & | get_descriptor () const |
std::string | get_handler_type_string () const |
void | get_string_help_description_xml (std::ostream &os, xmlpp::Element *root) const |
void | get_xml_help (xmlpp::Element *root) const |
CPluginHandlerBase & | operator= (const CPluginHandlerBase &other)=delete |
void | print_help (std::ostream &os) const |
void | print_short_help (std::ostream &os) const |
virtual | ~CPluginHandlerBase () |
Protected Member Functions | |
CTestPluginHandlerImpl () | |
![]() | |
void | add_plugin (Interface *plugin) |
void | initialise (CPathNameArray searchpath) |
TPluginHandler< CTestPlugin > ::Interface * | plugin (const char *plugin) const |
TPluginHandler () | |
Initializes the plugin handler based on the build-in search path. More... | |
Additional Inherited Members | |
![]() | |
typedef CPluginMap::const_iterator | const_iterator |
the iterator to walk over the available plug-ins More... | |
typedef std::map< std::string, Interface * > | CPluginMap |
a map containing the names and theavailabe plug-ins More... | |
typedef CTestPlugin | Interface |
typedef for the plug-in interface provided by the class More... | |
Class to test plugin handling.
Definition at line 54 of file testplugin.hh.
|
protected |
Constructor to use a specialized search path
CTestPlugin* CTestPluginHandlerImpl::get_plugin | ( | const char * | name) | const |
Public version of the TPluginHandler::plugin function to be used for testing
name | name of the requested plug-in |