knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <PluginModule.h>
Public Member Functions | |
PluginModule (std::string_view modulePath, std::string_view pluginType) | |
PluginModule (const PluginModule &)=delete | |
~PluginModule () override | |
bool | isLoaded () |
void | unloadModule () |
bool | loadModule () |
std::shared_ptr< NamedPlugin< T > > | create (std::string_view pluginID) override |
std::string_view | name () const override |
PluginModule (std::string_view modulePath, std::string_view pluginType) | |
PluginModule (const PluginModule &)=delete | |
~PluginModule () override | |
bool | isLoaded () |
void | unloadModule () |
bool | loadModule () |
std::shared_ptr< NamedPlugin< T > > | create (std::string_view pluginID) override |
std::string_view | name () const override |
Public Member Functions inherited from knowrob::PluginFactory< T > | |
virtual | ~PluginFactory ()=default |
virtual | ~PluginFactory ()=default |
Protected Attributes | |
const std::string | modulePath_ |
const std::string | pluginType_ |
boost::python::object | pyModule_ |
boost::python::object | pyPluginType_ |
A plugin module is a plugin factory that creates plugin objects that are implemented in Python code.
Definition at line 24 of file PluginModule.h.
|
inline |
modulePath | the name or path of the Python module. |
pluginType | the name of the plugin type. |
Definition at line 30 of file PluginModule.h.
|
delete |
Cannot be copy-assigned.
|
inlineoverride |
Definition at line 40 of file PluginModule.h.
|
inline |
modulePath | the name or path of the Python module. |
pluginType | the name of the plugin type. |
Definition at line 30 of file PluginModule.h.
|
delete |
Cannot be copy-assigned.
|
inlineoverride |
Definition at line 40 of file PluginModule.h.
|
inlineoverridevirtual |
Create a new plugin instance.
pluginID | the ID of the plugin. |
Implements knowrob::PluginFactory< T >.
Definition at line 94 of file PluginModule.h.
|
inlineoverridevirtual |
Create a new plugin instance.
pluginID | the ID of the plugin. |
Implements knowrob::PluginFactory< T >.
Definition at line 94 of file PluginModule.h.
|
inline |
|
inline |
|
inline |
Try loading the module from filesystem.
Definition at line 66 of file PluginModule.h.
|
inline |
Try loading the module from filesystem.
Definition at line 66 of file PluginModule.h.
|
inlineoverridevirtual |
Implements knowrob::PluginFactory< T >.
Definition at line 113 of file PluginModule.h.
|
inlineoverridevirtual |
Implements knowrob::PluginFactory< T >.
Definition at line 113 of file PluginModule.h.
|
inline |
Unload the module from the Python interpreter.
Definition at line 56 of file PluginModule.h.
|
inline |
Unload the module from the Python interpreter.
Definition at line 56 of file PluginModule.h.
|
protected |
Definition at line 116 of file PluginModule.h.
|
protected |
Definition at line 117 of file PluginModule.h.
|
protected |
Definition at line 118 of file PluginModule.h.
|
protected |
Definition at line 119 of file PluginModule.h.