Plugin.H File Reference

#include "rutz/factory.h"
Include dependency graph for Plugin.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PluginFallback
 Class that can be used as a fallback for rutz::factory::set_fallback(). More...

Typedefs

typedef int( PluginInitFunc )(OptionManager *)
 Plugin initialization function type.

Functions

bool loadPlugin (OptionManager *mgr, const char *realm, const char *name)
 Load a plugin for a given realm+name.

Detailed Description

Definition in file Plugin.H.


Typedef Documentation

typedef int( PluginInitFunc)(OptionManager *)

Plugin initialization function type.

See ComponentFactory for an overview of the factory+plugin system.

See frameostream_debug_init() for an example plugin init function.

Definition at line 50 of file Plugin.H.


Function Documentation

bool loadPlugin ( OptionManager mgr,
const char *  realm,
const char *  name 
)

Load a plugin for a given realm+name.

Returns true on success, false on failure.

See ComponentFactory for an overview of the factory+plugin system.

See frameostream_debug_init() for an example plugin init function.

Definition at line 49 of file Plugin.C.

References sformat(), and toLowerCase().

Referenced by PluginFallback::try_fallback().

Generated on Sun May 8 08:11:01 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3