Type-safe access to a plugin. More...
#include <yarp/os/YarpPlugin.h>
Inheritance diagram for yarp::os::YarpPlugin< T >:Public Member Functions | |
| YarpPlugin () | |
| Constructor. | |
| virtual | ~YarpPlugin () |
| Destructor. | |
| bool | open (YarpPluginSettings &settings) |
| Load a library and prepare an object factory, based on the hints supplied. | |
| bool | close () |
| End this use of the plugin. | |
| bool | isValid () const |
| T * | create () |
| Create an object using the plugin. | |
| void | destroy (T *obj) |
| Destroy an object previously created using the plugin. | |
| std::string | getName () |
| std::string | getClassName () |
| std::string | getBaseClassName () |
| SharedLibraryClassFactory< T > * | getFactory () const |
Type-safe access to a plugin.
Definition at line 20 of file YarpPlugin.h.
|
inline |
Constructor.
Definition at line 33 of file YarpPlugin.h.
|
inlinevirtual |
Destructor.
Definition at line 43 of file YarpPlugin.h.
|
inline |
|
inline |
Create an object using the plugin.
Definition at line 112 of file YarpPlugin.h.
|
inline |
Destroy an object previously created using the plugin.
| obj | the object to destroy |
Definition at line 127 of file YarpPlugin.h.
|
inline |
Definition at line 166 of file YarpPlugin.h.
|
inline |
Definition at line 153 of file YarpPlugin.h.
|
inline |
Definition at line 179 of file YarpPlugin.h.
|
inline |
Definition at line 140 of file YarpPlugin.h.
|
inline |
Definition at line 99 of file YarpPlugin.h.
|
inline |
Load a library and prepare an object factory, based on the hints supplied.
| settings | the hints to use in finding the library |
Definition at line 58 of file YarpPlugin.h.