iutil/plugin.h File Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Defines | Functions
iutil/plugin.h File Reference

Plugin manager interface. More...

`#include "csutil/scf.h"`
`#include "csutil/stringquote.h"`
`#include "iutil/comp.h"`
`#include "iutil/objreg.h"`
`#include "iutil/threadmanager.h"`
`#include "ivaria/reporter.h"`

Go to the source code of this file.

## Classes
struct | iPluginIterator
| An iterator to iterate over all plugins in the plugin manager. More...
struct | iPluginManager
| This is the plugin manager. More...
## Defines
#define | CS_QUERY_PLUGIN_CLASS(Object, ClassID, Interface) csQueryPluginClass<Interface> (Object, ClassID)
| Compatbility macro.
## Functions
template<class Interface >
csPtr< Interface > | csLoadPlugin (iPluginManager *mgr, const char *ClassID, bool report=true, bool returnLoadedInstance=false)
| Tell plugin manager to load a plugin (and its dependencies).
template<class Interface >
csPtr< Interface > | csLoadPlugin (iObjectRegistry *object_reg, const char *ClassID, bool report=true)
| Tell plugin manager to load a plugin (and its dependencies).
csPtr< iComponent > | csLoadPluginAlways (iPluginManager *mgr, const char *ClassID, bool report=true)
| Same as csLoadPlugin() but does not bother asking for a interface.
template<class Interface >
csPtr< Interface > | csLoadPluginCheck (iPluginManager *mgr, const char *ClassID, bool report=true)
| Tell plugin manager to load a plugin but first check if the plugin is not already loaded.
template<class Interface >
csPtr< Interface > | csLoadPluginCheck (iObjectRegistry *object_reg, const char *ClassID, bool report=true)
| Tell plugin manager to load a plugin but first check if the plugin is not already loaded.
template<class Interface >
csPtr< Interface > | csQueryPluginClass (iPluginManager *mgr, const char *ClassID)
| Find a plugin by its class ID.
template<class Interface >
csPtr< Interface > | csQueryRegistryOrLoad (iObjectRegistry *Reg, const char *classID, bool report=true)
| Use this macro to query the object registry, loading a plugin if needed.

## Detailed Description

Plugin manager interface.

Definition in file plugin.h.