hpp-core: Plugins

hpp-core 9.0.2 Implement basic classes for canonical path planning for kinematic chains.

Loading...
Searching...
No Matches
Namespaces | Classes | Macros
Plugins

## Namespaces
namespace | hpp::core::plugin

## Classes
class | hpp::core::ProblemSolverPlugin
| Plugin mechanism to declare new features in ProblemSolver class. More...

## Macros
#define | HPP_CORE_DEFINE_PLUGIN(PluginClassName)

## Detailed Description

## Macro Definition Documentation

## ◆ HPP_CORE_DEFINE_PLUGIN

#define HPP_CORE_DEFINE_PLUGIN | ( |  | PluginClassName | ) |

Value:
extern "C" { \
::hpp::core::ProblemSolverPlugin* createProblemSolverPlugin() { \
return new PluginClassName(); \
} \
}
hpp::core::ProblemSolverPlugin
Plugin mechanism to declare new features in ProblemSolver class.
Definition plugin.hh:42

To create a plugin, create a class that derives from hpp::core::ProblemSolverPlugin and call this macro in the root namespace. To load the plugin, use

std::string filename;
hpp::core::ProblemSolver ps*;
hpp::core::plugin::loadPlugin (filename, ps);
hpp::core::ProblemSolver
Definition problem-solver.hh:78