Type-safe access to a plugin.
More...
#include <yarp/os/YarpPlugin.h>
template<class T>
class yarp::os::YarpPlugin< T >
Type-safe access to a plugin.
Definition at line 24 of file YarpPlugin.h.
◆ YarpPlugin()
◆ ~YarpPlugin()
◆ close()
End this use of the plugin.
- Returns
- true on success
Definition at line 84 of file YarpPlugin.h.
◆ create()
Create an object using the plugin.
- Returns
- an object of the type the plugin creates (nullptr on failure)
Definition at line 115 of file YarpPlugin.h.
◆ destroy()
Destroy an object previously created using the plugin.
- Parameters
-
Definition at line 130 of file YarpPlugin.h.
◆ getBaseClassName()
- Returns
- the base class the objects constructed by this plugin
Definition at line 169 of file YarpPlugin.h.
◆ getClassName()
- Returns
- the type of the objects constructed by this plugin
Definition at line 156 of file YarpPlugin.h.
◆ getFactory()
- Returns
- the factory object associated with the plugin
Definition at line 182 of file YarpPlugin.h.
◆ getName()
- Returns
- the name of the objects constructed by this plugin
Definition at line 143 of file YarpPlugin.h.
◆ isValid()
- Returns
- true if the plugin is correctly loaded
Definition at line 102 of file YarpPlugin.h.
◆ open()
Load a library and prepare an object factory, based on the hints supplied.
- Parameters
-
settings | the hints to use in finding the library |
- Returns
- true on success
Definition at line 62 of file YarpPlugin.h.
The documentation for this class was generated from the following file: